Searched refs:WAIT_TIMEOUT_MS (Results 1 – 2 of 2) sorted by relevance
93 private static final long WAIT_TIMEOUT_MS = 2000; field in CarPowerManagementServiceTest201 mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS); in testDisplayOn()207 assertThat(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)).isTrue(); in testDisplayOn()216 assertThat(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)).isTrue(); in testShutdown()225 assertThat(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)).isFalse(); in testShutdown()226 mPowerSignalListener.waitForShutdown(WAIT_TIMEOUT_MS); in testShutdown()227 mSystemStateInterface.waitForShutdown(WAIT_TIMEOUT_MS); in testShutdown()236 assertThat(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)).isTrue(); in testSuspend()253 assertThat(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)).isTrue(); in testShutdownOnSuspend()264 mPowerSignalListener.waitForShutdown(WAIT_TIMEOUT_MS); in testShutdownOnSuspend()[all …]
51 private static final long WAIT_TIMEOUT_MS = 1000; field in AudioPolicyTest64 assertTrue(mWaitSemaphore.tryAcquire(WAIT_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in setUp()