Home
last modified time | relevance | path

Searched refs:DEFAULT_TIMEOUT_MS (Results 1 – 17 of 17) 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.java17 import static android.accessibilityservice.cts.utils.AsyncUtils.DEFAULT_TIMEOUT_MS;
96 }, DEFAULT_TIMEOUT_MS); in launchActivityAndWaitForItToBeOnscreen()
132 DEFAULT_TIMEOUT_MS, in homeScreenOrBust()
182 final long deadlineUptimeMillis = SystemClock.uptimeMillis() + DEFAULT_TIMEOUT_MS; in wakeUpOrBust()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityPaneTest.java22 import static android.accessibilityservice.cts.utils.AsyncUtils.DEFAULT_TIMEOUT_MS;
96 DEFAULT_TIMEOUT_MS); in windowLikeViewSettersWork_andNewValuesReportedToAccessibility() local
111 paneDisappearsFilter, DEFAULT_TIMEOUT_MS); in windowLikeViewVisibility_reportAsWindowStateChanges() local
114 paneAppearsFilter, DEFAULT_TIMEOUT_MS); in windowLikeViewVisibility_reportAsWindowStateChanges() local
117 paneDisappearsFilter, DEFAULT_TIMEOUT_MS); in windowLikeViewVisibility_reportAsWindowStateChanges() local
120 paneAppearsFilter, DEFAULT_TIMEOUT_MS); in windowLikeViewVisibility_reportAsWindowStateChanges() local
DAccessibilityTextTraversalTest.java18 import static android.accessibilityservice.cts.utils.AsyncUtils.DEFAULT_TIMEOUT_MS;
140 }, DEFAULT_TIMEOUT_MS); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
170 }, DEFAULT_TIMEOUT_MS); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
200 }, DEFAULT_TIMEOUT_MS); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
234 }, DEFAULT_TIMEOUT_MS); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
264 }, DEFAULT_TIMEOUT_MS); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
294 }, DEFAULT_TIMEOUT_MS); in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
356 }, DEFAULT_TIMEOUT_MS); in testActionNextAndPreviousAtGranularityWordOverContentDescription()
386 }, DEFAULT_TIMEOUT_MS); in testActionNextAndPreviousAtGranularityWordOverContentDescription()
416 }, DEFAULT_TIMEOUT_MS); in testActionNextAndPreviousAtGranularityWordOverContentDescription()
[all …]
DAccessibilityEndToEndTest.java24 import static android.accessibilityservice.cts.utils.AsyncUtils.DEFAULT_TIMEOUT_MS;
194 DEFAULT_TIMEOUT_MS); in testTypeViewSelectedAccessibilityEvent()
232 DEFAULT_TIMEOUT_MS); in testTypeViewClickedAccessibilityEvent()
270 DEFAULT_TIMEOUT_MS); in testTypeViewLongClickedAccessibilityEvent()
294 DEFAULT_TIMEOUT_MS); in testTypeViewFocusedAccessibilityEvent()
325 DEFAULT_TIMEOUT_MS); in testTypeViewTextChangedAccessibilityEvent()
364 DEFAULT_TIMEOUT_MS); in testTypeViewTextChangedAccessibilityEvent()
402 DEFAULT_TIMEOUT_MS); in testTypeWindowStateChangedAccessibilityEvent()
493 DEFAULT_TIMEOUT_MS); in testTypeNotificationStateChangedAccessibilityEvent()
520 waitObject.wait(DEFAULT_TIMEOUT_MS); in testInterrupt_notifiesService()
[all …]
DAccessibilityFocusAndInputFocusSyncTest.java18 import static android.accessibilityservice.cts.utils.AsyncUtils.DEFAULT_TIMEOUT_MS;
112 DEFAULT_TIMEOUT_MS); in testFindAccessibilityFocus() local
148 DEFAULT_TIMEOUT_MS); in testActionAccessibilityFocus() local
171 DEFAULT_TIMEOUT_MS); in testActionClearAccessibilityFocus() local
183 DEFAULT_TIMEOUT_MS); in testActionClearAccessibilityFocus() local
208 DEFAULT_TIMEOUT_MS); in testOnlyOneNodeHasAccessibilityFocus() local
223 DEFAULT_TIMEOUT_MS); in testOnlyOneNodeHasAccessibilityFocus() local
DAccessibilityWindowQueryTest.java22 import static android.accessibilityservice.cts.utils.AsyncUtils.DEFAULT_TIMEOUT_MS;
204 filterForEventType(TYPE_VIEW_CLICKED), DEFAULT_TIMEOUT_MS); in testNoWindowsAccessIfFlagNotSet()
256 filterForEventType(TYPE_VIEW_CLICKED), DEFAULT_TIMEOUT_MS); in testTraverseWindowFromEvent()
292 filterForEventType(TYPE_VIEW_CLICKED), DEFAULT_TIMEOUT_MS); in testInteractWithAppWindow()
304 filterForEventType(TYPE_VIEW_CLICKED), DEFAULT_TIMEOUT_MS); in testInteractWithAppWindow() local
432 filterForEventType(TYPE_VIEW_CLICKED), DEFAULT_TIMEOUT_MS); in testPerformActionClick()
450 filterForEventType(TYPE_VIEW_LONG_CLICKED), DEFAULT_TIMEOUT_MS); in testPerformActionLongClick()
491 filterForEventType(TYPE_VIEW_FOCUSED), DEFAULT_TIMEOUT_MS); in testGetEventSource()
580 DEFAULT_TIMEOUT_MS); in testWindowDockAndUndock_dividerWindowAppearsAndDisappears()
583 DEFAULT_TIMEOUT_MS); in testWindowDockAndUndock_dividerWindowAppearsAndDisappears()
[all …]
DAccessibilityTextActionTest.java18 import static android.accessibilityservice.cts.utils.AsyncUtils.DEFAULT_TIMEOUT_MS;
350 verify(mockRunnableForPrepare, timeout(DEFAULT_TIMEOUT_MS)).run(); in testTextLocations_withRequestPreparer_shouldHoldOffUntilReady()
358 verify(mockRunnableForData, timeout(DEFAULT_TIMEOUT_MS)).run(); in testTextLocations_withRequestPreparer_shouldHoldOffUntilReady()
401 verify(mockRunnableForPrepare, timeout(DEFAULT_TIMEOUT_MS)).run(); in testTextLocations_withUnresponsiveRequestPreparer_shouldTimeout()
404 verify(mockRunnableForData, timeout(DEFAULT_TIMEOUT_MS)).run(); in testTextLocations_withUnresponsiveRequestPreparer_shouldTimeout()
440 long endTime = System.currentTimeMillis() + DEFAULT_TIMEOUT_MS; in assertOnClickCalled()
DAccessibilityOverlayTest.java87 }), (event) -> findOverlayWindow() != null, AsyncUtils.DEFAULT_TIMEOUT_MS); in testA11yServiceShowsOverlay_shouldAppear()
DAccessibilitySoftKeyboardModesTest.java131 long timeoutTimeMillis = SystemClock.uptimeMillis() + AsyncUtils.DEFAULT_TIMEOUT_MS; in waitForCallbackValueWithLock()
/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.java36 public static final long DEFAULT_TIMEOUT_MS = 5_000; field in OneTimeDeviceConfigListener
48 this(namespace, key, DEFAULT_TIMEOUT_MS); in OneTimeDeviceConfigListener()
/cts/common/device-side/util/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.java36 public static final long DEFAULT_TIMEOUT_MS = 5_000; field in OneTimeDeviceConfigListener
48 this(namespace, key, DEFAULT_TIMEOUT_MS); in OneTimeDeviceConfigListener()
/cts/tests/tests/net/src/android/net/cts/
DNetworkAgentTest.kt87 private const val DEFAULT_TIMEOUT_MS = 5000L in <lambda>() constant
177 assertNotNull(msgHistory.poll(DEFAULT_TIMEOUT_MS) { it.what == what }) in connect()
278 val foundCallback = history.poll(DEFAULT_TIMEOUT_MS) in willExpectDisconnectOnce()
284 assertTrue(waitForIdle(DEFAULT_TIMEOUT_MS), in willExpectDisconnectOnce()
330 val callback = TestableNetworkCallback(timeoutMs = DEFAULT_TIMEOUT_MS) in createConnectedNetworkAgent()
376 TestableNetworkCallback(DEFAULT_TIMEOUT_MS).also { in testSignalStrengthThresholds()
498 val callback1 = TestableNetworkCallback(timeoutMs = DEFAULT_TIMEOUT_MS) in testSendScore()
499 val callback2 = TestableNetworkCallback(timeoutMs = DEFAULT_TIMEOUT_MS) in testSendScore()
508 val callback = TestableNetworkCallback(timeoutMs = DEFAULT_TIMEOUT_MS) in testSendScore()
605 val callback1 = TestableNetworkCallback(timeoutMs = DEFAULT_TIMEOUT_MS).also { in testTemporarilyUnmeteredCapability()
[all …]
/cts/tests/tests/tethering/src/android/tethering/cts/
DTetheringManagerTest.java104 private static final int DEFAULT_TIMEOUT_MS = 60_000; field in TetheringManagerTest
152 if (!mWaiting.block(DEFAULT_TIMEOUT_MS)) { in waitForSoftApStopped()
209 final TetherState state = pollAndAssertNoError(DEFAULT_TIMEOUT_MS, ifaceRegexs); in expectTethering()
695 assertEquals(expect, listener.get(DEFAULT_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in assertEntitlementResult()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DHelper.java123 "SETTINGS_SHELL_CMD_TIMEOUT", OneTimeSettingsListener.DEFAULT_TIMEOUT_MS / 2, 2,
124 OneTimeSettingsListener.DEFAULT_TIMEOUT_MS);