Searched refs:EVENT_WAIT_TIME (Results 1 – 1 of 1) sorted by relevance
75 private static final long EVENT_WAIT_TIME = 5_000; field in CarInputManagerTest.CaptureCallback156 assertWithMessage("Failed to acquire semaphore in %s ms", EVENT_WAIT_TIME).that( in waitForStateChange()157 mStateChangeWait.tryAcquire(EVENT_WAIT_TIME, TimeUnit.MILLISECONDS)).isTrue(); in waitForStateChange()161 assertWithMessage("Failed to acquire semaphore in %s ms", EVENT_WAIT_TIME).that( in waitForKeyEvent()162 mKeyEventWait.tryAcquire(EVENT_WAIT_TIME, TimeUnit.MILLISECONDS)).isTrue(); in waitForKeyEvent()166 assertWithMessage("Failed to acquire semaphore in %s ms", EVENT_WAIT_TIME).that( in waitForRotaryEvent()167 mRotaryEventWait.tryAcquire(EVENT_WAIT_TIME, TimeUnit.MILLISECONDS)).isTrue(); in waitForRotaryEvent()171 assertWithMessage("Failed to acquire semaphore in %s ms", EVENT_WAIT_TIME).that( in waitForCustomInputEvent()173 EVENT_WAIT_TIME, TimeUnit.MILLISECONDS)).isTrue(); in waitForCustomInputEvent()