Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsDurationTimerTest.java46 assertFalse(timer.isRunningLocked()); in testStartStop()
53 assertTrue(timer.isRunningLocked()); in testStartStop()
60 assertFalse(timer.isRunningLocked()); in testStartStop()
68 assertTrue(timer.isRunningLocked()); in testStartStop()
75 assertFalse(timer.isRunningLocked()); in testStartStop()
82 assertTrue(timer.isRunningLocked()); in testStartStop()
89 assertTrue(timer.isRunningLocked()); in testStartStop()
97 assertTrue(timer.isRunningLocked()); in testStartStop()
119 assertFalse(timer.isRunningLocked()); in testReset()
155 assertFalse(timer.isRunningLocked()); in testResetAndDetach()
[all …]
DBatteryStatsNoteTest.java470 assertTrue(t.isRunningLocked()); in testNoteGpsChanged()
474 assertFalse(t.isRunningLocked()); in testNoteGpsChanged()
494 assertTrue(t.isRunningLocked()); in testNoteGpsChanged_workSource()
498 assertFalse(t.isRunningLocked()); in testNoteGpsChanged_workSource()
DBatteryStatsStopwatchTimerTest.java84 assertFalse(timer.isRunningLocked()); in testCount()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1148 private boolean isRunningLocked() { in isRunningLocked() method in Vpn
1156 return isRunningLocked() && Binder.getCallingUid() == mOwnerUID; in isCallerEstablishedOwnerLocked()
1557 if (!isRunningLocked()) { in getUnderlyingNetworks()
1568 if (!isRunningLocked()) { in getVpnInfo()
1579 if (!isRunningLocked()) { in appliesToUid()