Searched refs:getSubTimer (Results 1 – 5 of 5) sorted by relevance
43 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()
85 long bgTime = aggregTimer.getSubTimer().getTotalTimeLocked(300_000, STATS_SINCE_CHARGED); in testNoteStartWakeLocked()
307 BatteryStats.Timer bgTimer = timer.getSubTimer(); in testJob()368 BatteryStats.Timer bgTimer = timer.getSubTimer(); in testSyncs()
455 public Timer getSubTimer() { in getSubTimer() method in BatteryStats.Timer3494 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()
2229 public DurationTimer getSubTimer() { in getSubTimer() method in BatteryStatsImpl.DualTimer6223 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()