Searched refs:waitObject (Results 1 – 2 of 2) sorted by relevance
262 final Semaphore waitObject = tryRegisterEvent(event); in onEvent() local263 if (waitObject != null) { in onEvent()264 waitUntilCanRegister(event, waitObject); in onEvent()368 final Semaphore waitObject = new Semaphore(0); in createWaitObjectForPostponedEventLocked() local370 mPostponedEvents.put(event, waitObject); in createWaitObjectForPostponedEventLocked()371 return waitObject; in createWaitObjectForPostponedEventLocked()374 private void waitUntilCanRegister(String event, Semaphore waitObject) { in waitUntilCanRegister() argument377 waitObject.tryAcquire(LONG_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in waitUntilCanRegister()
1703 synchronized (waitObject) { in onHalting()1704 waitObject.notifyAll(); in onHalting()1713 private static Object waitObject = new Object(); field in StateMachineTest1731 synchronized (waitObject) { in testStateMachineSharedThread()1741 waitObject.wait(); in testStateMachineSharedThread()