Searched refs:TURN_SCREEN_ON_ACTIVITY (Results 1 – 5 of 5) sorted by relevance
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/ |
D | KeepScreenOnTests.java | 23 import static android.server.wm.app.Components.TURN_SCREEN_ON_ACTIVITY; 83 launchActivity(TURN_SCREEN_ON_ACTIVITY); in testKeepScreenOn_activityOnDefaultDisplay_screenStaysOn() 89 mWmState.assertVisibility(TURN_SCREEN_ON_ACTIVITY, true); in testKeepScreenOn_activityOnDefaultDisplay_screenStaysOn() 99 launchActivity(TURN_SCREEN_ON_ACTIVITY); in testKeepScreenOn_activityNotForeground_screenTurnsOff() 105 mWmState.waitAndAssertVisibilityGone(TURN_SCREEN_ON_ACTIVITY); in testKeepScreenOn_activityNotForeground_screenTurnsOff() 117 launchActivityOnDisplay(TURN_SCREEN_ON_ACTIVITY, newDisplay.mId); in testKeepScreenOn_activityOnVirtualDisplay_screenStaysOn() 118 mWmState.assertVisibility(TURN_SCREEN_ON_ACTIVITY, true); in testKeepScreenOn_activityOnVirtualDisplay_screenStaysOn() 124 mWmState.assertVisibility(TURN_SCREEN_ON_ACTIVITY, true); in testKeepScreenOn_activityOnVirtualDisplay_screenStaysOn() 135 launchActivityOnDisplay(TURN_SCREEN_ON_ACTIVITY, WINDOWING_MODE_FULLSCREEN, newDisplay.mId); in testKeepScreenOn_activityOnVirtualDisplayNotForeground_screenTurnsOff() 141 mWmState.waitAndAssertVisibilityGone(TURN_SCREEN_ON_ACTIVITY); in testKeepScreenOn_activityOnVirtualDisplayNotForeground_screenTurnsOff()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/ |
D | ActivityVisibilityTests.java | 47 import static android.server.wm.app.Components.TURN_SCREEN_ON_ACTIVITY; 225 launchActivity(TURN_SCREEN_ON_ACTIVITY, WINDOWING_MODE_FULLSCREEN); in testTurnScreenOnActivity() 226 mWmState.assertVisibility(TURN_SCREEN_ON_ACTIVITY, true); in testTurnScreenOnActivity() 245 waitAndAssertActivityState(TURN_SCREEN_ON_ACTIVITY, STATE_STOPPED, in testTurnScreenOnActivity() 247 mWmState.assertVisibility(TURN_SCREEN_ON_ACTIVITY, false); in testTurnScreenOnActivity() 277 mWmState.assertVisibility(TURN_SCREEN_ON_ACTIVITY, true); in testTurnScreenOnActivity() 305 new WaitForValidActivityState.Builder(TURN_SCREEN_ON_ACTIVITY) in testFreeformWindowTurnScreenOnActivity() 309 TURN_SCREEN_ON_ACTIVITY, WINDOWING_MODE_FULLSCREEN)); in testFreeformWindowTurnScreenOnActivity() 310 mWmState.assertVisibility(TURN_SCREEN_ON_ACTIVITY, true); in testFreeformWindowTurnScreenOnActivity() 326 }).setTargetActivity(TURN_SCREEN_ON_ACTIVITY).setWindowingMode(windowingMode)); in sleepDeviceAndLaunchTurnScreenOnActivity()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | DreamManagerServiceTests.java | 229 launchActivity(Components.TURN_SCREEN_ON_ACTIVITY); in testStartTurnScreenOnActivityDoesWake() 232 waitAndAssertTopResumedActivity(Components.TURN_SCREEN_ON_ACTIVITY, in testStartTurnScreenOnActivityDoesWake()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/keyguard/ |
D | KeyguardTests.java | 40 import static android.server.wm.app.Components.TURN_SCREEN_ON_ACTIVITY; 547 }).setTargetActivity(TURN_SCREEN_ON_ACTIVITY)); in testTurnScreenOnActivityOnAod() 553 waitAndAssertStoppedActivity(TURN_SCREEN_ON_ACTIVITY); in testTurnScreenOnActivityOnAod()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | Components.java | 177 public static final ComponentName TURN_SCREEN_ON_ACTIVITY = component("TurnScreenOnActivity"); field in Components
|