Searched refs:computeBatteryRealtime (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsNoteTest.java | 268 assertEquals(150_000, bi.computeBatteryRealtime(250_000, STATS_SINCE_CHARGED)); in testNoteScreenStateTimersLocked() 275 assertEquals(250_000, bi.computeBatteryRealtime(350_000, STATS_SINCE_CHARGED)); in testNoteScreenStateTimersLocked() 282 assertEquals(400_000, bi.computeBatteryRealtime(500_000, STATS_SINCE_CHARGED)); in testNoteScreenStateTimersLocked() 289 assertEquals(1400_000, bi.computeBatteryRealtime(1500_000, STATS_SINCE_CHARGED)); in testNoteScreenStateTimersLocked()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | HealthStatsBatteryStatsWriter.java | 66 bs.computeBatteryRealtime(mNowRealtimeMs*1000, STATS_SINCE_CHARGED)/1000); in writeUid()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsHelper.java | 460 mTypeBatteryRealtimeUs = mStats.computeBatteryRealtime(rawRealtimeUs, mStatsType); in refreshStats()
|
D | BatteryStatsImpl.java | 12481 public long computeBatteryRealtime(long curTime, int which) { in computeBatteryRealtime() method in BatteryStatsImpl 12621 s.setLoggingDurationMs(computeBatteryRealtime(rawRealTime, which) / 1000); in getCellularBatteryStats() 12649 = computeBatteryRealtime(SystemClock.elapsedRealtime() * 1000, which) / 1000; in getWifiBatteryStats() 12671 s.setLoggingDurationMs(computeBatteryRealtime(rawRealTime, which) / 1000); in getWifiBatteryStats() 12696 s.setLoggingDurationMs(computeBatteryRealtime(rawRealTime, which) / 1000); in getGpsBatteryStats()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 2921 public abstract long computeBatteryRealtime(long curTime, int which); in computeBatteryRealtime() method in BatteryStats 3566 = computeBatteryRealtime(SystemClock.elapsedRealtime() * 1000, which) / 1000; in printControllerActivity() 3731 final long whichBatteryRealtime = computeBatteryRealtime(rawRealtime, which); in dumpCheckinLocked() 4505 final long whichBatteryRealtime = computeBatteryRealtime(rawRealtime, which); in dumpLocked() 5541 computeBatteryRealtime(rawRealtime, STATS_SINCE_CHARGED))); in dumpLocked() 5548 computeBatteryRealtime(rawRealtime, STATS_SINCE_CHARGED))); in dumpLocked() 7861 computeBatteryRealtime(rawRealtimeUs, which) / 1000); in dumpProtoSystemLocked()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 20865 HSPLcom/android/internal/os/BatteryStatsImpl;->computeBatteryRealtime(JI)J
|