Searched refs:waitLock (Results 1 – 2 of 2) sorted by relevance
1681 final Object waitLock = new Object(); in checkIsRequestFromAccessibilityTool() local1688 synchronized (waitLock) { in checkIsRequestFromAccessibilityTool()1690 waitLock.notifyAll(); in checkIsRequestFromAccessibilityTool()1698 TestUtils.waitOn(waitLock, in checkIsRequestFromAccessibilityTool()1822 final Object waitLock = new Object(); in testDirectAccessibilityConnection_AccessibilityManagerEnabled() local1826 synchronized (waitLock) { in testDirectAccessibilityConnection_AccessibilityManagerEnabled()1828 waitLock.notifyAll(); in testDirectAccessibilityConnection_AccessibilityManagerEnabled()1832 TestUtils.waitOn(waitLock, () -> !hasAnyDirectConnection.get(), DEFAULT_TIMEOUT_MS, in testDirectAccessibilityConnection_AccessibilityManagerEnabled()
1276 final CountDownLatch waitLock = new CountDownLatch(1); in close() local1282 waitLock.countDown(); in close()1287 if (!waitLock.await(2, TimeUnit.SECONDS)) { in close()