Home
last modified time | relevance | path

Searched refs:getMaxDurationMsLocked (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsDurationTimerTest.java46 assertEquals(0, timer.getMaxDurationMsLocked(301)); in testStartStop()
53 assertEquals(801, timer.getMaxDurationMsLocked(1501)); in testStartStop()
60 assertEquals(2400, timer.getMaxDurationMsLocked(6301)); in testStartStop()
68 assertEquals(2400, timer.getMaxDurationMsLocked(12801)); in testStartStop()
75 assertEquals(2400, timer.getMaxDurationMsLocked(13001)); in testStartStop()
82 assertEquals(2400, timer.getMaxDurationMsLocked(27000)); in testStartStop()
89 assertEquals(28000, timer.getMaxDurationMsLocked(110101)); in testStartStop()
97 assertEquals(28201, timer.getMaxDurationMsLocked(220301)); in testStartStop()
123 assertEquals(400, timer.getMaxDurationMsLocked(700)); in testParceling()
141 assertEquals(1200, summary.getMaxDurationMsLocked(6301)); in testParceling()
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java422 public long getMaxDurationMsLocked(long elapsedRealtimeMs) { in getMaxDurationMsLocked() method in BatteryStats.Timer
2728 final long maxDurationMs = timer.getMaxDurationMsLocked(elapsedRealtimeUs/1000); in printWakeLock()
2785 final long maxDurationMs = timer.getMaxDurationMsLocked(rawRealtimeUs/1000); in printTimer()
2829 max = timer.getMaxDurationMsLocked(elapsedRealtimeUs/1000); in printWakeLockCheckin()
3458 unoptimizedScanTimer.getMaxDurationMsLocked(rawRealtimeMs) : 0; in dumpCheckinLocked()
3465 unoptimizedScanTimerBg.getMaxDurationMsLocked(rawRealtimeMs) : 0; in dumpCheckinLocked()
4695 unoptimizedScanTimer.getMaxDurationMsLocked(rawRealtimeMs) : 0; in dumpLocked()
4702 unoptimizedScanTimerBg.getMaxDurationMsLocked(rawRealtimeMs) : 0; in dumpLocked()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1805 out.writeLong(getMaxDurationMsLocked(elapsedRealtimeUs / 1000)); in writeToParcel()
1819 out.writeLong(getMaxDurationMsLocked(elapsedRealtimeUs / 1000)); in writeSummaryFromParcelLocked()
1921 public long getMaxDurationMsLocked(long elapsedRealtimeMs) { in getMaxDurationMsLocked() method in BatteryStatsImpl.DurationTimer