Searched refs:waitForDisplayStateChange (Results 1 – 1 of 1) sorted by relevance
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()236 assertThat(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)).isTrue(); in testSuspend()253 assertThat(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)).isTrue(); in testShutdownOnSuspend()289 assertThat(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)).isTrue(); in testShutdownCancel()601 assertThat(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)).isFalse(); in suspendAndResumeForUserSwitchingTests()620 assertThat(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)).isTrue(); in suspendAndResumeForUserSwitchingTests()768 public boolean waitForDisplayStateChange(long timeoutMs) throws Exception { in waitForDisplayStateChange() method in CarPowerManagementServiceTest.MockDisplayInterface