Searched refs:isDisplayOn (Results 1 – 6 of 6) sorted by relevance
187 assertTrue("Display turns on", isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnActivity()396 assertTrue("Display turns on", isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnAttrNoLockScreen()412 assertFalse("Display keeps off", isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnAttrWithLockScreen()425 assertTrue("Display turns on", isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnShowOnLockAttr()438 assertTrue("Display turns on", isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnAttrRemove()449 assertFalse("Display keeps off", isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnAttrRemove()461 assertTrue("Display turns on", isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnSingleTask()475 assertTrue("Display turns on", isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnSingleTask()490 assertFalse("Display keeps off", isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnActivity_withRelayout()
22 import static android.server.wm.ActivityManagerTestBase.isDisplayOn;158 if (condition.test(isDisplayOn(displayId))) { in waitForDisplayCondition()
499 assertTrue(isDisplayOn(DEFAULT_DISPLAY)); in testDismissKeyguardActivity_method_turnScreenOn()582 assertTrue(isDisplayOn(DEFAULT_DISPLAY)); in testDismissKeyguardAttrActivity_method_turnScreenOn()
204 assertTrue(isDisplayOn(DEFAULT_DISPLAY)); in testDismissKeyguardAttrActivity_method_turnScreenOn_withSecureKeyguard()
247 protected boolean isDisplayOn() { in isDisplayOn() method in ActivityManagerTestBase371 for (int retry = 1; isDisplayOn() != displayOn && retry <= 5; retry++) { in waitForDisplayStateWithRetry()
908 protected static boolean isDisplayOn(int displayId) { in isDisplayOn() method in ActivityManagerTestBase1072 for (int retry = 1; isDisplayOn(DEFAULT_DISPLAY) && retry <= 5; retry++) {