Home
last modified time | relevance | path

Searched refs:getCurrentDurationMsLocked (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsDurationTimerTest.java45 assertEquals(0, timer.getCurrentDurationMsLocked(300)); in testStartStop()
52 assertEquals(800, timer.getCurrentDurationMsLocked(1500)); in testStartStop()
59 assertEquals(0, timer.getCurrentDurationMsLocked(6300)); in testStartStop()
67 assertEquals(100, timer.getCurrentDurationMsLocked(12800)); in testStartStop()
74 assertEquals(0, timer.getCurrentDurationMsLocked(13000)); in testStartStop()
81 assertEquals(0, timer.getCurrentDurationMsLocked(27000)); in testStartStop()
88 assertEquals(28000, timer.getCurrentDurationMsLocked(110100)); in testStartStop()
96 assertEquals(28200, timer.getCurrentDurationMsLocked(220300)); in testStartStop()
124 assertEquals(401, timer.getCurrentDurationMsLocked(701)); in testParceling()
140 assertEquals(0, summary.getCurrentDurationMsLocked(6300)); in testParceling()
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java527 public long getCurrentDurationMsLocked(long elapsedRealtimeMs) { in getCurrentDurationMsLocked() method in BatteryStats.Timer
3095 final long currentMs = timer.getCurrentDurationMsLocked(elapsedRealtimeUs/1000); in printWakeLock()
3146 final long currentMs = timer.getCurrentDurationMsLocked(rawRealtimeUs/1000); in printTimer()
3183 current = timer.getCurrentDurationMsLocked(elapsedRealtimeUs/1000); in printWakeLockCheckin()
3276 final long curDurationMs = timer.getCurrentDurationMsLocked(rawRealtimeUs / 1000); in dumpTimer()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java2261 out.writeLong(getCurrentDurationMsLocked(elapsedRealtimeUs / 1000)); in writeToParcel()
2342 final long durationMs = getCurrentDurationMsLocked(elapsedRealtimeMs); in stopRunningLocked()
2378 final long durationMs = getCurrentDurationMsLocked(elapsedRealtimeMs); in getMaxDurationMsLocked()
2398 public long getCurrentDurationMsLocked(long elapsedRealtimeMs) { in getCurrentDurationMsLocked() method in BatteryStatsImpl.DurationTimer
2418 return mTotalDurationMs + getCurrentDurationMsLocked(elapsedRealtimeMs); in getTotalDurationMsLocked()
/frameworks/base/config/
Dboot-image-profile.txt4164 HPLandroid/os/BatteryStats$Timer;->getCurrentDurationMsLocked(J)J
38639 HSPLcom/android/internal/os/BatteryStatsImpl$DurationTimer;->getCurrentDurationMsLocked(J)J