Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsDurationTimerTest.java47 assertEquals(0, timer.getCurrentDurationMsLocked(300)); in testStartStop()
54 assertEquals(800, timer.getCurrentDurationMsLocked(1500)); in testStartStop()
61 assertEquals(0, timer.getCurrentDurationMsLocked(6300)); in testStartStop()
69 assertEquals(100, timer.getCurrentDurationMsLocked(12800)); in testStartStop()
76 assertEquals(0, timer.getCurrentDurationMsLocked(13000)); in testStartStop()
83 assertEquals(0, timer.getCurrentDurationMsLocked(27000)); in testStartStop()
90 assertEquals(28000, timer.getCurrentDurationMsLocked(110100)); in testStartStop()
98 assertEquals(28200, timer.getCurrentDurationMsLocked(220300)); in testStartStop()
120 assertEquals(0, timer.getCurrentDurationMsLocked(6_300)); in testReset()
125 assertEquals(0, timer.getCurrentDurationMsLocked(12_000)); in testReset()
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java557 public long getCurrentDurationMsLocked(long elapsedRealtimeMs) { in getCurrentDurationMsLocked() method in BatteryStats.Timer
3201 final long currentMs = timer.getCurrentDurationMsLocked(elapsedRealtimeUs/1000); in printWakeLock()
3252 final long currentMs = timer.getCurrentDurationMsLocked(rawRealtimeUs/1000); in printTimer()
3289 current = timer.getCurrentDurationMsLocked(elapsedRealtimeUs/1000); in printWakeLockCheckin()
3383 final long curDurationMs = timer.getCurrentDurationMsLocked(rawRealtimeUs / 1000); in dumpTimer()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java2167 out.writeLong(getCurrentDurationMsLocked(elapsedRealtimeUs / 1000)); in writeToParcel()
2248 final long durationMs = getCurrentDurationMsLocked(elapsedRealtimeMs); in stopRunningLocked()
2284 final long durationMs = getCurrentDurationMsLocked(elapsedRealtimeMs); in getMaxDurationMsLocked()
2304 public long getCurrentDurationMsLocked(long elapsedRealtimeMs) { in getCurrentDurationMsLocked() method in BatteryStatsImpl.DurationTimer
2324 return mTotalDurationMs + getCurrentDurationMsLocked(elapsedRealtimeMs); in getTotalDurationMsLocked()
/frameworks/base/config/
Dboot-image-profile.txt11184 HPLandroid/os/BatteryStats$Timer;->getCurrentDurationMsLocked(J)J
20542 HSPLcom/android/internal/os/BatteryStatsImpl$DurationTimer;->getCurrentDurationMsLocked(J)J
Dhiddenapi-greylist-max-o.txt52364 Landroid/os/BatteryStats$Timer;->getCurrentDurationMsLocked(J)J
94282 Lcom/android/internal/os/BatteryStatsImpl$DurationTimer;->getCurrentDurationMsLocked(J)J