Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsDualTimerTest.java45 assertFalse(timeBase.hasObserver(timer.getSubTimer())); in testResetDetach()
46 assertTrue(subTimeBase.hasObserver(timer.getSubTimer())); in testResetDetach()
53 assertTrue(subTimeBase.hasObserver(timer.getSubTimer())); in testResetDetach()
60 assertFalse(timeBase.hasObserver(timer.getSubTimer())); in testResetDetach()
DBatteryStatsBackgroundStatsTest.java320 BatteryStats.Timer bgTimer = timer.getSubTimer(); in testJob()
381 BatteryStats.Timer bgTimer = timer.getSubTimer(); in testSyncs()
DBatteryStatsNoteTest.java110 long bgTime = aggregTimer.getSubTimer().getTotalTimeLocked(300_000, STATS_SINCE_CHARGED); in testNoteStartWakeLocked()
/frameworks/base/core/java/android/os/
DBatteryStats.java597 public Timer getSubTimer() { in getSubTimer() method in BatteryStats.Timer
4200 final Timer bgTimer = timer.getSubTimer(); in dumpCheckinLocked()
4216 linePrefix = printWakeLockCheckin(sb, pTimer != null ? pTimer.getSubTimer() : null, in dumpCheckinLocked()
4255 final Timer bgTimer = timer.getSubTimer(); in dumpCheckinLocked()
4271 final Timer bgTimer = timer.getSubTimer(); in dumpCheckinLocked()
5720 linePrefix = printWakeLock(sb, pTimer != null ? pTimer.getSubTimer() : null, in dumpLocked()
5750 final Timer bgAggTimer = aggTimer.getSubTimer(); in dumpLocked()
5836 final Timer bgTimer = timer.getSubTimer(); in dumpLocked()
5870 final Timer bgTimer = timer.getSubTimer(); in dumpLocked()
7390 final Timer bgTimer = timer.getSubTimer(); in dumpProtoAppsLocked()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java2599 public DurationTimer getSubTimer() { in getSubTimer() method in BatteryStatsImpl.DualTimer
7372 if (mWifiScanTimer == null || mWifiScanTimer.getSubTimer() == null) { in getWifiScanBackgroundCount()
7375 return mWifiScanTimer.getSubTimer().getCountLocked(which); in getWifiScanBackgroundCount()
7389 if (mWifiScanTimer == null || mWifiScanTimer.getSubTimer() == null) { in getWifiScanBackgroundTime()
7393 return mWifiScanTimer.getSubTimer().getTotalDurationMsLocked(elapsedRealtimeMs) * 1000; in getWifiScanBackgroundTime()
7401 return mWifiScanTimer.getSubTimer(); in getWifiScanBackgroundTimer()
7470 return mBluetoothScanTimer.getSubTimer(); in getBluetoothScanBackgroundTimer()
7483 return mBluetoothUnoptimizedScanTimer.getSubTimer(); in getBluetoothUnoptimizedScanBackgroundTimer()
8875 return mTimer.getSubTimer(); in getSensorBackgroundTime()
/frameworks/base/config/
Dboot-image-profile.txt20532 HPLcom/android/internal/os/BatteryStatsImpl$DualTimer;->getSubTimer()Landroid/os/BatteryStats$Timer;
20533 HPLcom/android/internal/os/BatteryStatsImpl$DualTimer;->getSubTimer()Lcom/android/internal/os/Batte…
Dhiddenapi-greylist-max-o.txt48846 Landroid/os/BatteryStats$Timer;->getSubTimer()Landroid/os/BatteryStats$Timer;
87929 Lcom/android/internal/os/BatteryStatsImpl$DualTimer;->getSubTimer()Lcom/android/internal/os/Battery…