/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20475/test-app/src/android/security/cts/CVE_2022_20475/ |
D | DeviceTest.java | 39 private static final int WAIT_MS = 5000; field in DeviceTest 73 hijackReturn.get(WAIT_MS, TimeUnit.MILLISECONDS); in testCVE_2022_20475() 87 targetReturn.get(WAIT_MS, TimeUnit.MILLISECONDS); in testCVE_2022_20475()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0602/src/android/security/cts/CVE_2021_0602/ |
D | DeviceTest.java | 59 private final int WAIT_MS = 5000; field in DeviceTest 63 boolean objectFound = mDevice.wait(Until.hasObject(selector), WAIT_MS); in clickUiObject() 108 String message = exceptionMessage.get(WAIT_MS, TimeUnit.MILLISECONDS); in testCVE_2021_0602() 180 mDevice.wait(Until.hasObject(selector), WAIT_MS); in testCVE_2021_0602() local
|
/cts/hostsidetests/biometrics/app/src/android/server/biometrics/cts/app/ |
D | BiometricsAtomsHostSideTests.java | 67 private static final long WAIT_MS = 2000; field in BiometricsAtomsHostSideTests 180 mDevice.wait(Until.hasObject(getBySelector(VIEW_BIOMETRIC_PROMPT_ID)), WAIT_MS); in testAuthenticateWithBiometricPrompt() local 192 getBySelector(VIEW_BIOMETRIC_PROMPT_CONFIRM_ID)), WAIT_MS); in testAuthenticateWithBiometricPrompt() 197 mDevice.wait(Until.gone(getBySelector(VIEW_BIOMETRIC_PROMPT_ID)), WAIT_MS); in testAuthenticateWithBiometricPrompt() local
|
/cts/hostsidetests/media/app/MediaSessionTest/src/android/media/session/cts/ |
D | MediaSessionManagerTest.java | 57 private static final int WAIT_MS = 500; field in MediaSessionManagerTest 158 assertFalse(keyEventSessionListener.mCountDownLatch.await(WAIT_MS, TimeUnit.MILLISECONDS)); in testOnMediaKeyEventSessionChangedListener()
|
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
D | MediaSessionManagerTest.java | 79 private static final int WAIT_MS = 500; field in MediaSessionManagerTest 163 assertThat(keyEventSessionListener.mCountDownLatch.await(WAIT_MS, TimeUnit.MILLISECONDS)) in testOnMediaKeyEventSessionChangedListener() 286 .await(WAIT_MS, TimeUnit.MILLISECONDS)).isFalse(); in testOnMediaKeyEventDispatchedListener() 350 assertThat(listener.mCountDownLatch.await(WAIT_MS, TimeUnit.MILLISECONDS)).isFalse(); in testSetOnVolumeKeyLongPressListener() 356 assertThat(listener.mCountDownLatch.await(WAIT_MS, TimeUnit.MILLISECONDS)).isFalse(); in testSetOnVolumeKeyLongPressListener() 393 assertThat(callback.mCountDownLatch.await(WAIT_MS, TimeUnit.MILLISECONDS)).isFalse(); in testSetOnMediaKeyListener() 419 assertThat(listener.mCountDownLatch.await(WAIT_MS, TimeUnit.MILLISECONDS)).isFalse(); in testSetOnMediaKeyListener()
|
D | MediaRouter2Test.java | 140 private static final int WAIT_MS = 2000; field in MediaRouter2Test 332 assertThat(failureLatch.await(WAIT_MS, TimeUnit.MILLISECONDS)).isFalse(); in testTransferToSuccess() 382 assertThat(successLatch.await(WAIT_MS, TimeUnit.MILLISECONDS)).isFalse(); in testTransferToFailure() 457 assertThat(failureLatch.await(WAIT_MS, TimeUnit.MILLISECONDS)).isFalse(); in testTransferToTwice() 458 assertThat(stopLatch.await(WAIT_MS, TimeUnit.MILLISECONDS)).isFalse(); in testTransferToTwice() 543 assertThat(failureLatch.await(WAIT_MS, TimeUnit.MILLISECONDS)).isFalse(); in testSetOnGetControllerHintsListener() 790 assertThat(successLatch.await(WAIT_MS, TimeUnit.MILLISECONDS)).isFalse(); in testTransferCallbackIsNotCalledAfterUnregistered() 791 assertThat(failureLatch.await(WAIT_MS, TimeUnit.MILLISECONDS)).isFalse(); in testTransferCallbackIsNotCalledAfterUnregistered() 1243 assertThat(onControllerUpdatedLatch.await(WAIT_MS, TimeUnit.MILLISECONDS)).isFalse(); in testControllerCallbackUnregister() 1324 assertThat(onControllerUpdatedLatch.await(WAIT_MS, TimeUnit.MILLISECONDS)).isFalse(); in testStop() [all …]
|
D | SystemMediaRouter2Test.java | 125 private static final int WAIT_MS = 2000; field in SystemMediaRouter2Test 252 Thread.sleep(WAIT_MS); in showMediaOutputSwitcher_showsOutputSwitcher() 787 assertThat(failureLatch.await(WAIT_MS, TimeUnit.MILLISECONDS)).isFalse(); in testTransferTo_succeeds_onTransferCalled() 952 assertThat(successLatch.await(WAIT_MS, TimeUnit.MILLISECONDS)).isFalse(); in testTransferTo_fails_onTransferFailureCalled() 1017 assertThat(failureLatch.await(WAIT_MS, TimeUnit.MILLISECONDS)).isFalse(); in testTransferToTwice() 1018 assertThat(stopLatch.await(WAIT_MS, TimeUnit.MILLISECONDS)).isFalse(); in testTransferToTwice() 1082 assertThat(failureLatch.await(WAIT_MS, TimeUnit.MILLISECONDS)).isFalse(); in testTransfer_succeeds_onTransferCalled() 1155 assertThat(onControllerUpdatedLatch.await(WAIT_MS, TimeUnit.MILLISECONDS)).isFalse(); in testStop() 1585 assertThat(onControllerUpdatedLatch.await(WAIT_MS, TimeUnit.MILLISECONDS)).isFalse(); in testRoutingControllerRelease() 1622 latch.await(WAIT_MS, TimeUnit.MILLISECONDS); in waitAndGetRoutes()
|
D | MediaCommunicationManagerTest.java | 58 private static final int WAIT_MS = 500; field in MediaCommunicationManagerTest
|
D | MediaSessionTest.java | 92 private static final long WAIT_MS = 100L; field in MediaSessionTest 790 assertThat(sessionCallback.await(WAIT_MS)).isFalse(); in testCallbackOnMediaButtonEvent() 841 assertThat(sessionCallback.await(WAIT_MS)).isFalse(); in testSetCallbackWithNull()
|
/cts/tests/framework/base/biometrics/src/android/server/biometrics/fingerprint/ |
D | FingerprintManagerTest.java | 79 private static final long WAIT_MS = 2000; field in FingerprintManagerTest 343 Until.findObject(SELECTOR_BIOMETRIC_PROMPT), WAIT_MS); in testAuthCancelsWhenAppSwitched() 352 assertThat(mDevice.wait(Until.gone(SELECTOR_BIOMETRIC_PROMPT), WAIT_MS)).isTrue(); in testAuthCancelsWhenAppSwitched()
|
/cts/tests/tests/wifi/src/android/net/wifi/mockwifi/cts/ |
D | MockWifiTest.java | 90 private static final int WAIT_MS = 60; field in MockWifiTest 278 sMySync.wait(WAIT_MS); in waitForExpectedWifiState() 291 sMySync.wait(WAIT_MS); in waitForNetworkInfoState()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | ConcurrencyTest.java | 171 private static final int WAIT_MS = 100; field in ConcurrencyTest 374 MY_SYNC.wait(WAIT_MS); in waitForBroadcasts() 417 waitResponse.wait(WAIT_MS); in waitForServiceResponse() 1641 p2pListener.mP2pListenerLock.wait(WAIT_MS); in waitForP2pListenerCallbackCalled()
|