Home
last modified time | relevance | path

Searched refs:getBatteryTimeRemainingMs (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryChargeCalculatorTest.java88 assertThat(batteryUsageStats.getBatteryTimeRemainingMs()).isEqualTo(8_000_000); in testDischargeTotals()
128 assertThat(batteryUsageStats.getBatteryTimeRemainingMs()).isEqualTo(8_000_000); in testDischargeTotals_chargeUahUnavailable()
/frameworks/base/core/java/android/os/
DBatteryUsageStats.java274 public long getBatteryTimeRemainingMs() { in getBatteryTimeRemainingMs() method in BatteryUsageStats