Home
last modified time | relevance | path

Searched refs:TIMEOUT_MS (Results 1 – 25 of 114) sorted by relevance

12345

/cts/tests/tests/voiceinteraction/localvoiceinteraction/src/android/voiceinteraction/cts/localvoiceinteraction/
DLocalVoiceInteractionTest.java50 private static final int TIMEOUT_MS = 20 * 1000; field in LocalVoiceInteractionTest
81 if (!mLatchStart.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in testLifecycle()
82 fail("Failed to start voice interaction in " + TIMEOUT_MS + "msec"); in testLifecycle()
90 if (!mLatchStop.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in testLifecycle()
91 fail("Failed to stop voice interaction in " + TIMEOUT_MS + "msec"); in testLifecycle()
106 if (!mLatchStart.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in testGrantVisibilityOnStartLocalInteraction()
107 fail("Failed to start voice interaction in " + TIMEOUT_MS + "msec"); in testGrantVisibilityOnStartLocalInteraction()
117 if (!mLatchStop.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in testGrantVisibilityOnStartLocalInteraction()
118 fail("Failed to stop voice interaction in " + TIMEOUT_MS + "msec"); in testGrantVisibilityOnStartLocalInteraction()
/cts/tests/tests/appop/src/android/app/appops/cts/
DAppOpsTest.kt83 private val TIMEOUT_MS = 10000L constant
270 var activeState = activeChangedQueue.poll(TIMEOUT_MS, TimeUnit.MILLISECONDS) in overlappingActiveAttributionOps()
271 assertNotNull("Did not receive onOpChanged callback within $TIMEOUT_MS ms", in overlappingActiveAttributionOps()
282 activeChangedQueue.poll(TIMEOUT_MS, TimeUnit.MILLISECONDS)) in overlappingActiveAttributionOps()
296 activeChangedQueue.poll(TIMEOUT_MS, TimeUnit.MILLISECONDS)) in overlappingActiveAttributionOps()
308 activeState = activeChangedQueue.poll(TIMEOUT_MS, TimeUnit.MILLISECONDS) in overlappingActiveAttributionOps()
309 assertNotNull("Did not receive onOpChanged callback within $TIMEOUT_MS ms", in overlappingActiveAttributionOps()
339 var activeState = activeChangedQueue.poll(TIMEOUT_MS, TimeUnit.MILLISECONDS) in startOpTwiceAndVerifyChangeListener()
340 assertNotNull("Did not receive onOpChanged callback within $TIMEOUT_MS ms", in startOpTwiceAndVerifyChangeListener()
346 activeState = activeChangedQueue.poll(TIMEOUT_MS, TimeUnit.MILLISECONDS) in startOpTwiceAndVerifyChangeListener()
[all …]
/cts/tests/tests/assist/src/android/assist/cts/
DFocusChangeTest.java49 if (!mHasGainedFocusLatch.await(Utils.TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitToGainFocus()
50 fail("Activity failed to gain focus in " + Utils.TIMEOUT_MS + "msec."); in waitToGainFocus()
56 if (!mHasLostFocusLatch.await(Utils.TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitToLoseFocus()
58 + Utils.TIMEOUT_MS + "msec."); in waitToLoseFocus()
/cts/tests/tests/view/src/android/view/cts/
DViewTreeObserverTest.java60 private static int TIMEOUT_MS = 2000; field in ViewTreeObserverTest
112 verify(listener, within(TIMEOUT_MS)).onGlobalFocusChanged(view1, view2); in testAddOnGlobalFocusChangeListener()
159 verify(activeListener, within(TIMEOUT_MS)).run(); in testFrameCommitListener()
193 verify(listener, within(TIMEOUT_MS)).onTouchModeChanged(anyBoolean()); in testAddOnTouchModeChangeListener()
218 SystemClock.sleep(TIMEOUT_MS); in testRemoveGlobalOnLayoutListener()
238 SystemClock.sleep(TIMEOUT_MS); in testRemoveOnGlobalLayoutListener()
256 verify(listener, within(TIMEOUT_MS)).onGlobalFocusChanged(view1, view2); in testRemoveOnGlobalFocusChangeListener()
264 SystemClock.sleep(TIMEOUT_MS); in testRemoveOnGlobalFocusChangeListener()
287 SystemClock.sleep(TIMEOUT_MS); in testRemoveOnPreDrawListener()
305 verify(listener, within(TIMEOUT_MS)).onTouchModeChanged(anyBoolean()); in testRemoveOnTouchModeChangeListener()
[all …]
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DScannerNotificationReceiver.java30 private static final int TIMEOUT_MS = 4 * 60 * 1000; field in ScannerNotificationReceiver
47 if (!mLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitForBroadcast()
49 MediaScannerTest.fail("Failed to receive broadcast in " + TIMEOUT_MS + "ms for " in waitForBroadcast()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DProfileTimeoutTestHelper.java33 private static final int TIMEOUT_MS = 30_000; field in ProfileTimeoutTestHelper
50 mDpm.setMaximumTimeToLock(ADMIN_COMPONENT, TIMEOUT_MS); in testSetWorkProfileTimeout()
52 TIMEOUT_MS, mDpm.getMaximumTimeToLock(ADMIN_COMPONENT)); in testSetWorkProfileTimeout()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleAdvertisingSetTestActivity.java57 private static final int TIMEOUT_MS = 5000; field in BleAdvertisingSetTestActivity
175 assertTrue(mCallback.mAdvertisingSetStartedLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in startAdvertisingSet()
188 assertTrue(mCallback.mAdvertisingEnabledLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testEnableAndDisableAdvertising()
193 assertTrue(mCallback.mAdvertisingDisabledLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testEnableAndDisableAdvertising()
205 assertTrue(mCallback.mAdvertisingDataSetLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testSetAdvertisingData()
216 assertTrue(mCallback.mScanResponseDataSetLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testSetScanResponseData()
228 assertTrue(mCallback.mAdvertisingDisabledLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testSetAdvertisingParameters()
236 assertTrue(mCallback.mAdvertisingParametersUpdatedLatch.await(TIMEOUT_MS, in testSetAdvertisingParameters()
262 assertTrue(mCallback.mAdvertisingParametersUpdatedLatch.await(TIMEOUT_MS, in testPeriodicAdvertising()
268 assertTrue(mCallback.mPeriodicAdvertisingParamsUpdatedLatch.await(TIMEOUT_MS, in testPeriodicAdvertising()
[all …]
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39622/src/android/security/cts/CVE_2021_39622/
DDeviceTest.java40 private static final int TIMEOUT_MS = 5000; field in DeviceTest
46 mUiDevice.wait(Until.hasObject(micIcon), TIMEOUT_MS); in checkVulnerability() local
52 assertFalse(mUiDevice.wait(Until.hasObject(vulText), TIMEOUT_MS)); in checkVulnerability() local
84 mUiDevice.wait(Until.hasObject(okButton), TIMEOUT_MS); in testPocCVE_2021_39622() local
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaCommunicationManagerTest.java57 private static final int TIMEOUT_MS = 5000; field in MediaCommunicationManagerTest
99 assertTrue(managerCallback.mCreatedLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testGetSession2Tokens()
141 assertTrue(managerCallback.mCreatedLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testManagerSessionCallback()
142 assertTrue(managerCallback.mChangedLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testManagerSessionCallback()
153 assertTrue(managerCallback.mCreatedLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testManagerSessionCallback()
154 assertTrue(managerCallback.mChangedLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testManagerSessionCallback()
163 assertTrue(managerCallback.mChangedLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testManagerSessionCallback()
DMediaRoute2ProviderServiceTest.java84 private static final int TIMEOUT_MS = 5000; field in MediaRoute2ProviderServiceTest
109 new PollingCheck(TIMEOUT_MS) { in setUp() argument
269 assertThat(onRoutesAddedLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)).isTrue(); in testNotifyRoutesInvokesMediaRouter2DeprecatedRouteCallback()
277 assertThat(onRoutesChangedLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)).isTrue(); in testNotifyRoutesInvokesMediaRouter2DeprecatedRouteCallback()
282 assertThat(onRoutesRemovedLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)).isTrue(); in testNotifyRoutesInvokesMediaRouter2DeprecatedRouteCallback()
340 assertThat(routesAddedLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)).isTrue(); in testNotifyRoutesInvokesMediaRouter2RouteCallback()
350 assertThat(routesChangedLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)).isTrue(); in testNotifyRoutesInvokesMediaRouter2RouteCallback()
355 assertThat(routesRemovedLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)).isTrue(); in testNotifyRoutesInvokesMediaRouter2RouteCallback()
546 assertThat(onCreateSessionLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)).isTrue(); in testSessionRelatedCallbacks()
547 assertThat(onTransferredLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)).isTrue(); in testSessionRelatedCallbacks()
[all …]
/cts/tests/location/location_fine/src/android/location/cts/fine/
DLocationManagerFineTest.java112 private static final long TIMEOUT_MS = 5000; field in LocationManagerFineTest
345 assertThat(capture.getLocation(TIMEOUT_MS)).isEqualTo(loc); in testGetCurrentLocation()
388 assertThat(capture.getLocation(TIMEOUT_MS)).isEqualTo(loc); in testGetCurrentLocation_FreshOldLocation()
401 assertThat(capture.getLocation(TIMEOUT_MS)).isEqualTo(loc); in testGetCurrentLocation_DirectExecutor()
447 assertThat(capture.getLocation(TIMEOUT_MS)).isEqualTo(loc); in testGetCurrentLocation_NoteOps()
473 assertThat(capture.getNextLocation(TIMEOUT_MS)).isEqualTo(loc1); in testRequestLocationUpdates()
475 assertThat(capture.getNextLocation(TIMEOUT_MS)).isEqualTo(loc2); in testRequestLocationUpdates()
477 assertThat(capture.getNextProviderChange(TIMEOUT_MS)).isEqualTo(Boolean.FALSE); in testRequestLocationUpdates()
479 assertThat(capture.getNextProviderChange(TIMEOUT_MS)).isEqualTo(Boolean.TRUE); in testRequestLocationUpdates()
534 assertThat(capture.getNextLocation(TIMEOUT_MS)).isEqualTo(loc); in testRequestLocationUpdates_Passive()
[all …]
DSettingInjectorServiceTest.java50 private static final long TIMEOUT_MS = 5000; field in SettingInjectorServiceTest
74 Message message = messageCapture.getNextMessage(TIMEOUT_MS); in testSettingInjectorService()
80 message = messageCapture.getNextMessage(TIMEOUT_MS); in testSettingInjectorService()
86 message = messageCapture.getNextMessage(TIMEOUT_MS); in testSettingInjectorService()
106 Message message = messageCapture.getNextMessage(TIMEOUT_MS); in testSettingInjectorService_Exception()
DGeofencingTest.java54 private static final long TIMEOUT_MS = 5000; field in GeofencingTest
127 assertThat(capture.getNextProximityChange(TIMEOUT_MS)).isEqualTo(Boolean.TRUE); in testAddProximityAlert()
131 assertThat(capture.getNextProximityChange(TIMEOUT_MS)).isEqualTo(Boolean.FALSE); in testAddProximityAlert()
239 assertThat(capture.getNextProximityChange(TIMEOUT_MS)).isEqualTo(Boolean.TRUE); in testAddProximityAlert_StartProximate()
269 assertThat(capture.getNextProximityChange(TIMEOUT_MS)).isEqualTo(Boolean.TRUE); in testAddProximityAlert_Multiple()
273 Boolean first = capture.getNextProximityChange(TIMEOUT_MS); in testAddProximityAlert_Multiple()
275 Boolean second = capture.getNextProximityChange(TIMEOUT_MS); in testAddProximityAlert_Multiple()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/extensions/util/
DTestValueCountConsumer.java38 private static final long TIMEOUT_MS = 3000; field in TestValueCountConsumer
66 value = mLinkedBlockingQueue.poll(TIMEOUT_MS, TimeUnit.MILLISECONDS); in waitAndGet()
80 T value = mLinkedBlockingQueue.poll(TIMEOUT_MS, TimeUnit.MILLISECONDS); in waitAndGetAllValues()
/cts/tests/tests/voicesettings/src/android/voicesettings/cts/
DBroadcastTestBase.java58 protected static final int TIMEOUT_MS = 20 * 1000; field in BroadcastTestBase
142 if (!mLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in startTestAndWaitForBroadcast()
143 fail("Failed to receive broadcast in " + TIMEOUT_MS + "msec"); in startTestAndWaitForBroadcast()
190 if (!mLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS) in startTestAndWaitForChange()
191 || !latch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in startTestAndWaitForChange()
192 fail("Failed to change in " + TIMEOUT_MS + "msec"); in startTestAndWaitForChange()
/cts/tests/framework/base/windowmanager/appProfileable/src/android/server/wm/profileable/
DProfileableAppActivity.java73 private static final long TIMEOUT_MS = 4500L; field in ProfileableAppActivity.TraceFileObserver
94 wait(TIMEOUT_MS); in waitForComplete()
95 if (SystemClock.elapsedRealtime() - startTimeMs >= TIMEOUT_MS) { in waitForComplete()
/cts/tests/tests/car/src/android/car/cluster/cts/
DClusterHomeManagerTest.java58 private static final long TIMEOUT_MS = 10_000; field in ClusterHomeManagerTest
118 PollingCheck.waitFor(TIMEOUT_MS, () -> { in tearDown()
144 PollingCheck.waitFor(TIMEOUT_MS, () -> { in testStartVisibilityMonitoring()
164 PollingCheck.waitFor(TIMEOUT_MS, () -> { in testStartVisibilityMonitoring()
191 PollingCheck.waitFor(TIMEOUT_MS, in testRegisterAndUnregisterClusterNavigationStateListener()
201 PollingCheck.waitFor(TIMEOUT_MS, in testRegisterAndUnregisterClusterNavigationStateListener()
219 PollingCheck.waitFor(TIMEOUT_MS, () -> mHasFocus); in waitForFocusGranted()
264 return mDestroyed.await(TIMEOUT_MS, TimeUnit.MILLISECONDS); in waitForDestroyed()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothLeAdvertiserTest.java60 private static final int TIMEOUT_MS = 5000; field in BluetoothLeAdvertiserTest
98 assertTrue(mCallback.mAdvertisingSetStoppedLatch.await(TIMEOUT_MS, in tearDown()
114 assertTrue(mCallback.mAdvertisingSetStartedLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in startAdvertisingSetWithCallbackAndHandler()
124 assertTrue(mCallback.mAdvertisingSetStartedLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in startAdvertisingSetWithDurationAndCallback()
135 assertTrue(mCallback.mAdvertisingSetStartedLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in startAdvertisingSetWithDurationCallbackAndHandler()
157 assertTrue(mCallback.mAdvertisingSetStartedLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in startAdvertisingSetWithDurationCallbackGattServerAndHandler()
167 mCallback.mAdvertisingSetStartedLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS); in getAdvertisingSetId()
/cts/tests/app/src/android/app/cts/
DCloseSystemDialogsTest.java85 private static final long TIMEOUT_MS = 3000; field in CloseSystemDialogsTest
304 assertTrue(mService.waitForAccessibilityServiceWindow(TIMEOUT_MS)); in testCloseSystemDialogs_withWindowAboveShadeAndTargetSdk30_isSent()
320 assertThat(mFakeView.getNextCloseSystemDialogsCallReason(TIMEOUT_MS)).isEqualTo(REASON); in testCloseSystemDialogsViaWindowManager_whenTestInstrumentedViaShell_isSent()
331 assertThat(mFakeView.getNextCloseSystemDialogsCallReason(TIMEOUT_MS)).isEqualTo(REASON); in testCloseSystemDialogsViaWindowManager_whenRunningAsShell_isSent()
343 assertThat(mFakeView.getNextCloseSystemDialogsCallReason(TIMEOUT_MS)).isEqualTo(null); in testCloseSystemDialogsViaWindowManager_whenTargetSdkCurrent_isBlockedAndThrows()
354 assertThat(mFakeView.getNextCloseSystemDialogsCallReason(TIMEOUT_MS)).isEqualTo(null); in testCloseSystemDialogsViaWindowManager_whenTargetSdk30_isBlockedButDoesNotThrow()
366 assertThat(mFakeView.getNextCloseSystemDialogsCallReason(TIMEOUT_MS)).isEqualTo(REASON); in testCloseSystemDialogsViaActivityManager_whenTestInstrumentedViaShell_isSent()
378 assertThat(mFakeView.getNextCloseSystemDialogsCallReason(TIMEOUT_MS)).isEqualTo(REASON); in testCloseSystemDialogsViaActivityManager_whenRunningAsShell_isSent()
391 assertThat(mFakeView.getNextCloseSystemDialogsCallReason(TIMEOUT_MS)).isEqualTo(null); in testCloseSystemDialogsViaActivityManager_whenTargetSdkCurrent_isBlockedAndThrows()
402 assertThat(mFakeView.getNextCloseSystemDialogsCallReason(TIMEOUT_MS)).isEqualTo(null); in testCloseSystemDialogsViaActivityManager_whenTargetSdk30_isBlockedButDoesNotThrow()
[all …]
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0706/src/android/security/cts/CVE_2021_0706/
DDeviceTest.java42 final int TIMEOUT_MS = 10000; in testDisablePlugin() local
52 assumeNotNull(mDevice.wait(Until.hasObject(By.pkg(TEST_PACKAGE).depth(0)), TIMEOUT_MS)); in testDisablePlugin()
57 assumeNotNull(mDevice.wait(Until.gone(By.pkg(TEST_PACKAGE).depth(0)), TIMEOUT_MS)); in testDisablePlugin()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityDisplayProxyTest.java210 private static final int TIMEOUT_MS = 5000; field in AccessibilityDisplayProxyTest
553 waitOn(mA11yProxy.mWaitObject, ()-> mA11yProxy.mReceivedEvent.get(), TIMEOUT_MS, in testOnAccessibilityEvent_clickButton_proxyReceivesClickEvent()
601 (event) -> displayFocused(event, 0), TIMEOUT_MS); in testPerformSystemAction_topFocusDisplayIsLastNonProxyDisplay() local
643 }, (event) -> displayFocused(event, Display.DEFAULT_DISPLAY), TIMEOUT_MS); in testTriggerTouchExploration_topFocusDisplayIsLastNonProxyDisplay() local
662 service.waitOnEvent(TIMEOUT_MS, in testOnAccessibilityEvent_clickButton_serviceDoesNotReceiveClickEvent()
663 "Expected event was not received within " + TIMEOUT_MS + " ms")); in testOnAccessibilityEvent_clickButton_serviceDoesNotReceiveClickEvent()
768 TIMEOUT_MS, "(expected to timeout)")); in testOnA11yEvent_moveFocusWithinWindow_proxyDoesNotGetWindowEvent()
783 waitOn(mA11yProxy.mWaitObject, ()-> mA11yProxy.mReceivedEvent.get(), TIMEOUT_MS, in testOnA11yEvent_setInitialFocus_proxyGetsWindowEvent()
810 waitOn(mA11yProxy.mWaitObject, ()-> mA11yProxy.mReceivedEvent.get(), TIMEOUT_MS, in testOnA11yEvent_moveFocusBetweenWindows_proxyGetsWindowEvent()
911 TIMEOUT_MS, "(expected to timeout)")); in testOnA11yEvent_touchProxyDisplay_proxyDoesNotReceiveInteractionEvent()
[all …]
/cts/hostsidetests/os/test-apps/StaticSharedLibTestApp/src/android/os/lib/app/
DStaticSharedLibsMultiUserTests.java56 private static final long TIMEOUT_MS = 10000L; field in StaticSharedLibsMultiUserTests
114 Intent intent = initialReceiver.awaitForBroadcast(TIMEOUT_MS); in testStaticSharedLibInstallOnSecondaryUser_broadcastReceivedByAllUsers()
120 intent = additionalReceiver.awaitForBroadcast(TIMEOUT_MS); in testStaticSharedLibInstallOnSecondaryUser_broadcastReceivedByAllUsers()
146 Intent intent = initialReceiver.awaitForBroadcast(TIMEOUT_MS); in testStaticSharedLibUninstallOnAllUsers_broadcastReceivedByAllUsers()
152 intent = additionalReceiver.awaitForBroadcast(TIMEOUT_MS); in testStaticSharedLibUninstallOnAllUsers_broadcastReceivedByAllUsers()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-35669/test-app/src/android/security/cts/CVE_2023_35669_test/
DDeviceTest.java52 public static final int TIMEOUT_MS = 5000; field in DeviceTest
117 targetReturn.tryAcquire(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testCVE_2023_35669()
125 pocReturn.tryAcquire(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testCVE_2023_35669()
144 hijackReturn.tryAcquire(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testCVE_2023_35669()
154 UiObject2 uiObject = uiDevice.wait(Until.findObject(removeAccountSelector), TIMEOUT_MS); in clickObject()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21131/test-app/src/android/security/cts/CVE_2023_21131_test/
DDeviceTest.java52 public final int TIMEOUT_MS = 5000; field in DeviceTest
124 .that(targetReturn.tryAcquire(TIMEOUT_MS, TimeUnit.MILLISECONDS)) in testCVE_2023_21131()
134 .that(pocReturn.tryAcquire(TIMEOUT_MS, TimeUnit.MILLISECONDS)) in testCVE_2023_21131()
156 .that(hijackReturn.tryAcquire(TIMEOUT_MS, TimeUnit.MILLISECONDS)) in testCVE_2023_21131()
168 UiObject2 uiObject = uiDevice.wait(Until.findObject(removeAccountSelector), TIMEOUT_MS); in clickObject()
/cts/tests/tests/virtualdevice/common/src/android/virtualdevice/cts/common/
DFakeAssociationRule.java62 private static final int TIMEOUT_MS = 10000; field in FakeAssociationRule
107 verify(mOnAssociationsChangedListener, timeout(TIMEOUT_MS) in createManagedAssociation()
141 verify(callback, timeout(TIMEOUT_MS)).accept(eq(true)); in before()
159 verify(callback, timeout(TIMEOUT_MS)).accept(eq(true)); in after()
186 verify(mOnAssociationsChangedListener, timeout(TIMEOUT_MS).atLeastOnce()) in disassociate()

12345