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.java572 public long getCurrentDurationMsLocked(long elapsedRealtimeMs) { in getCurrentDurationMsLocked() method in BatteryStats.Timer
3253 final long currentMs = timer.getCurrentDurationMsLocked(elapsedRealtimeUs/1000); in printWakeLock()
3304 final long currentMs = timer.getCurrentDurationMsLocked(rawRealtimeUs/1000); in printTimer()
3341 current = timer.getCurrentDurationMsLocked(elapsedRealtimeUs/1000); in printWakeLockCheckin()
3435 final long curDurationMs = timer.getCurrentDurationMsLocked(rawRealtimeUs / 1000); in dumpTimer()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java2170 out.writeLong(getCurrentDurationMsLocked(elapsedRealtimeUs / 1000)); in writeToParcel()
2251 final long durationMs = getCurrentDurationMsLocked(elapsedRealtimeMs); in stopRunningLocked()
2287 final long durationMs = getCurrentDurationMsLocked(elapsedRealtimeMs); in getMaxDurationMsLocked()
2307 public long getCurrentDurationMsLocked(long elapsedRealtimeMs) { in getCurrentDurationMsLocked() method in BatteryStatsImpl.DurationTimer
2327 return mTotalDurationMs + getCurrentDurationMsLocked(elapsedRealtimeMs); in getTotalDurationMsLocked()
/frameworks/base/config/
Dboot-image-profile.txt11184 HPLandroid/os/BatteryStats$Timer;->getCurrentDurationMsLocked(J)J
20541 HSPLcom/android/internal/os/BatteryStatsImpl$DurationTimer;->getCurrentDurationMsLocked(J)J
Dhiddenapi-greylist-max-o.txt48844 Landroid/os/BatteryStats$Timer;->getCurrentDurationMsLocked(J)J
87940 Lcom/android/internal/os/BatteryStatsImpl$DurationTimer;->getCurrentDurationMsLocked(J)J