summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Dmitri Plotnikov <dplotnikov@google.com> 2022-01-21 15:13:14 -0800
committer Dmitri Plotnikov <dplotnikov@google.com> 2022-01-24 11:03:53 -0800
commit5f9c679caf00cea17c76788f22cb8e4a198f162d (patch)
tree72573038dd89f52b8eb51cfc549541405315277d /libs/androidfw/StringPool.cpp
parent056333fa0fda0760eb771de5bd0779b30dde2a82 (diff)
Add BatteryUsageStats.getDischargeDurationMs
This method returns the total amount of time the battery was discharging during the current battery session. Also, fixing time units used in BatteryStats tests: they are supposed to be microseconds, not milliseconds. Bug: 214407774 Test: atest FrameworksCoreTests:BatteryChargeCalculatorTest Change-Id: I5b64a6bd8a577b558b90cb60a1db8c3774121921
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions