Home
last modified time | relevance | path

Searched refs:getSubTimer (Results 1 – 6 of 6) 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()
DBatteryStatsBackgroundStatsTest.java318 BatteryStats.Timer bgTimer = timer.getSubTimer(); in testJob()
379 BatteryStats.Timer bgTimer = timer.getSubTimer(); in testSyncs()
DBatteryStatsNoteTest.java111 long bgTime = aggregTimer.getSubTimer().getTotalTimeLocked(300_000, STATS_SINCE_CHARGED); in testNoteStartWakeLocked()
/frameworks/base/core/java/android/os/
DBatteryStats.java552 public Timer getSubTimer() { in getSubTimer() method in BatteryStats.Timer
4027 final Timer bgTimer = timer.getSubTimer(); in dumpCheckinLocked()
4043 linePrefix = printWakeLockCheckin(sb, pTimer != null ? pTimer.getSubTimer() : null, in dumpCheckinLocked()
4082 final Timer bgTimer = timer.getSubTimer(); in dumpCheckinLocked()
4098 final Timer bgTimer = timer.getSubTimer(); in dumpCheckinLocked()
5561 linePrefix = printWakeLock(sb, pTimer != null ? pTimer.getSubTimer() : null, in dumpLocked()
5591 final Timer bgAggTimer = aggTimer.getSubTimer(); in dumpLocked()
5677 final Timer bgTimer = timer.getSubTimer(); in dumpLocked()
5711 final Timer bgTimer = timer.getSubTimer(); in dumpLocked()
7213 final Timer bgTimer = timer.getSubTimer(); in dumpProtoAppsLocked()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java2689 public DurationTimer getSubTimer() { in getSubTimer() method in BatteryStatsImpl.DualTimer
7483 if (mWifiScanTimer == null || mWifiScanTimer.getSubTimer() == null) { in getWifiScanBackgroundCount()
7486 return mWifiScanTimer.getSubTimer().getCountLocked(which); in getWifiScanBackgroundCount()
7500 if (mWifiScanTimer == null || mWifiScanTimer.getSubTimer() == null) { in getWifiScanBackgroundTime()
7504 return mWifiScanTimer.getSubTimer().getTotalDurationMsLocked(elapsedRealtimeMs) * 1000; in getWifiScanBackgroundTime()
7512 return mWifiScanTimer.getSubTimer(); in getWifiScanBackgroundTimer()
7581 return mBluetoothScanTimer.getSubTimer(); in getBluetoothScanBackgroundTimer()
7594 return mBluetoothUnoptimizedScanTimer.getSubTimer(); in getBluetoothUnoptimizedScanBackgroundTimer()
9066 return mTimer.getSubTimer(); in getSensorBackgroundTime()
/frameworks/base/config/
Dboot-image-profile.txt8694 HPLcom/android/internal/os/BatteryStatsImpl$DualTimer;->getSubTimer()Landroid/os/BatteryStats$Timer;
8695 HPLcom/android/internal/os/BatteryStatsImpl$DualTimer;->getSubTimer()Lcom/android/internal/os/Batte…