Searched refs:waitForDisplayStateChange (Results 1 – 1 of 1) sorted by relevance
117 mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS); in testDisplayOn()123 assertTrue(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)); in testDisplayOn()131 assertTrue(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)); in testShutdown()140 assertFalse(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)); in testShutdown()183 assertTrue(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)); in testSleepEntryAndWakeUpForProcessing()186 assertFalse(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)); in testSleepEntryAndWakeUpForProcessing()202 assertTrue(mDisplayInterface.waitForDisplayStateChange(WAIT_TIMEOUT_MS)); in testSleepEntryAndWakeUpForProcessing()286 public boolean waitForDisplayStateChange(long timeoutMs) throws Exception { in waitForDisplayStateChange() method in CarPowerManagementServiceTest.MockDisplayInterface