Searched refs:mGrantEventWait (Results 1 – 2 of 2) sorted by relevance
90 private final Semaphore mGrantEventWait = new Semaphore(0); field in AppFocusTest.FocusOwnershipCallback103 if (!mGrantEventWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) { in waitForOwnershipGrantAndAssert()121 mGrantEventWait.release(); in onAppFocusOwnershipGranted()
339 private final Semaphore mGrantEventWait = new Semaphore(0); field in CarAppFocusManagerTest.FocusOwnershipCallback361 if (!mGrantEventWait.tryAcquire(timeoutMs, TimeUnit.MILLISECONDS)) { in waitForOwnershipGrantAndAssert()382 mGrantEventWait.release(); in onAppFocusOwnershipGranted()