Home
last modified time | relevance | path

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

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
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.java612 public long getCurrentDurationMsLocked(long elapsedRealtimeMs) { in getCurrentDurationMsLocked() method in BatteryStats.Timer
3840 final long currentMs = timer.getCurrentDurationMsLocked(elapsedRealtimeUs/1000); in printWakeLock()
3891 final long currentMs = timer.getCurrentDurationMsLocked(rawRealtimeUs/1000); in printTimer()
3928 current = timer.getCurrentDurationMsLocked(elapsedRealtimeUs/1000); in printWakeLockCheckin()
4022 final long curDurationMs = timer.getCurrentDurationMsLocked(rawRealtimeUs / 1000); in dumpTimer()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java1758 timer.isRunningLocked() ? timer.getCurrentDurationMsLocked(realtimeMs) : 0); in createWakeLockData()
3366 out.writeLong(getCurrentDurationMsLocked(elapsedRealtimeUs / 1000)); in writeToParcel()
3447 final long durationMs = getCurrentDurationMsLocked(elapsedRealtimeMs); in stopRunningLocked()
3483 final long durationMs = getCurrentDurationMsLocked(elapsedRealtimeMs); in getMaxDurationMsLocked()
3503 public long getCurrentDurationMsLocked(long elapsedRealtimeMs) { in getCurrentDurationMsLocked() method in BatteryStatsImpl.DurationTimer
3523 return mTotalDurationMs + getCurrentDurationMsLocked(elapsedRealtimeMs); in getTotalDurationMsLocked()
/frameworks/base/config/
Dboot-profile.txt222 Lcom/android/internal/os/BatteryStatsImpl$DurationTimer;->getCurrentDurationMsLocked(J)J
/frameworks/base/services/
Dart-profile3056 HSPLcom/android/server/power/stats/BatteryStatsImpl$DurationTimer;->getCurrentDurationMsLocked(J)J+…
Dart-wear-profile21892 HSPLcom/android/server/power/stats/BatteryStatsImpl$DurationTimer;->getCurrentDurationMsLocked(J)J
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt34362 Landroid/os/BatteryStats$Timer;->getCurrentDurationMsLocked(J)J
72868 Lcom/android/internal/os/BatteryStatsImpl$DurationTimer;->getCurrentDurationMsLocked(J)J