/cts/tests/tests/os/src/android/os/cts/ |
D | PowerManager_WakeLockTest.java | 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 …]
|
D | PowerManagerTest.java | 66 assertTrue(wl.isHeld()); in testPowerManager() 68 assertFalse(wl.isHeld()); in testPowerManager()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | MulticastLockTest.java | 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 …]
|
D | WifiLockTest.java | 55 assertFalse(wl.isHeld()); in testWifiLock() 57 assertTrue(wl.isHeld()); in testWifiLock() 59 assertFalse(wl.isHeld()); in testWifiLock() 62 assertTrue(wl.isHeld()); in testWifiLock() 64 assertTrue(wl.isHeld()); in testWifiLock() 66 assertFalse(wl.isHeld()); in testWifiLock() 78 assertFalse(wl.isHeld()); in testWifiLock() 80 assertTrue(wl.isHeld()); in testWifiLock() 82 assertFalse(wl.isHeld()); in testWifiLock() 85 assertTrue(wl.isHeld()); in testWifiLock() [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | ImsExternalCallStateTest.java | 42 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/ |
D | SensorTestScreenManipulator.java | 174 if (mKeepScreenOnWakeLock.isHeld()) { in turnScreenOn() 188 if (!mKeepScreenOnWakeLock.isHeld()) { in releaseScreenOn()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | DeviceSuspendTestActivity.java | 104 if (mDeviceSuspendLock != null && mDeviceSuspendLock.isHeld()) { in activityCleanUp() 114 if (mDeviceSuspendLock != null && mDeviceSuspendLock.isHeld()) { in onDestroy() 135 if (!mDeviceSuspendLock.isHeld()) { 255 if (mDeviceSuspendLock != null && mDeviceSuspendLock.isHeld()) { in verifyDeviceCanSuspend()
|
D | OffBodySensorTestActivity.java | 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()) {
|
D | SignificantMotionTestActivity.java | 309 if (mPartialWakeLock != null && mPartialWakeLock.isHeld()) {
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/ |
D | TestSensorOperation.java | 296 if (wakeLock.isHeld()) { in createOperation() 307 if (!wakeLock.isHeld()) { in createOperation() 340 if(!wakeLock.isHeld()) { in createOperation()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/ |
D | TestSensorEventListener.java | 109 if (latch.getCount() == 0 && !mTestSensorEventListenerWakeLock.isHeld()) { in onSensorChanged() 359 if (mTestSensorEventListenerWakeLock.isHeld()) { in releaseWakeLock()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
D | SensorCtsTestActivity.java | 96 if (mWakeLock.isHeld()) { in activityCleanUp()
|
/cts/tests/tests/role/src/android/app/role/cts/ |
D | RoleManagerTest.java | 711 private void assertRoleIsHeld(@NonNull String roleName, boolean isHeld) in assertRoleIsHeld() argument 724 .isEqualTo(isHeld); in assertRoleIsHeld()
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorManagerStaticTest.java | 47 if (mWakeLock != null && mWakeLock.isHeld()) { in tearDown()
|
D | SensorTest.java | 119 if (mWakeLock != null && mWakeLock.isHeld()) { in tearDown()
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
D | ClientTest.java | 1378 if (wakeLock != null && wakeLock.isHeld()) { in testWakeLockPermission()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/res/apis/ |
D | wifi-current.txt | 521 method public boolean isHeld(); 547 method public boolean isHeld();
|