Searched refs:isDisplayOn (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/mediacujtest/common/src/android/media/cujcommon/cts/ |
D | DeviceLockTestPlayerListener.java | 83 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/ |
D | ActivityVisibilityTests.java | 220 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/ |
D | VirtualDisplayHelper.java | 22 import static android.server.wm.ActivityManagerTestBase.isDisplayOn; 137 waitForOrFail(message, () -> isDisplayOn(displayId) == wantOn); in waitForDisplayState()
|
D | LockScreenSession.java | 176 private boolean isDisplayOn() { in isDisplayOn() method in LockScreenSession 197 Condition.waitFor("display to turn off", () -> !isDisplayOn()); in sleepDevice()
|
D | ActivityManagerTestBase.java | 1515 protected static boolean isDisplayOn(int displayId) { in isDisplayOn() method in ActivityManagerTestBase
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/keyguard/ |
D | KeyguardTests.java | 555 assertFalse(isDisplayOn(DEFAULT_DISPLAY)); in testTurnScreenOnActivityOnAod() 655 assertTrue(isDisplayOn(DEFAULT_DISPLAY)); in testDismissKeyguardActivity_method_turnScreenOn() 742 assertTrue(isDisplayOn(DEFAULT_DISPLAY)); in testDismissKeyguardAttrActivity_method_turnScreenOn()
|
D | KeyguardLockedTests.java | 250 assertTrue(ActivityManagerTestBase.isDisplayOn(DEFAULT_DISPLAY)); in testDismissKeyguardAttrActivity_method_turnScreenOn_withSecureKeyguard()
|