Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_test/src/com/android/car/
DAppFocusTest.java67 private final Semaphore mChangeWait = new Semaphore(0); field in AppFocusTest.FocusChangedListener
71 if (!mChangeWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) { in waitForFocusChangeAndAssert()
80 mChangeWait.drainPermits(); in resetWait()
88 mChangeWait.release(); in onAppFocusChanged()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarAppFocusManagerTest.java321 private volatile Semaphore mChangeWait = new Semaphore(0); field in CarAppFocusManagerTest.FocusChangedListener
325 if (!mChangeWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) { in waitForFocusChangeAndAssert()
336 mChangeWait.drainPermits(); in reset()
344 mChangeWait.release(); in onAppFocusChanged()