Searched refs:mListenerCompletionSem (Results 1 – 1 of 1) sorted by relevance
319 private final Semaphore mListenerCompletionSem = new Semaphore(/* permits= */ 0); field in CarPowerManagementService1585 boolean isNotified = mListenerCompletionSem.tryAcquire(waitTimeMs, in waitForCompletionAsync()1587 mListenerCompletionSem.drainPermits(); in waitForCompletionAsync()1631 mListenerCompletionSem.release(); in clearWaitingForCompletion()1696 mListenerCompletionSem.drainPermits(); in sendPowerManagerEvent()2201 mListenerCompletionSem.release(); in removeListenerFromWaitingList()