Searched refs:isHeld (Results 1 – 16 of 16) sorted by relevance
42 assertFalse(mcl.isHeld()); in testMulticastLock()44 assertTrue(mcl.isHeld()); in testMulticastLock()46 assertFalse(mcl.isHeld()); in testMulticastLock()49 assertTrue(mcl.isHeld()); in testMulticastLock()51 assertTrue(mcl.isHeld()); in testMulticastLock()53 assertFalse(mcl.isHeld()); in testMulticastLock()65 assertFalse(mcl.isHeld()); in testMulticastLock()67 assertTrue(mcl.isHeld()); in testMulticastLock()69 assertFalse(mcl.isHeld()); in testMulticastLock()72 assertTrue(mcl.isHeld()); in testMulticastLock()[all …]
53 assertFalse(wl.isHeld()); in testWifiLock()55 assertTrue(wl.isHeld()); in testWifiLock()57 assertFalse(wl.isHeld()); in testWifiLock()60 assertTrue(wl.isHeld()); in testWifiLock()62 assertTrue(wl.isHeld()); in testWifiLock()64 assertFalse(wl.isHeld()); in testWifiLock()76 assertFalse(wl.isHeld()); in testWifiLock()78 assertTrue(wl.isHeld()); in testWifiLock()80 assertFalse(wl.isHeld()); in testWifiLock()83 assertTrue(wl.isHeld()); in testWifiLock()[all …]
40 assertTrue(wl.isHeld()); in testPowerManagerWakeLock()42 assertFalse(wl.isHeld()); in testPowerManagerWakeLock()47 assertTrue(wl.isHeld()); in testPowerManagerWakeLock()49 assertTrue(wl.isHeld()); in testPowerManagerWakeLock()51 assertTrue(wl.isHeld()); in testPowerManagerWakeLock()53 assertFalse(wl.isHeld()); in testPowerManagerWakeLock()58 assertTrue(wl.isHeld()); in testPowerManagerWakeLock()60 assertTrue(wl.isHeld()); in testPowerManagerWakeLock()62 assertFalse(wl.isHeld()); in testPowerManagerWakeLock()66 assertTrue(wl.isHeld()); in testPowerManagerWakeLock()[all …]
53 assertTrue(wl.isHeld()); in testPowerManager()55 assertFalse(wl.isHeld()); in testPowerManager()
42 boolean isHeld = false; in parcelUnparcel()44 isPullable, callState, callType, isHeld); in parcelUnparcel()60 assertEquals(isHeld, unparceledInfo.isCallHeld()); in parcelUnparcel()
174 if (mKeepScreenOnWakeLock.isHeld()) { in turnScreenOn()188 if (!mKeepScreenOnWakeLock.isHeld()) { in releaseScreenOn()
288 if (wakeLock.isHeld()) { in createOperation()299 if (!wakeLock.isHeld()) { in createOperation()332 if(!wakeLock.isHeld()) { in createOperation()
242 if ((suspendLock != null) && suspendLock.isHeld()) { in waitForEvent()248 if ((suspendLock != null) && !suspendLock.isHeld()) { in waitForEvent()354 if (!mDeviceSuspendLock.isHeld()) {590 if ((mDeviceSuspendLock != null) && mDeviceSuspendLock.isHeld()) {
104 if (mDeviceSuspendLock != null && mDeviceSuspendLock.isHeld()) { in activityCleanUp()132 if (!mDeviceSuspendLock.isHeld()) {252 if (mDeviceSuspendLock != null && mDeviceSuspendLock.isHeld()) { in verifyDeviceCanSuspend()
309 if (mPartialWakeLock != null && mPartialWakeLock.isHeld()) {
109 if (latch.getCount() == 0 && !mTestSensorEventListenerWakeLock.isHeld()) { in onSensorChanged()359 if (mTestSensorEventListenerWakeLock.isHeld()) { in releaseWakeLock()
96 if (mWakeLock.isHeld()) { in activityCleanUp()
481 private void assertRoleIsHeld(@NonNull String roleName, boolean isHeld) in assertRoleIsHeld() argument494 .isEqualTo(isHeld); in assertRoleIsHeld()
120 if (mWakeLock != null && mWakeLock.isHeld()) { in tearDown()
47 if (mWakeLock != null && mWakeLock.isHeld()) { in tearDown()
1325 if (wakeLock != null && wakeLock.isHeld()) { in testWakeLockPermission()