Home
last modified time | relevance | path

Searched refs:computeUptime (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsTimeBaseTest.java283 tb.computeUptime(666, BatteryStats.STATS_SINCE_CHARGED)); in testComputeUptime()
285 tb.computeUptime(666, BatteryStats.STATS_CURRENT)); in testComputeUptime()
287 tb.computeUptime(666, BatteryStats.STATS_SINCE_UNPLUGGED)); in testComputeUptime()
289 Assert.assertEquals(0, tb.computeUptime(666, 6000)); in testComputeUptime()
308 Assert.assertEquals(0, tb.computeUptime(666, 6000)); in testComputeRealtime()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java707 public long computeUptime(long curTime, int which) { in computeUptime() method in BatteryStatsImpl.TimeBase
793 out.writeLong(computeUptime(uptime, STATS_SINCE_CHARGED)); in writeSummaryToParcel()
9517 public long computeUptime(long curTime, int which) { in computeUptime() method in BatteryStatsImpl
9538 return mOnBatteryTimeBase.computeUptime(curTime, which); in computeBatteryUptime()
9548 return mOnBatteryScreenOffTimeBase.computeUptime(curTime, which); in computeBatteryScreenOffUptime()
10460 out.writeLong(computeUptime(NOW_SYS, STATS_SINCE_CHARGED)); in writeSummaryToParcel()
/frameworks/base/core/java/android/os/
DBatteryStats.java2292 public abstract long computeUptime(long curTime, int which); in computeUptime() method in BatteryStats
2815 final long totalUptime = computeUptime(rawUptime, which); in dumpCheckinLocked()
3347 final long totalUptime = computeUptime(rawUptime, which); in dumpLocked()