Home
last modified time | relevance | path

Searched refs:isHeld (Results 1 – 16 of 16) sorted by relevance

/cts/tests/tests/wifi/src/android/net/wifi/cts/
DMulticastLockTest.java42 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 …]
DWifiLockTest.java53 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 …]
/cts/tests/tests/os/src/android/os/cts/
DPowerManager_WakeLockTest.java40 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 …]
DPowerManagerTest.java53 assertTrue(wl.isHeld()); in testPowerManager()
55 assertFalse(wl.isHeld()); in testPowerManager()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsExternalCallStateTest.java42 boolean isHeld = false; in parcelUnparcel()
44 isPullable, callState, callType, isHeld); in parcelUnparcel()
60 assertEquals(isHeld, unparceledInfo.isCallHeld()); in parcelUnparcel()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/
DSensorTestScreenManipulator.java174 if (mKeepScreenOnWakeLock.isHeld()) { in turnScreenOn()
188 if (!mKeepScreenOnWakeLock.isHeld()) { in releaseScreenOn()
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/
DTestSensorOperation.java288 if (wakeLock.isHeld()) { in createOperation()
299 if (!wakeLock.isHeld()) { in createOperation()
332 if(!wakeLock.isHeld()) { in createOperation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DOffBodySensorTestActivity.java242 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()) {
DDeviceSuspendTestActivity.java104 if (mDeviceSuspendLock != null && mDeviceSuspendLock.isHeld()) { in activityCleanUp()
132 if (!mDeviceSuspendLock.isHeld()) {
252 if (mDeviceSuspendLock != null && mDeviceSuspendLock.isHeld()) { in verifyDeviceCanSuspend()
DSignificantMotionTestActivity.java309 if (mPartialWakeLock != null && mPartialWakeLock.isHeld()) {
/cts/tests/sensor/src/android/hardware/cts/helpers/
DTestSensorEventListener.java109 if (latch.getCount() == 0 && !mTestSensorEventListenerWakeLock.isHeld()) { in onSensorChanged()
359 if (mTestSensorEventListenerWakeLock.isHeld()) { in releaseWakeLock()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsTestActivity.java96 if (mWakeLock.isHeld()) { in activityCleanUp()
/cts/tests/tests/role/src/android/app/role/cts/
DRoleManagerTest.java481 private void assertRoleIsHeld(@NonNull String roleName, boolean isHeld) in assertRoleIsHeld() argument
494 .isEqualTo(isHeld); in assertRoleIsHeld()
/cts/tests/sensor/src/android/hardware/cts/
DSensorTest.java120 if (mWakeLock != null && mWakeLock.isHeld()) { in tearDown()
DSensorManagerStaticTest.java47 if (mWakeLock != null && mWakeLock.isHeld()) { in tearDown()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DClientTest.java1325 if (wakeLock != null && wakeLock.isHeld()) { in testWakeLockPermission()