Searched refs:mLossEventWait (Results 1 – 2 of 2) sorted by relevance
87 private final Semaphore mLossEventWait = new Semaphore(0); field in AppFocusTest.FocusOwnershipCallback94 if (!mLossEventWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) { in waitForOwnershipLossAndAssert()114 mLossEventWait.release(); in onAppFocusOwnershipLost()
337 private final Semaphore mLossEventWait = new Semaphore(0); field in CarAppFocusManagerTest.FocusOwnershipCallback352 if (!mLossEventWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) { in waitForOwnershipLossAndAssert()375 mLossEventWait.release(); in onAppFocusOwnershipLost()