Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A 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()
120 assertEquals(0, timer.getCurrentDurationMsLocked(6_300)); in testReset()
125 assertEquals(0, timer.getCurrentDurationMsLocked(12_000)); in testReset()
156 assertEquals(0, timer.getCurrentDurationMsLocked(6_300)); in testResetAndDetach()
162 assertEquals(0, timer.getCurrentDurationMsLocked(8_000)); in testResetAndDetach()
[all …]
/aosp12/frameworks/base/core/java/android/os/
H A DBatteryStats.java587 public long getCurrentDurationMsLocked(long elapsedRealtimeMs) { in getCurrentDurationMsLocked() method in BatteryStats.Timer
3446 final long currentMs = timer.getCurrentDurationMsLocked(elapsedRealtimeUs/1000); in printWakeLock()
3497 final long currentMs = timer.getCurrentDurationMsLocked(rawRealtimeUs/1000); in printTimer()
3534 current = timer.getCurrentDurationMsLocked(elapsedRealtimeUs/1000); in printWakeLockCheckin()
3628 final long curDurationMs = timer.getCurrentDurationMsLocked(rawRealtimeUs / 1000); in dumpTimer()
/aosp12/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java2413 out.writeLong(getCurrentDurationMsLocked(elapsedRealtimeUs / 1000)); in writeToParcel()
2494 final long durationMs = getCurrentDurationMsLocked(elapsedRealtimeMs); in stopRunningLocked()
2530 final long durationMs = getCurrentDurationMsLocked(elapsedRealtimeMs); in getMaxDurationMsLocked()
2550 public long getCurrentDurationMsLocked(long elapsedRealtimeMs) { in getCurrentDurationMsLocked() method in BatteryStatsImpl.DurationTimer
2570 return mTotalDurationMs + getCurrentDurationMsLocked(elapsedRealtimeMs); in getTotalDurationMsLocked()
/aosp12/frameworks/base/config/
H A Dboot-profile.txt222 Lcom/android/internal/os/BatteryStatsImpl$DurationTimer;->getCurrentDurationMsLocked(J)J
H A Dboot-image-profile.txt21705 HSPLcom/android/internal/os/BatteryStatsImpl$DurationTimer;->getCurrentDurationMsLocked(J)J+]Lcom/a…
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt38328 Landroid/os/BatteryStats$Timer;->getCurrentDurationMsLocked(J)J
76834 Lcom/android/internal/os/BatteryStatsImpl$DurationTimer;->getCurrentDurationMsLocked(J)J
/aosp12/frameworks/base/boot/
H A Dboot-image-profile.txt21658 HSPLcom/android/internal/os/BatteryStatsImpl$DurationTimer;->getCurrentDurationMsLocked(J)J+]Lcom/a…