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.java59 private final Semaphore mChangeWait = new Semaphore(0); field in AppFocusTest.FocusChangedListener
63 if (!mChangeWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) { in waitForFocusChangeAndAssert()
72 mChangeWait.drainPermits(); in resetWait()
80 mChangeWait.release(); in onAppFocusChanged()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarAppFocusManagerTest.java305 private volatile Semaphore mChangeWait = new Semaphore(0); field in CarAppFocusManagerTest.FocusChangedListener
310 if (!mChangeWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) { in waitForFocusChangeAndAssert()
322 mChangeWait.drainPermits(); in reset()
330 mChangeWait.release(); in onAppFocusChanged()