Home
last modified time | relevance | path

Searched refs:waitObject (Results 1 – 3 of 3) sorted by relevance

/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityManagerTest.java294 final Object waitObject = new Object(); in testTouchExplorationListenerNoHandler() local
298 synchronized (waitObject) { in testTouchExplorationListenerNoHandler()
300 waitObject.notifyAll(); in testTouchExplorationListenerNoHandler()
306 assertAtomicBooleanBecomes(atomicBoolean, true, waitObject, in testTouchExplorationListenerNoHandler()
311 assertAtomicBooleanBecomes(atomicBoolean, false, waitObject, in testTouchExplorationListenerNoHandler()
320 final Object waitObject = new Object(); in testTouchExplorationListenerWithHandler() local
324 synchronized (waitObject) { in testTouchExplorationListenerWithHandler()
326 waitObject.notifyAll(); in testTouchExplorationListenerWithHandler()
332 assertAtomicBooleanBecomes(atomicBoolean, true, waitObject, in testTouchExplorationListenerWithHandler()
337 assertAtomicBooleanBecomes(atomicBoolean, false, waitObject, in testTouchExplorationListenerWithHandler()
[all …]
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DActivityLaunchUtils.java216 final Object waitObject = new Object(); in executeAndWaitOn() local
223 synchronized (waitObject) { in executeAndWaitOn()
224 waitObject.notifyAll(); in executeAndWaitOn()
228 TestUtils.waitOn(waitObject, condition, timeoutMillis, conditionName); in executeAndWaitOn()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityEndToEndTest.java516 Object waitObject = service.getInterruptWaitObject(); in testInterrupt_notifiesService() local
517 synchronized (waitObject) { in testInterrupt_notifiesService()
520 waitObject.wait(DEFAULT_TIMEOUT_MS); in testInterrupt_notifiesService()
982 final Object waitObject = new Object(); in enableTouchExploration() local
985 synchronized (waitObject) { in enableTouchExploration()
987 waitObject.notifyAll(); in enableTouchExploration()
1006 synchronized (waitObject) { in enableTouchExploration()
1008 waitObject.wait(timeoutTime - System.currentTimeMillis()); in enableTouchExploration()