Searched refs:mChangeWait (Results 1 – 2 of 2) sorted by relevance
59 private final Semaphore mChangeWait = new Semaphore(0); field in AppFocusTest.FocusChangedListener63 if (!mChangeWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) { in waitForFocusChangeAndAssert()72 mChangeWait.drainPermits(); in resetWait()80 mChangeWait.release(); in onAppFocusChanged()
305 private volatile Semaphore mChangeWait = new Semaphore(0); field in CarAppFocusManagerTest.FocusChangedListener310 if (!mChangeWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) { in waitForFocusChangeAndAssert()322 mChangeWait.drainPermits(); in reset()330 mChangeWait.release(); in onAppFocusChanged()