Home
last modified time | relevance | path

Searched refs:getTotalDurationMsLocked (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsDurationTimerTest.java47 assertEquals(0, timer.getTotalDurationMsLocked(301)); in testStartStop()
54 assertEquals(802, timer.getTotalDurationMsLocked(1502)); in testStartStop()
61 assertEquals(2400, timer.getTotalDurationMsLocked(6302)); in testStartStop()
69 assertEquals(2502, timer.getTotalDurationMsLocked(12802)); in testStartStop()
76 assertEquals(2600, timer.getTotalDurationMsLocked(13002)); in testStartStop()
83 assertEquals(2600, timer.getTotalDurationMsLocked(27000)); in testStartStop()
90 assertEquals(30600, timer.getTotalDurationMsLocked(110102)); in testStartStop()
98 assertEquals(30802, timer.getTotalDurationMsLocked(220302)); in testStartStop()
125 assertEquals(402, timer.getTotalDurationMsLocked(702)); in testParceling()
143 assertEquals(1200, summary.getTotalDurationMsLocked(6302)); in testParceling()
[all …]
DBatteryStatsSensorTest.java346 timer1.getTotalDurationMsLocked(clocks.realtime) * 1000 ); in testPooledBackgroundUsage()
352 bgTimer1.getTotalDurationMsLocked(clocks.realtime) * 1000 ); in testPooledBackgroundUsage()
363 timer2.getTotalDurationMsLocked(clocks.realtime) * 1000); in testPooledBackgroundUsage()
369 bgTimer2.getTotalDurationMsLocked(clocks.realtime) * 1000 ); in testPooledBackgroundUsage()
457 assertEquals(0, timer.getTotalDurationMsLocked(clocks.realtime)); in testSensorResetTimes()
459 assertEquals(0, bgTimer.getTotalDurationMsLocked(clocks.realtime)); in testSensorResetTimes()
468 assertEquals(0, timer.getTotalDurationMsLocked(clocks.realtime)); in testSensorResetTimes()
470 assertEquals(0, bgTimer.getTotalDurationMsLocked(clocks.realtime)); in testSensorResetTimes()
478 assertEquals(0, timer.getTotalDurationMsLocked(clocks.realtime)); in testSensorResetTimes()
480 assertEquals(0, bgTimer.getTotalDurationMsLocked(clocks.realtime)); in testSensorResetTimes()
[all …]
DBatteryStatsBackgroundStatsTest.java262 long actualTime = timer.getTotalDurationMsLocked(clocks.realtime) * 1000; in doTestAppBluetoothScanInternal()
263 long bgTime = bgTimer.getTotalDurationMsLocked(clocks.realtime) * 1000; in doTestAppBluetoothScanInternal()
264 long badTime = badTimer.getTotalDurationMsLocked(clocks.realtime) * 1000; in doTestAppBluetoothScanInternal()
265 long badBgTime = badBgTimer.getTotalDurationMsLocked(clocks.realtime) * 1000; in doTestAppBluetoothScanInternal()
/frameworks/base/core/java/android/os/
DBatteryStats.java542 public long getTotalDurationMsLocked(long elapsedRealtimeMs) { in getTotalDurationMsLocked() method in BatteryStats.Timer
3089 final long totalDurMs = timer.getTotalDurationMsLocked(elapsedRealtimeUs/1000); in printWakeLock()
3185 totalDuration = timer.getTotalDurationMsLocked(elapsedRealtimeUs/1000); in printWakeLockCheckin()
3277 final long totalDurationMs = timer.getTotalDurationMsLocked(rawRealtimeUs / 1000); in dumpTimer()
3978 final long actualTime = bleTimer.getTotalDurationMsLocked(rawRealtimeMs); in dumpCheckinLocked()
3980 bleTimerBg.getTotalDurationMsLocked(rawRealtimeMs) : 0; in dumpCheckinLocked()
3989 unoptimizedScanTimer.getTotalDurationMsLocked(rawRealtimeMs) : 0; in dumpCheckinLocked()
3996 unoptimizedScanTimerBg.getTotalDurationMsLocked(rawRealtimeMs) : 0; in dumpCheckinLocked()
4026 final long totTimeMs = timer.getTotalDurationMsLocked(rawRealtimeMs); in dumpCheckinLocked()
4029 bgTimer.getTotalDurationMsLocked(rawRealtimeMs) : 0; in dumpCheckinLocked()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java2275 out.writeLong(getTotalDurationMsLocked(elapsedRealtimeUs / 1000)); in writeSummaryFromParcelLocked()
2417 public long getTotalDurationMsLocked(long elapsedRealtimeMs) { in getTotalDurationMsLocked() method in BatteryStatsImpl.DurationTimer
7495 return mWifiScanTimer.getTotalDurationMsLocked(elapsedRealtimeMs) * 1000; in getWifiScanActualTime()
7504 return mWifiScanTimer.getSubTimer().getTotalDurationMsLocked(elapsedRealtimeMs) * 1000; in getWifiScanBackgroundTime()
/frameworks/base/config/
Dboot-image-profile.txt4166 HPLandroid/os/BatteryStats$Timer;->getTotalDurationMsLocked(J)J
38641 HSPLcom/android/internal/os/BatteryStatsImpl$DurationTimer;->getTotalDurationMsLocked(J)J