Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsDurationTimerTest.java44 assertFalse(timer.isRunningLocked()); in testStartStop()
51 assertTrue(timer.isRunningLocked()); in testStartStop()
58 assertFalse(timer.isRunningLocked()); in testStartStop()
66 assertTrue(timer.isRunningLocked()); in testStartStop()
73 assertFalse(timer.isRunningLocked()); in testStartStop()
80 assertTrue(timer.isRunningLocked()); in testStartStop()
87 assertTrue(timer.isRunningLocked()); in testStartStop()
95 assertTrue(timer.isRunningLocked()); in testStartStop()
138 assertFalse(summary.isRunningLocked()); in testParceling()
153 assertFalse(full.isRunningLocked()); in testParceling()
DBatteryStatsStopwatchTimerTest.java82 assertFalse(timer.isRunningLocked()); in testCount()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java846 private boolean isRunningLocked() { in isRunningLocked() method in Vpn
853 return isRunningLocked() && Binder.getCallingUid() == mOwnerUID; in isCallerEstablishedOwnerLocked()
1221 if (!isRunningLocked()) { in getUnderlyingNetworks()
1232 if (!isRunningLocked()) { in getVpnInfo()
1243 if (!isRunningLocked()) { in appliesToUid()
/frameworks/base/core/java/android/os/
DBatteryStats.java464 public boolean isRunningLocked() { in isRunningLocked() method in BatteryStats.Timer
2739 if (timer.isRunningLocked()) { in printWakeLock()
2790 if (timer.isRunningLocked()) { in printTimer()
4712 if (bleTimer.isRunningLocked()) { in dumpLocked()
4724 if (bleTimer.isRunningLocked()) { in dumpLocked()
4735 if (bleTimerBg != null && bleTimerBg.isRunningLocked()) { in dumpLocked()
4757 && unoptimizedScanTimer.isRunningLocked()) { in dumpLocked()
4768 if (unoptimizedScanTimerBg.isRunningLocked()) { in dumpLocked()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java2063 public boolean isRunningLocked() { in isRunningLocked() method in BatteryStatsImpl.StopwatchTimer
4392 while (mPhoneSignalStrengthsTimer[i].isRunningLocked()) { in stopAllPhoneSignalStrengthTimersLocked()
4444 if (!mPhoneSignalScanningTimer.isRunningLocked()) { in updateAllPhoneStateLocked()
4455 if (mPhoneSignalScanningTimer.isRunningLocked()) { in updateAllPhoneStateLocked()
4479 if (!mPhoneSignalStrengthsTimer[strengthBin].isRunningLocked()) { in updateAllPhoneStateLocked()
5023 while (mWifiSignalStrengthsTimer[i].isRunningLocked()) { in stopAllWifiSignalStrengthTimersLocked()
5040 if (!mWifiSignalStrengthsTimer[strengthBin].isRunningLocked()) { in noteWifiRssiChangedLocked()
6124 && mBluetoothUnoptimizedScanTimer.isRunningLocked()) { in noteBluetoothScanStoppedLocked()