Home
last modified time | relevance | path

Searched refs:DEFAULT_TIMEOUT_MS (Results 1 – 18 of 18) sorted by relevance

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DAsyncUtils.java31 public static final long DEFAULT_TIMEOUT_MS = 5000; field in AsyncUtils
36 return await(f, DEFAULT_TIMEOUT_MS, MILLISECONDS); in await()
48 return awaitFailure(f, DEFAULT_TIMEOUT_MS, MILLISECONDS); in awaitFailure()
56 return awaitCancellation(f, DEFAULT_TIMEOUT_MS, MILLISECONDS); in awaitCancellation()
73 TestUtils.waitOn(notifyLock, condition, DEFAULT_TIMEOUT_MS, null); in waitOn()
DActivityLaunchUtils.java18 import static android.accessibilityservice.cts.utils.AsyncUtils.DEFAULT_TIMEOUT_MS;
146 DEFAULT_TIMEOUT_MS, in homeScreenOrBust()
201 final long deadlineUptimeMillis = SystemClock.uptimeMillis() + DEFAULT_TIMEOUT_MS; in wakeUpOrBust()
299 }, DEFAULT_TIMEOUT_MS); in launchActivityOnSpecifiedDisplayAndWaitForItToBeOnscreen()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityPaneTest.java22 import static android.accessibilityservice.cts.utils.AsyncUtils.DEFAULT_TIMEOUT_MS;
105 DEFAULT_TIMEOUT_MS); in windowLikeViewSettersWork_andNewValuesReportedToAccessibility() local
120 paneDisappearsFilter, DEFAULT_TIMEOUT_MS); in windowLikeViewVisibility_reportAsWindowStateChanges() local
123 paneAppearsFilter, DEFAULT_TIMEOUT_MS); in windowLikeViewVisibility_reportAsWindowStateChanges() local
126 paneDisappearsFilter, DEFAULT_TIMEOUT_MS); in windowLikeViewVisibility_reportAsWindowStateChanges() local
129 paneAppearsFilter, DEFAULT_TIMEOUT_MS); in windowLikeViewVisibility_reportAsWindowStateChanges() local
DAccessibilityTextTraversalTest.java18 import static android.accessibilityservice.cts.utils.AsyncUtils.DEFAULT_TIMEOUT_MS;
148 }, DEFAULT_TIMEOUT_MS); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
178 }, DEFAULT_TIMEOUT_MS); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
208 }, DEFAULT_TIMEOUT_MS); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
242 }, DEFAULT_TIMEOUT_MS); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
272 }, DEFAULT_TIMEOUT_MS); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
302 }, DEFAULT_TIMEOUT_MS); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
364 }, DEFAULT_TIMEOUT_MS); in testActionNextAndPreviousAtGranularityWordOverContentDescription()
394 }, DEFAULT_TIMEOUT_MS); in testActionNextAndPreviousAtGranularityWordOverContentDescription()
424 }, DEFAULT_TIMEOUT_MS); in testActionNextAndPreviousAtGranularityWordOverContentDescription()
[all …]
DAccessibilityEndToEndTest.java26 import static android.accessibilityservice.cts.utils.AsyncUtils.DEFAULT_TIMEOUT_MS;
205 DEFAULT_TIMEOUT_MS); in testTypeViewSelectedAccessibilityEvent()
243 DEFAULT_TIMEOUT_MS); in testTypeViewClickedAccessibilityEvent()
281 DEFAULT_TIMEOUT_MS); in testTypeViewLongClickedAccessibilityEvent()
305 DEFAULT_TIMEOUT_MS); in testTypeViewFocusedAccessibilityEvent()
336 DEFAULT_TIMEOUT_MS); in testTypeViewTextChangedAccessibilityEvent()
375 DEFAULT_TIMEOUT_MS); in testTypeViewTextChangedAccessibilityEvent()
413 DEFAULT_TIMEOUT_MS); in testTypeWindowStateChangedAccessibilityEvent()
504 DEFAULT_TIMEOUT_MS); in testTypeNotificationStateChangedAccessibilityEvent()
532 waitObject.wait(DEFAULT_TIMEOUT_MS); in testInterrupt_notifiesService()
[all …]
DAccessibilityFocusAndInputFocusSyncTest.java19 import static android.accessibilityservice.cts.utils.AsyncUtils.DEFAULT_TIMEOUT_MS;
160 DEFAULT_TIMEOUT_MS); in testFindAccessibilityFocus() local
196 DEFAULT_TIMEOUT_MS); in testActionAccessibilityFocus() local
219 DEFAULT_TIMEOUT_MS); in testActionClearAccessibilityFocus() local
231 DEFAULT_TIMEOUT_MS); in testActionClearAccessibilityFocus() local
256 DEFAULT_TIMEOUT_MS); in testOnlyOneNodeHasAccessibilityFocus() local
271 DEFAULT_TIMEOUT_MS); in testOnlyOneNodeHasAccessibilityFocus() local
374 DEFAULT_TIMEOUT_MS); in screenshotAfterChangeFocusColor() local
384 DEFAULT_TIMEOUT_MS); in screenshotAfterChangeFocusColor() local
DAccessibilitySystemActionTest.java19 import static android.accessibilityservice.cts.utils.AsyncUtils.DEFAULT_TIMEOUT_MS;
169 if (!latch.await(DEFAULT_TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in assertRegisterAction()
182 if (!latch.await(DEFAULT_TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in assertUnregisterAction()
198 if (!receiverLatch.await(DEFAULT_TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in assertPerformGlobalAction()
DAccessibilityOverlayTest.java94 … }), (event) -> findOverlayWindow(Display.DEFAULT_DISPLAY) != null, AsyncUtils.DEFAULT_TIMEOUT_MS); in testA11yServiceShowsOverlay_shouldAppear()
121 }), (event) -> findOverlayWindow(displayId) != null, AsyncUtils.DEFAULT_TIMEOUT_MS); in testA11yServiceShowsOverlayOnVirtualDisplay_shouldAppear()
DAccessibilityDragAndDropTest.java20 import static android.accessibilityservice.cts.utils.AsyncUtils.DEFAULT_TIMEOUT_MS;
167 DEFAULT_TIMEOUT_MS); in performActionAndWaitForEvent()
DAccessibilityTextActionTest.java18 import static android.accessibilityservice.cts.utils.AsyncUtils.DEFAULT_TIMEOUT_MS;
386 verify(mockRunnableForPrepare, timeout(DEFAULT_TIMEOUT_MS)).run(); in testTextLocations_withRequestPreparer_shouldHoldOffUntilReady()
394 verify(mockRunnableForData, timeout(DEFAULT_TIMEOUT_MS)).run(); in testTextLocations_withRequestPreparer_shouldHoldOffUntilReady()
437 verify(mockRunnableForPrepare, timeout(DEFAULT_TIMEOUT_MS)).run(); in testTextLocations_withUnresponsiveRequestPreparer_shouldTimeout()
440 verify(mockRunnableForData, timeout(DEFAULT_TIMEOUT_MS)).run(); in testTextLocations_withUnresponsiveRequestPreparer_shouldTimeout()
594 long endTime = System.currentTimeMillis() + DEFAULT_TIMEOUT_MS; in assertOnClickCalled()
DAccessibilityEmbeddedHierarchyTest.java20 import static android.accessibilityservice.cts.utils.AsyncUtils.DEFAULT_TIMEOUT_MS;
278 }, DEFAULT_TIMEOUT_MS); in requestNewLayoutForTest()
DAccessibilityTakeScreenshotTest.java23 import static android.accessibilityservice.cts.utils.AsyncUtils.DEFAULT_TIMEOUT_MS;
224 DEFAULT_TIMEOUT_MS); in testTakeScreenshotWithSecureWindow_GetScreenshotAndVerifyBitmap() local
DAccessibilitySoftKeyboardTest.java165 long timeoutTimeMillis = SystemClock.uptimeMillis() + AsyncUtils.DEFAULT_TIMEOUT_MS; in waitForCallbackValueWithLock()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityEventTest.java68 private static final long DEFAULT_TIMEOUT_MS = 1000; field in AccessibilityEventTest
110 sUiAutomation.waitForIdle(IDLE_TIMEOUT_MS, DEFAULT_TIMEOUT_MS); in setUp()
130 () -> mChildView.scrollTo(0, 100), new ScrollEventFilter(1), DEFAULT_TIMEOUT_MS); in testScrollEvent()
143 DEFAULT_TIMEOUT_MS); in testScrollEventBurstCombined()
164 DEFAULT_TIMEOUT_MS); in testScrollEventsDeliveredInCorrectInterval()
195 DEFAULT_TIMEOUT_MS); in testScrollEventsClearedOnDetach()
206 DEFAULT_TIMEOUT_MS); in testScrollEventsClearedOnDetach()
222 DEFAULT_TIMEOUT_MS); in testScrollEventsCaptureTotalDelta()
247 DEFAULT_TIMEOUT_MS); in testScrollEventsClearDeltaAfterSending()
260 DEFAULT_TIMEOUT_MS); in testStateEvent()
[all …]
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DOneTimeSettingsListener.java41 public static final long DEFAULT_TIMEOUT_MS = 30_000; field in OneTimeSettingsListener
80 final boolean updated = mLatch.await(DEFAULT_TIMEOUT_MS, TimeUnit.MILLISECONDS); in assertCalled()
83 "Settings " + mKey + " not called in " + DEFAULT_TIMEOUT_MS + "ms"); in assertCalled()
DOneTimeDeviceConfigListener.java35 public static final long DEFAULT_TIMEOUT_MS = 5_000; field in OneTimeDeviceConfigListener
47 this(namespace, key, DEFAULT_TIMEOUT_MS); in OneTimeDeviceConfigListener()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DPreferentialNetworkServiceTest.java62 private final long DEFAULT_TIMEOUT_MS = 30_000L; field in PreferentialNetworkServiceTest
104 /* validated= */ true, /* blocked= */ false, DEFAULT_TIMEOUT_MS); in setPreferentialNetworkServiceEnabled_enableService_issueRequest()
142 /* validated= */ true, /* blocked= */ false, DEFAULT_TIMEOUT_MS); in setPreferentialNetworkServiceEnabled_disableService_noIssueRequest()
168 new TestableNetworkOfferCallback(DEFAULT_TIMEOUT_MS, NO_CALLBACK_TIMEOUT_MS); in registerEnterpriseNetworkOffer()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DHelper.java139 "SETTINGS_SHELL_CMD_TIMEOUT", OneTimeSettingsListener.DEFAULT_TIMEOUT_MS / 2, 2,
140 OneTimeSettingsListener.DEFAULT_TIMEOUT_MS);