Searched refs:atomicBoolean (Results 1 – 3 of 3) sorted by relevance
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityManagerTest.java | 424 final AtomicBoolean atomicBoolean = new AtomicBoolean(false); in testTouchExplorationListenerNoHandler() local 428 atomicBoolean.set(b); in testTouchExplorationListenerNoHandler() 435 waitForAtomicBooleanBecomes(atomicBoolean, true, waitObject, in testTouchExplorationListenerNoHandler() 440 waitForAtomicBooleanBecomes(atomicBoolean, false, waitObject, in testTouchExplorationListenerNoHandler() 450 final AtomicBoolean atomicBoolean = new AtomicBoolean(false); in testTouchExplorationListenerWithHandler() local 454 atomicBoolean.set(b); in testTouchExplorationListenerWithHandler() 461 waitForAtomicBooleanBecomes(atomicBoolean, true, waitObject, in testTouchExplorationListenerWithHandler() 466 waitForAtomicBooleanBecomes(atomicBoolean, false, waitObject, in testTouchExplorationListenerWithHandler() 520 final AtomicBoolean atomicBoolean = new AtomicBoolean(false); in testAccessibilityStateListenerNoHandler() local 524 atomicBoolean.set(b); in testAccessibilityStateListenerNoHandler() [all …]
|
/cts/tests/app/src/android/app/cts/ |
D | UiModeManagerTest.java | 813 final AtomicBoolean atomicBoolean = new AtomicBoolean(false); in testAddContrastChangeListener() local 833 atomicBoolean.set(true); in testAddContrastChangeListener() 840 waitForAtomicBooleanBecomes(atomicBoolean, true, waitObject, in testAddContrastChangeListener() 859 final AtomicBoolean atomicBoolean = new AtomicBoolean(false); in testRemoveContrastChangeListener() local 863 atomicBoolean.set(true); in testRemoveContrastChangeListener() 879 waitForAtomicBooleanBecomes(atomicBoolean, true, waitObject, in testRemoveContrastChangeListener() 1045 private void waitForAtomicBooleanBecomes(AtomicBoolean atomicBoolean, in waitForAtomicBooleanBecomes() argument 1047 TestUtils.waitOn(waitObject, () -> atomicBoolean.get() == expectedValue, in waitForAtomicBooleanBecomes()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityEndToEndTest.java | 2358 final AtomicBoolean atomicBoolean = new AtomicBoolean(!enabled); in enableTouchExploration() local 2361 atomicBoolean.set(b); in enableTouchExploration() 2381 while ((enabled != atomicBoolean.get()) && (System.currentTimeMillis() < timeoutTime)) { in enableTouchExploration() 2387 atomicBoolean.get()); in enableTouchExploration() 2392 atomicBoolean.get()); in enableTouchExploration()
|