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.java189 assertTrue("Display turns on", isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnActivity()
400 assertTrue("Display turns on", isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnAttrNoLockScreen()
416 assertFalse("Display keeps off", isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnAttrWithLockScreen()
431 assertTrue("Display turns on", isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnShowOnLockAttr()
446 assertTrue("Display turns on", isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnAttrRemove()
457 assertFalse("Display keeps off", isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnAttrRemove()
471 assertTrue("Display turns on", isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnSingleTask()
485 assertTrue("Display turns on", isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnSingleTask()
502 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.java960 protected static boolean isDisplayOn(int displayId) { in isDisplayOn() method in ActivityManagerTestBase
1127 for (int retry = 1; isDisplayOn(DEFAULT_DISPLAY) && retry <= 5; retry++) {