Searched refs:mStreamEventOccurred (Results 1 – 2 of 2) sorted by relevance
72 private final Semaphore mStreamEventOccurred = new Semaphore(0); field in CarEvsManagerTest92 mStreamEventOccurred.drainPermits(); in setUp()179 mStreamEventOccurred.release(); in onStreamEvent()194 if (!mStreamEventOccurred.tryAcquire(STREAM_EVENT_TIMEOUT_SEC, in waitForStreamEvent()
482 private final Semaphore mStreamEventOccurred = new Semaphore(/* permits= */ 0); field in CarEvsManager.CarEvsStreamListenerToService499 mStreamEventOccurred.release(); in onStreamEvent()529 if (!mStreamEventOccurred.tryAcquire(timeoutInSeconds, TimeUnit.SECONDS)) { in waitForStreamEvent()