/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityManagerTest.java | 423 final Object waitObject = new Object(); in testTouchExplorationListenerNoHandler() local 427 synchronized (waitObject) { in testTouchExplorationListenerNoHandler() 429 waitObject.notifyAll(); in testTouchExplorationListenerNoHandler() 435 waitForAtomicBooleanBecomes(atomicBoolean, true, waitObject, in testTouchExplorationListenerNoHandler() 440 waitForAtomicBooleanBecomes(atomicBoolean, false, waitObject, in testTouchExplorationListenerNoHandler() 449 final Object waitObject = new Object(); in testTouchExplorationListenerWithHandler() local 453 synchronized (waitObject) { in testTouchExplorationListenerWithHandler() 455 waitObject.notifyAll(); in testTouchExplorationListenerWithHandler() 461 waitForAtomicBooleanBecomes(atomicBoolean, true, waitObject, in testTouchExplorationListenerWithHandler() 466 waitForAtomicBooleanBecomes(atomicBoolean, false, waitObject, in testTouchExplorationListenerWithHandler() [all …]
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | StubMotionInterceptingAccessibilityService.java | 79 final Object waitObject = new Object(); in setAndAwaitMotionEventSources() local 82 synchronized (waitObject) { in setAndAwaitMotionEventSources() 86 waitObject.notifyAll(); in setAndAwaitMotionEventSources() 96 TestUtils.waitOn(waitObject, foundCanaryEvent::get, in setAndAwaitMotionEventSources() 111 final Object waitObject = new Object(); in injectAndAwaitMotionEvent() local 114 synchronized (waitObject) { in injectAndAwaitMotionEvent() 118 waitObject.notifyAll(); in injectAndAwaitMotionEvent() 122 TestUtils.waitOn(waitObject, gotEvent::get, timeoutMs, in injectAndAwaitMotionEvent()
|
D | AccessibilityEndToEndTest.java | 622 Object waitObject = service.getInterruptWaitObject(); in testInterrupt_notifiesService() local 623 synchronized (waitObject) { in testInterrupt_notifiesService() 626 waitObject.wait(DEFAULT_TIMEOUT_MS); in testInterrupt_notifiesService() 2103 final Object waitObject = new Object(); in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents() local 2107 synchronized (waitObject) { in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents() 2111 waitObject.notifyAll(); in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents() 2136 waitObject, in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents() 2159 waitObject, in testOnMotionEvent_interceptsEventFromRequestedSource_observesMotionEvents() 2195 final Object waitObject = new Object(); in testMotionEventObserving_ignoresTouchscreenEventWhenTouchExplorationEnabled() local 2199 synchronized (waitObject) { in testMotionEventObserving_ignoresTouchscreenEventWhenTouchExplorationEnabled() [all …]
|
D | BrailleDisplayControllerTest.java | 813 Object waitObject = new Object(); in onInput() local 819 synchronized (waitObject) { in onInput() 821 waitObject.notifyAll(); in onInput() 832 TestUtils.waitOn(waitObject, () -> receivedInputBytes.size() == 2, in onInput()
|
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/app/ |
D | DisplayUtils.java | 75 Object waitObject = new Object(); in createDisplayWithDefaultDisplayMetricsAndWait() local 79 synchronized (waitObject) { in createDisplayWithDefaultDisplayMetricsAndWait() 80 waitObject.notifyAll(); in createDisplayWithDefaultDisplayMetricsAndWait() 104 TestUtils.waitOn(waitObject, in createDisplayWithDefaultDisplayMetricsAndWait()
|
/cts/tests/tests/car/src/android/car/cts/utils/ |
D | DisplayUtils.java | 102 Object waitObject = new Object(); in createDisplayWithDefaultDisplayMetricsAndWait() local 106 synchronized (waitObject) { in createDisplayWithDefaultDisplayMetricsAndWait() 107 waitObject.notifyAll(); in createDisplayWithDefaultDisplayMetricsAndWait() 131 TestUtils.waitOn(waitObject, in createDisplayWithDefaultDisplayMetricsAndWait()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | DisplayUtils.java | 135 final Object waitObject = new Object(); in createDisplayWithDefaultDisplayMetricsAndWait() local 139 synchronized (waitObject) { in createDisplayWithDefaultDisplayMetricsAndWait() 140 waitObject.notifyAll(); in createDisplayWithDefaultDisplayMetricsAndWait() 162 TestUtils.waitOn(waitObject, in createDisplayWithDefaultDisplayMetricsAndWait()
|
/cts/tests/app/src/android/app/cts/ |
D | UiModeManagerTest.java | 808 final Object waitObject = new Object(); in testAddContrastChangeListener() local 824 synchronized (waitObject) { in testAddContrastChangeListener() 834 waitObject.notifyAll(); in testAddContrastChangeListener() 840 waitForAtomicBooleanBecomes(atomicBoolean, true, waitObject, in testAddContrastChangeListener() 855 final Object waitObject = new Object(); in testRemoveContrastChangeListener() local 862 synchronized (waitObject) { in testRemoveContrastChangeListener() 864 waitObject.notifyAll(); in testRemoveContrastChangeListener() 879 waitForAtomicBooleanBecomes(atomicBoolean, true, waitObject, in testRemoveContrastChangeListener() 1046 boolean expectedValue, Object waitObject, String condition) { in waitForAtomicBooleanBecomes() argument 1047 TestUtils.waitOn(waitObject, () -> atomicBoolean.get() == expectedValue, in waitForAtomicBooleanBecomes()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | NumberPickerTest.java | 632 Object waitObject = new Object(); in waitForAccessibilityEnabled() local 634 synchronized (waitObject) { in waitForAccessibilityEnabled() 636 waitObject.notify(); in waitForAccessibilityEnabled() 643 synchronized (waitObject) { in waitForAccessibilityEnabled() 645 waitObject.wait(5000); in waitForAccessibilityEnabled()
|