Home
last modified time | relevance | path

Searched refs:WAIT_TIMEOUT_MS (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarPowerManagementServiceTest.java93 private static final long WAIT_TIMEOUT_MS = 2000; field in CarPowerManagementServiceTest
201 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 …]
/packages/services/Car/tests/carservice_test/src/android/media/tests/
DAudioPolicyTest.java51 private static final long WAIT_TIMEOUT_MS = 1000; field in AudioPolicyTest
64 assertTrue(mWaitSemaphore.tryAcquire(WAIT_TIMEOUT_MS, TimeUnit.MILLISECONDS)); in setUp()