Home
last modified time | relevance | path

Searched refs:waitLock (Results 1 – 2 of 2) sorted by relevance

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityEndToEndTest.java1681 final Object waitLock = new Object(); in checkIsRequestFromAccessibilityTool() local
1688 synchronized (waitLock) { in checkIsRequestFromAccessibilityTool()
1690 waitLock.notifyAll(); in checkIsRequestFromAccessibilityTool()
1698 TestUtils.waitOn(waitLock, in checkIsRequestFromAccessibilityTool()
1822 final Object waitLock = new Object(); in testDirectAccessibilityConnection_AccessibilityManagerEnabled() local
1826 synchronized (waitLock) { in testDirectAccessibilityConnection_AccessibilityManagerEnabled()
1828 waitLock.notifyAll(); in testDirectAccessibilityConnection_AccessibilityManagerEnabled()
1832 TestUtils.waitOn(waitLock, () -> !hasAnyDirectConnection.get(), DEFAULT_TIMEOUT_MS, in testDirectAccessibilityConnection_AccessibilityManagerEnabled()
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DPinnedStackTests.java1276 final CountDownLatch waitLock = new CountDownLatch(1); in close() local
1282 waitLock.countDown(); in close()
1287 if (!waitLock.await(2, TimeUnit.SECONDS)) { in close()