Searched refs:waitingSemaphore (Results 1 – 1 of 1) sorted by relevance
668 final Semaphore waitingSemaphore = new Semaphore(0); in testSetLocalFocus() local678 waitingSemaphore.release(); in testSetLocalFocus()692 assertTrue(waitingSemaphore.tryAcquire(5, TimeUnit.SECONDS)); in testSetLocalFocus()744 waitingSemaphore.release(); in testSetLocalFocus()754 assertTrue(waitingSemaphore.tryAcquire(5, TimeUnit.SECONDS)); in testSetLocalFocus()