Home
last modified time | relevance | path

Searched refs:getSubTimer (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsDualTimerTest.java43 assertFalse(timeBase.hasObserver(timer.getSubTimer())); in testResetDetach()
44 assertTrue(subTimeBase.hasObserver(timer.getSubTimer())); in testResetDetach()
51 assertTrue(subTimeBase.hasObserver(timer.getSubTimer())); in testResetDetach()
58 assertFalse(timeBase.hasObserver(timer.getSubTimer())); in testResetDetach()
DBatteryStatsNoteTest.java85 long bgTime = aggregTimer.getSubTimer().getTotalTimeLocked(300_000, STATS_SINCE_CHARGED); in testNoteStartWakeLocked()
DBatteryStatsBackgroundStatsTest.java307 BatteryStats.Timer bgTimer = timer.getSubTimer(); in testJob()
368 BatteryStats.Timer bgTimer = timer.getSubTimer(); in testSyncs()
/frameworks/base/core/java/android/os/
DBatteryStats.java455 public Timer getSubTimer() { in getSubTimer() method in BatteryStats.Timer
3494 final Timer bgTimer = timer.getSubTimer(); in dumpCheckinLocked()
3510 linePrefix = printWakeLockCheckin(sb, pTimer != null ? pTimer.getSubTimer() : null, in dumpCheckinLocked()
3531 final Timer bgTimer = timer.getSubTimer(); in dumpCheckinLocked()
3547 final Timer bgTimer = timer.getSubTimer(); in dumpCheckinLocked()
4819 linePrefix = printWakeLock(sb, pTimer != null ? pTimer.getSubTimer() : null, in dumpLocked()
4849 final Timer bgAggTimer = aggTimer.getSubTimer(); in dumpLocked()
4917 final Timer bgTimer = timer.getSubTimer(); in dumpLocked()
4951 final Timer bgTimer = timer.getSubTimer(); in dumpLocked()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java2229 public DurationTimer getSubTimer() { in getSubTimer() method in BatteryStatsImpl.DualTimer
6223 if (mWifiScanTimer == null || mWifiScanTimer.getSubTimer() == null) { in getWifiScanBackgroundCount()
6226 return mWifiScanTimer.getSubTimer().getCountLocked(which); in getWifiScanBackgroundCount()
6240 if (mWifiScanTimer == null || mWifiScanTimer.getSubTimer() == null) { in getWifiScanBackgroundTime()
6244 return mWifiScanTimer.getSubTimer().getTotalDurationMsLocked(elapsedRealtimeMs) * 1000; in getWifiScanBackgroundTime()
6308 return mBluetoothScanTimer.getSubTimer(); in getBluetoothScanBackgroundTimer()
6321 return mBluetoothUnoptimizedScanTimer.getSubTimer(); in getBluetoothUnoptimizedScanBackgroundTimer()
7570 return mTimer.getSubTimer(); in getSensorBackgroundTime()