Home
last modified time | relevance | path

Searched refs:isDisplayOn (Results 1 – 6 of 6) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DActivityVisibilityTests.java187 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()
DVirtualDisplayHelper.java22 import static android.server.wm.ActivityManagerTestBase.isDisplayOn;
158 if (condition.test(isDisplayOn(displayId))) { in waitForDisplayCondition()
DKeyguardTests.java499 assertTrue(isDisplayOn(DEFAULT_DISPLAY)); in testDismissKeyguardActivity_method_turnScreenOn()
582 assertTrue(isDisplayOn(DEFAULT_DISPLAY)); in testDismissKeyguardAttrActivity_method_turnScreenOn()
DKeyguardLockedTests.java204 assertTrue(isDisplayOn(DEFAULT_DISPLAY)); in testDismissKeyguardAttrActivity_method_turnScreenOn_withSecureKeyguard()
/cts/tests/tests/keystore/src/android/server/am/
DActivityManagerTestBase.java247 protected boolean isDisplayOn() { in isDisplayOn() method in ActivityManagerTestBase
371 for (int retry = 1; isDisplayOn() != displayOn && retry <= 5; retry++) { in waitForDisplayStateWithRetry()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java908 protected static boolean isDisplayOn(int displayId) { in isDisplayOn() method in ActivityManagerTestBase
1072 for (int retry = 1; isDisplayOn(DEFAULT_DISPLAY) && retry <= 5; retry++) {