Searched refs:computeChargeTimeRemaining (Results 1 – 14 of 14) sorted by relevance
57 final long chargeTimeRemainingMs = batteryStats.computeChargeTimeRemaining(rawRealtimeUs); in calculate()
383 long chargeTimeRemainingUs = computeChargeTimeRemaining(elapsedTimeUs); in getBatteryStatsSession()15390 public long computeChargeTimeRemaining(long curTime) {
668 public long computeChargeTimeRemaining() { in computeChargeTimeRemaining() method in BatteryManager670 return mBatteryStats.computeChargeTimeRemaining(); in computeChargeTimeRemaining()
3678 public abstract long computeChargeTimeRemaining(long curTime); in computeChargeTimeRemaining() method in BatteryStats5235 final long chargeTimeRemaining = computeChargeTimeRemaining(rawRealtime); in dumpLocked()7934 long timeRemaining = computeChargeTimeRemaining( in dumpLocked()8090 timeRemaining = computeChargeTimeRemaining(SystemClock.elapsedRealtime() * 1000); in dumpCheckinLocked()8740 long timeRemainingUs = computeChargeTimeRemaining(rawRealtimeUs); in dumpProtoSystemLocked()
180 when(mBatteryInfo.computeChargeTimeRemaining()).thenReturn(-1L); in testChargingStatusReportsPluggedInWhenDockedAndChargingTimeUnknown()196 when(mBatteryInfo.computeChargeTimeRemaining()).thenReturn(1L); in testChargingStatusReportsTimeRemainingWhenDockedAndCharging()
201 return isPowerPluggedIn() ? batteryInfo.computeChargeTimeRemaining() : -1; in getChargingTimeRemaining()
104 long computeChargeTimeRemaining(); in computeChargeTimeRemaining() method
806 verify(mIBatteryStats).computeChargeTimeRemaining(); in onRefreshBatteryInfo_computesChargingTime()818 verify(mIBatteryStats, never()).computeChargeTimeRemaining(); in onRefreshBatteryInfo_computesChargingTime_onlyWhenCharging()831 verify(mIBatteryStats, never()).computeChargeTimeRemaining(); in setDozing_noIBatteryCalls()
631 when(batteryStats.computeChargeTimeRemaining(anyLong())).thenReturn(777_000L); in accumulateBatteryUsageStats()
1335 ? mBatteryInfo.computeChargeTimeRemaining() : -1; in onRefreshBatteryInfo()
1402 public long computeChargeTimeRemaining() { in computeChargeTimeRemaining() method in BatteryStatsService1404 long time = mStats.computeChargeTimeRemaining(SystemClock.elapsedRealtime()); in computeChargeTimeRemaining()
4747 PLcom/android/server/am/BatteryStatsService;->computeChargeTimeRemaining()J17174 PLcom/android/server/power/stats/BatteryStatsImpl;->computeChargeTimeRemaining(J)J
71710 Lcom/android/internal/app/IBatteryStats$Stub$Proxy;->computeChargeTimeRemaining()J73420 Lcom/android/internal/os/BatteryStatsImpl;->computeChargeTimeRemaining(J)J
33379 method public long computeChargeTimeRemaining();