Searched refs:mGrantEventWait (Results 1 – 2 of 2) sorted by relevance
96 private final Semaphore mGrantEventWait = new Semaphore(0); field in AppFocusTest.FocusOwnershipCallback109 if (!mGrantEventWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) { in waitForOwnershipGrantAndAssert()127 mGrantEventWait.release(); in onAppFocusOwnershipGranted()
359 private final Semaphore mGrantEventWait = new Semaphore(0); field in CarAppFocusManagerTest.FocusOwnershipCallback381 if (!mGrantEventWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) { in waitForOwnershipGrantAndAssert()402 mGrantEventWait.release(); in onAppFocusOwnershipGranted()