Home
last modified time | relevance | path

Searched refs:computeRealtime (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsBackgroundStatsTest.java50 assertEquals(0, bgtb.computeRealtime(cur, STATS_SINCE_CHARGED)); in testBgTimeBase()
57 assertEquals(0, bgtb.computeRealtime(cur, STATS_SINCE_CHARGED)); in testBgTimeBase()
64 assertEquals(0, bgtb.computeRealtime(cur, STATS_SINCE_CHARGED)); in testBgTimeBase()
72 assertEquals(0, bgtb.computeRealtime(cur, STATS_SINCE_CHARGED)); in testBgTimeBase()
79 assertEquals(106_000, bgtb.computeRealtime(cur, STATS_SINCE_CHARGED)); in testBgTimeBase()
86 assertEquals(114_000, bgtb.computeRealtime(cur, STATS_SINCE_CHARGED)); in testBgTimeBase()
94 assertEquals(227_000, bgtb.computeRealtime(cur, STATS_SINCE_CHARGED)); in testBgTimeBase()
101 assertEquals(227_000, bgtb.computeRealtime(cur, STATS_SINCE_CHARGED)); in testBgTimeBase()
150 assertEquals(150_000, bgtb.computeRealtime(cur, STATS_SINCE_CHARGED)); in testScreenOffBgTimeBase()
DBatteryStatsTimeBaseTest.java302 tb.computeRealtime(6666, BatteryStats.STATS_SINCE_CHARGED)); in testComputeRealtime()
304 tb.computeRealtime(6666, BatteryStats.STATS_CURRENT)); in testComputeRealtime()
306 tb.computeRealtime(6666, BatteryStats.STATS_SINCE_UNPLUGGED)); in testComputeRealtime()
/frameworks/base/core/java/android/os/
DBatteryStats.java2797 public abstract long computeRealtime(long curTime, int which); in computeRealtime() method in BatteryStats
3547 final long totalRealtime = computeRealtime(rawRealtime, which); in dumpCheckinLocked()
4326 final long totalRealtime = computeRealtime(rawRealtime, which); in dumpLocked()
7680 computeRealtime(rawRealtimeUs, which) / 1000); in dumpProtoSystemLocked()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1166 public long computeRealtime(long curTime, int which) { in computeRealtime() method in BatteryStatsImpl.TimeBase
1241 out.writeLong(computeRealtime(realtime, STATS_SINCE_CHARGED)); in writeSummaryToParcel()
12774 public long computeRealtime(long curTime, int which) { in computeRealtime() method in BatteryStatsImpl
12790 return mOnBatteryTimeBase.computeRealtime(curTime, which); in computeBatteryRealtime()
12800 return mOnBatteryScreenOffTimeBase.computeRealtime(curTime, which); in computeBatteryScreenOffRealtime()
14186 out.writeLong(computeRealtime(NOWREAL_SYS, STATS_SINCE_CHARGED)); in writeSummaryToParcel()
/frameworks/base/config/
Dboot-image-profile.txt27122 HSPLandroid/os/BatteryStats;->computeRealtime(JI)J
38699 HSPLcom/android/internal/os/BatteryStatsImpl$TimeBase;->computeRealtime(JI)J
38790 HSPLcom/android/internal/os/BatteryStatsImpl;->computeRealtime(JI)J