Home
last modified time | relevance | path

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

/cts/tests/tests/mediacujtest/common/src/android/media/cujcommon/cts/
DDeviceLockTestPlayerListener.java83 assertTrue(isDisplayOn()); in onEventsMediaItemTransition()
92 private boolean isDisplayOn() { in isDisplayOn() method in DeviceLockTestPlayerListener
105 assertFalse(isDisplayOn()); in unlockPhone()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DActivityVisibilityTests.java220 if (!isDisplayOn(DEFAULT_DISPLAY)) { in testTurnScreenOnActivity()
227 assertTrue("Display turns on", isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnActivity()
248 assertFalse("Display must remain OFF", isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnActivity()
279 isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnActivity()
311 assertTrue("Display should be turned on by flags.", isDisplayOn(DEFAULT_DISPLAY)); in testFreeformWindowTurnScreenOnActivity()
642 assertTrue("Display turns on", isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnAttrNoLockScreen()
664 assertTrue("Display turns on", isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnAttrNoLockScreen_SplitScreen()
677 assertTrue("Display turns on", isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnWithAttr_Freeform()
690 assertFalse("Display keeps off", isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnAttrWithLockScreen()
704 assertTrue("Display turns on", isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnShowOnLockAttr()
[all …]
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DVirtualDisplayHelper.java22 import static android.server.wm.ActivityManagerTestBase.isDisplayOn;
137 waitForOrFail(message, () -> isDisplayOn(displayId) == wantOn); in waitForDisplayState()
DLockScreenSession.java176 private boolean isDisplayOn() { in isDisplayOn() method in LockScreenSession
197 Condition.waitFor("display to turn off", () -> !isDisplayOn()); in sleepDevice()
DActivityManagerTestBase.java1515 protected static boolean isDisplayOn(int displayId) { in isDisplayOn() method in ActivityManagerTestBase
/cts/tests/framework/base/windowmanager/src/android/server/wm/keyguard/
DKeyguardTests.java555 assertFalse(isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnActivityOnAod()
655 assertTrue(isDisplayOn(DEFAULT_DISPLAY)); in testDismissKeyguardActivity_method_turnScreenOn()
742 assertTrue(isDisplayOn(DEFAULT_DISPLAY)); in testDismissKeyguardAttrActivity_method_turnScreenOn()
DKeyguardLockedTests.java250 assertTrue(ActivityManagerTestBase.isDisplayOn(DEFAULT_DISPLAY)); in testDismissKeyguardAttrActivity_method_turnScreenOn_withSecureKeyguard()