Home
last modified time | relevance | path

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

/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.java66 assertTrue(wl.isHeld()); in testPowerManager()
68 assertFalse(wl.isHeld()); in testPowerManager()
/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.java55 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/
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/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DDeviceSuspendTestActivity.java104 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()
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()) {
DSignificantMotionTestActivity.java309 if (mPartialWakeLock != null && mPartialWakeLock.isHeld()) {
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/
DTestSensorOperation.java296 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/
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.java711 private void assertRoleIsHeld(@NonNull String roleName, boolean isHeld) in assertRoleIsHeld() argument
724 .isEqualTo(isHeld); in assertRoleIsHeld()
/cts/tests/sensor/src/android/hardware/cts/
DSensorManagerStaticTest.java47 if (mWakeLock != null && mWakeLock.isHeld()) { in tearDown()
DSensorTest.java119 if (mWakeLock != null && mWakeLock.isHeld()) { in tearDown()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DClientTest.java1378 if (wakeLock != null && wakeLock.isHeld()) { in testWakeLockPermission()
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/res/apis/
Dwifi-current.txt521 method public boolean isHeld();
547 method public boolean isHeld();