Searched refs:mChangeWait (Results 1 – 2 of 2) sorted by relevance
67 private final Semaphore mChangeWait = new Semaphore(0); field in AppFocusTest.FocusChangedListener71 if (!mChangeWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) { in waitForFocusChangeAndAssert()80 mChangeWait.drainPermits(); in resetWait()88 mChangeWait.release(); in onAppFocusChanged()
321 private volatile Semaphore mChangeWait = new Semaphore(0); field in CarAppFocusManagerTest.FocusChangedListener325 if (!mChangeWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) { in waitForFocusChangeAndAssert()336 mChangeWait.drainPermits(); in reset()344 mChangeWait.release(); in onAppFocusChanged()