Home
last modified time | relevance | path

Searched refs:computeUptime (Results 1 – 4 of 4) 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/android/os/
DBatteryStats.java2789 public abstract long computeUptime(long curTime, int which); in computeUptime() method in BatteryStats
3548 final long totalUptime = computeUptime(rawUptime, which); in dumpCheckinLocked()
4327 final long totalUptime = computeUptime(rawUptime, which); in dumpLocked()
7682 computeUptime(rawUptimeUs, which) / 1000); in dumpProtoSystemLocked()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1154 public long computeUptime(long curTime, int which) { in computeUptime() method in BatteryStatsImpl.TimeBase
1240 out.writeLong(computeUptime(uptime, STATS_SINCE_CHARGED)); in writeSummaryToParcel()
12764 public long computeUptime(long curTime, int which) { in computeUptime() method in BatteryStatsImpl
12785 return mOnBatteryTimeBase.computeUptime(curTime, which); in computeBatteryUptime()
12795 return mOnBatteryScreenOffTimeBase.computeUptime(curTime, which); in computeBatteryScreenOffUptime()
14185 out.writeLong(computeUptime(NOW_SYS, STATS_SINCE_CHARGED)); in writeSummaryToParcel()
/frameworks/base/config/
Dboot-image-profile.txt27123 HSPLandroid/os/BatteryStats;->computeUptime(JI)J
38700 HSPLcom/android/internal/os/BatteryStatsImpl$TimeBase;->computeUptime(JI)J
38791 HSPLcom/android/internal/os/BatteryStatsImpl;->computeUptime(JI)J