Searched refs:getTotalDurationMsLocked (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsDurationTimerTest.java | 49 assertEquals(0, timer.getTotalDurationMsLocked(301)); in testStartStop() 56 assertEquals(802, timer.getTotalDurationMsLocked(1502)); in testStartStop() 63 assertEquals(2400, timer.getTotalDurationMsLocked(6302)); in testStartStop() 71 assertEquals(2502, timer.getTotalDurationMsLocked(12802)); in testStartStop() 78 assertEquals(2600, timer.getTotalDurationMsLocked(13002)); in testStartStop() 85 assertEquals(2600, timer.getTotalDurationMsLocked(27000)); in testStartStop() 92 assertEquals(30600, timer.getTotalDurationMsLocked(110102)); in testStartStop() 100 assertEquals(30802, timer.getTotalDurationMsLocked(220302)); in testStartStop() 122 assertEquals(2_400, timer.getTotalDurationMsLocked(6_302)); in testReset() 127 assertEquals(0, timer.getTotalDurationMsLocked(12_002)); in testReset() [all …]
|
D | BatteryStatsSensorTest.java | 348 timer1.getTotalDurationMsLocked(clocks.realtime) * 1000 ); in testPooledBackgroundUsage() 354 bgTimer1.getTotalDurationMsLocked(clocks.realtime) * 1000 ); in testPooledBackgroundUsage() 365 timer2.getTotalDurationMsLocked(clocks.realtime) * 1000); in testPooledBackgroundUsage() 371 bgTimer2.getTotalDurationMsLocked(clocks.realtime) * 1000 ); in testPooledBackgroundUsage() 459 assertEquals(0, timer.getTotalDurationMsLocked(clocks.realtime)); in testSensorResetTimes() 461 assertEquals(0, bgTimer.getTotalDurationMsLocked(clocks.realtime)); in testSensorResetTimes() 470 assertEquals(0, timer.getTotalDurationMsLocked(clocks.realtime)); in testSensorResetTimes() 472 assertEquals(0, bgTimer.getTotalDurationMsLocked(clocks.realtime)); in testSensorResetTimes() 480 assertEquals(0, timer.getTotalDurationMsLocked(clocks.realtime)); in testSensorResetTimes() 482 assertEquals(0, bgTimer.getTotalDurationMsLocked(clocks.realtime)); in testSensorResetTimes() [all …]
|
D | BatteryStatsBackgroundStatsTest.java | 264 long actualTime = timer.getTotalDurationMsLocked(clocks.realtime) * 1000; in doTestAppBluetoothScanInternal() 265 long bgTime = bgTimer.getTotalDurationMsLocked(clocks.realtime) * 1000; in doTestAppBluetoothScanInternal() 266 long badTime = badTimer.getTotalDurationMsLocked(clocks.realtime) * 1000; in doTestAppBluetoothScanInternal() 267 long badBgTime = badBgTimer.getTotalDurationMsLocked(clocks.realtime) * 1000; in doTestAppBluetoothScanInternal()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 587 public long getTotalDurationMsLocked(long elapsedRealtimeMs) { in getTotalDurationMsLocked() method in BatteryStats.Timer 3247 final long totalDurMs = timer.getTotalDurationMsLocked(elapsedRealtimeUs/1000); in printWakeLock() 3343 totalDuration = timer.getTotalDurationMsLocked(elapsedRealtimeUs/1000); in printWakeLockCheckin() 3436 final long totalDurationMs = timer.getTotalDurationMsLocked(rawRealtimeUs / 1000); in dumpTimer() 4151 final long actualTime = bleTimer.getTotalDurationMsLocked(rawRealtimeMs); in dumpCheckinLocked() 4153 bleTimerBg.getTotalDurationMsLocked(rawRealtimeMs) : 0; in dumpCheckinLocked() 4162 unoptimizedScanTimer.getTotalDurationMsLocked(rawRealtimeMs) : 0; in dumpCheckinLocked() 4169 unoptimizedScanTimerBg.getTotalDurationMsLocked(rawRealtimeMs) : 0; in dumpCheckinLocked() 4199 final long totTimeMs = timer.getTotalDurationMsLocked(rawRealtimeMs); in dumpCheckinLocked() 4202 bgTimer.getTotalDurationMsLocked(rawRealtimeMs) : 0; in dumpCheckinLocked() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 2184 out.writeLong(getTotalDurationMsLocked(elapsedRealtimeUs / 1000)); in writeSummaryFromParcelLocked() 2326 public long getTotalDurationMsLocked(long elapsedRealtimeMs) { in getTotalDurationMsLocked() method in BatteryStatsImpl.DurationTimer 7384 return mWifiScanTimer.getTotalDurationMsLocked(elapsedRealtimeMs) * 1000; in getWifiScanActualTime() 7393 return mWifiScanTimer.getSubTimer().getTotalDurationMsLocked(elapsedRealtimeMs) * 1000; in getWifiScanBackgroundTime()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 11186 HPLandroid/os/BatteryStats$Timer;->getTotalDurationMsLocked(J)J 20543 HSPLcom/android/internal/os/BatteryStatsImpl$DurationTimer;->getTotalDurationMsLocked(J)J
|
D | hiddenapi-greylist-max-o.txt | 48848 Landroid/os/BatteryStats$Timer;->getTotalDurationMsLocked(J)J 87942 Lcom/android/internal/os/BatteryStatsImpl$DurationTimer;->getTotalDurationMsLocked(J)J
|