/cts/tests/accessibility/common/src/android/accessibility/cts/common/ |
D | ServiceControlUtils.java | 19 import static com.android.compatibility.common.util.TestUtils.waitOn; 57 waitOn(lock, condition, timeoutMs, conditionName); in waitForConditionWithServiceStateChange()
|
D | InstrumentedAccessibilityService.java | 19 import static com.android.compatibility.common.util.TestUtils.waitOn; 291 waitOn(waitLockForA11yOff, () -> !accessibilityEnabled.get(), TIMEOUT_SERVICE_ENABLE, in disableAllServices()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | AsyncUtils.java | 72 public static void waitOn(Object notifyLock, BooleanSupplier condition) { in waitOn() method in AsyncUtils 73 TestUtils.waitOn(notifyLock, condition, DEFAULT_TIMEOUT_MS, null); in waitOn()
|
D | DisplayUtils.java | 162 TestUtils.waitOn(waitObject, in createDisplayWithDefaultDisplayMetricsAndWait()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | FullScreenMagnificationGestureHandlerTest.java | 20 import static android.accessibilityservice.cts.utils.AsyncUtils.waitOn; 271 waitOn(mZoomLock, () -> !isZoomed()); in testViewportDragging() 314 waitOn(mZoomLock, in testPanning() 354 waitOn(mZoomLock, () -> !isZoomed()); in testTapNavigationBar_zoomingAndFlagsOff_zoomOut() 370 waitOn(mZoomLock, () -> !isZoomed()); in testSwipeUpFromNavigationBar_zooming_zoomOut() 379 waitOn(mZoomLock, () -> { in setZoomByTripleTapping() 398 waitOn(mZoomLock, () -> distance(mCurrentZoomCenter, oldCenter) >= mPan / 5); in tripleTapAndDragViewport() 411 waitOn(mZoomLock, () -> isZoomed()); in tripleTapAndHold()
|
D | StubMotionInterceptingAccessibilityService.java | 96 TestUtils.waitOn(waitObject, foundCanaryEvent::get, in setAndAwaitMotionEventSources() 122 TestUtils.waitOn(waitObject, gotEvent::get, timeoutMs, in injectAndAwaitMotionEvent()
|
D | AccessibilityDisplayProxyTest.java | 60 import static com.android.compatibility.common.util.TestUtils.waitOn; 553 waitOn(mA11yProxy.mWaitObject, ()-> mA11yProxy.mReceivedEvent.get(), TIMEOUT_MS, in testOnAccessibilityEvent_clickButton_proxyReceivesClickEvent() 767 waitOn(mA11yProxy.mWaitObject, ()-> mA11yProxy.mReceivedEvent.get(), 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() 910 waitOn(mA11yProxy.mWaitObject, ()-> mA11yProxy.mReceivedEvent.get(), in testOnA11yEvent_touchProxyDisplay_proxyDoesNotReceiveInteractionEvent() 982 waitOn(listener.mWaitObject, () -> listener.mAtomicBoolean.get(), TIMEOUT_MS, in onAccessibilityServicesStateChanged_updateProxyEnabledList_notifiesProxiedApp() 1011 waitOn(listener.mWaitObject, () -> listener.mAtomicBoolean.get(), TIMEOUT_MS, in onAccessibilityServicesStateChanged_updateProxyEnabledList_closeVirtualDevice_notifiesProxiedApp() 1039 waitOn(listener.mWaitObject, ()-> !listener.mAtomicBoolean.get(), TIMEOUT_MS, in onAccessibilityStateChanged_registerProxy_isCalledForProxiedApp() 1045 waitOn(listener.mWaitObject, ()-> listener.mAtomicBoolean.get(), TIMEOUT_MS, in onAccessibilityStateChanged_registerProxy_isCalledForProxiedApp() [all …]
|
D | TouchExplorationStubAccessibilityService.java | 49 TestUtils.waitOn(mLock, () -> mCollectedEvents.contains(TYPE_VIEW_ACCESSIBILITY_FOCUSED), in waitForAccessibilityFocus()
|
D | StubEventCapturingAccessibilityService.java | 62 TestUtils.waitOn(mWaitObject, mReceivedEvent::get, timeoutMs, condition); in waitOnEvent()
|
D | BrailleDisplayControllerTest.java | 250 TestUtils.waitOn(mDeviceWaitObject, () -> { in cleanup() 317 TestUtils.waitOn(mDeviceWaitObject, () -> { in createTestHidrawNode() 740 TestUtils.waitOn(mDeviceWaitObject, () -> { in connect_allowsReconnectionAfterDisconnect() 832 TestUtils.waitOn(waitObject, () -> receivedInputBytes.size() == 2, in onInput()
|
D | AccessibilityEndToEndTest.java | 1698 TestUtils.waitOn(waitLock, in checkIsRequestFromAccessibilityTool() 1832 TestUtils.waitOn(waitLock, () -> !hasAnyDirectConnection.get(), DEFAULT_TIMEOUT_MS, in testDirectAccessibilityConnection_AccessibilityManagerEnabled() 2135 TestUtils.waitOn( in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents() 2158 TestUtils.waitOn( in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents()
|
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/ |
D | UiAutomationTest.java | 52 import static com.android.compatibility.common.util.TestUtils.waitOn; 401 waitOn(waitLockForA11yOff, () -> !enabled.get(), TIMEOUT_FOR_LISTENER_NOTIFIED_MS, in testOnA11yStateChanged_dontUseAccessibilityFlag_notifiesAppA11yIsOff() 427 waitOn(waitLockForA11yChange, () -> !enabled.get(), TIMEOUT_FOR_LISTENER_NOTIFIED_MS, in testOnA11yStateChanged_removeDontUseAccessibilityFlag_turnsA11yBackOn() 430 waitOn(waitLockForA11yChange, () -> enabled.get(), TIMEOUT_FOR_LISTENER_NOTIFIED_MS, in testOnA11yStateChanged_removeDontUseAccessibilityFlag_turnsA11yBackOn() 612 waitOn(waitLockForA11yOn, () -> enabled.get(), TIMEOUT_FOR_LISTENER_NOTIFIED_MS, in enableAccessibilityWithAutomationIfNeeded()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | TestUtils.java | 107 public static void waitOn(Object notifyLock, BooleanSupplier condition, in waitOn() method in TestUtils
|
/cts/libs/input/src/com/android/cts/input/ |
D | UinputTouchDevice.kt | 28 import com.android.compatibility.common.util.TestUtils.waitOn 167 waitOn( in waitForDeviceUpdatesUntil()
|
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/app/ |
D | DisplayUtils.java | 104 TestUtils.waitOn(waitObject, in createDisplayWithDefaultDisplayMetricsAndWait()
|
/cts/tests/tests/car/src/android/car/cts/utils/ |
D | DisplayUtils.java | 131 TestUtils.waitOn(waitObject, in createDisplayWithDefaultDisplayMetricsAndWait()
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityShortcutTest.java | 271 TestUtils.waitOn(clicked, () -> clicked.get(), TIMEOUT_SERVICE_ENABLE, in performShortcutAndWaitForA11yButtonClicked()
|
D | AccessibilityManagerTest.java | 689 TestUtils.waitOn(waitObject, () -> atomicBoolean.get() == expectedValue, timeoutTime, in waitForAtomicBooleanBecomes()
|
/cts/tests/tests/widget29/src/android/widget/cts29/ |
D | ToastTest.java | 289 TestUtils.waitOn(lock, in waitForA11yRecommendedTimeoutChanged()
|
/cts/tests/app/src/android/app/cts/ |
D | UiModeManagerTest.java | 1047 TestUtils.waitOn(waitObject, () -> atomicBoolean.get() == expectedValue, in waitForAtomicBooleanBecomes()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ToastTest.java | 573 TestUtils.waitOn(lock, in waitForA11yRecommendedTimeoutChanged()
|