Home
last modified time | relevance | path

Searched refs:NO_RELAUNCH_ACTIVITY (Results 1 – 5 of 5) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/display/
DFreeformWindowingModeTests.java29 import static android.server.wm.app.Components.NO_RELAUNCH_ACTIVITY;
124 launchActivity(NO_RELAUNCH_ACTIVITY, WINDOWING_MODE_FREEFORM); in testActivityLifeCycleOnResizeFreeformTask()
126 mWmState.computeState(TEST_ACTIVITY, NO_RELAUNCH_ACTIVITY); in testActivityLifeCycleOnResizeFreeformTask()
144 resizeActivityTask(NO_RELAUNCH_ACTIVITY, in testActivityLifeCycleOnResizeFreeformTask()
149 new WaitForValidActivityState.Builder(NO_RELAUNCH_ACTIVITY).build()); in testActivityLifeCycleOnResizeFreeformTask()
155 resizeActivityTask(NO_RELAUNCH_ACTIVITY, in testActivityLifeCycleOnResizeFreeformTask()
158 mWmState.computeState(TEST_ACTIVITY, NO_RELAUNCH_ACTIVITY); in testActivityLifeCycleOnResizeFreeformTask()
161 assertActivityLifecycle(NO_RELAUNCH_ACTIVITY, false /* relaunched */); in testActivityLifeCycleOnResizeFreeformTask()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DConfigChangeTests.java28 import static android.server.wm.app.Components.NO_RELAUNCH_ACTIVITY;
85 testRotation(NO_RELAUNCH_ACTIVITY, 1, 0, 1); in testRotation90NoRelaunch()
105 testRotation(NO_RELAUNCH_ACTIVITY, 2, 0, 0); in testRotation180_NoRelaunchActivity()
125 testRotation180WithCutout(NO_RELAUNCH_ACTIVITY, true /* canHandleConfigChange */); in testRotation180NoRelaunchWithCutout()
349 launchActivity(NO_RELAUNCH_ACTIVITY); in testResizeWithoutCrossingSizeBucket()
351 waitAndAssertResumedActivity(NO_RELAUNCH_ACTIVITY, "Activity must be resumed"); in testResizeWithoutCrossingSizeBucket()
352 final int taskId = mWmState.getTaskByActivity(NO_RELAUNCH_ACTIVITY).getTaskId(); in testResizeWithoutCrossingSizeBucket()
358 assertRelaunchOrConfigChanged(NO_RELAUNCH_ACTIVITY, 0 /* numRelaunch */, in testResizeWithoutCrossingSizeBucket()
367 mWmState.waitForValidState(NO_RELAUNCH_ACTIVITY); in testResizeWithoutCrossingSizeBucket()
369 assertRelaunchOrConfigChanged(NO_RELAUNCH_ACTIVITY, 0 /* numRelaunch */, in testResizeWithoutCrossingSizeBucket()
DStartActivityTests.java32 import static android.server.wm.app.Components.NO_RELAUNCH_ACTIVITY;
118 .setTargetActivity(NO_RELAUNCH_ACTIVITY) in testStartActivityContexts()
121 mWmState.computeState(NO_RELAUNCH_ACTIVITY); in testStartActivityContexts()
126 "Activity launched from activity context should be present", NO_RELAUNCH_ACTIVITY); in testStartActivityContexts()
277 new Intent().setComponent(NO_RELAUNCH_ACTIVITY) in testStartActivitiesInNewAndSameTask()
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DMultiWindowTests.java28 import static android.server.wm.app.Components.NO_RELAUNCH_ACTIVITY;
197 getLaunchActivityBuilder().setTargetActivity(NO_RELAUNCH_ACTIVITY), in testLaunchToSideMultiWindowCallbacks()
207 NO_RELAUNCH_ACTIVITY); in testLaunchToSideMultiWindowCallbacks()
222 launchActivity(NO_RELAUNCH_ACTIVITY, WINDOWING_MODE_FULLSCREEN); in testNoUserLeaveHintOnMultiWindowModeChanged()
226 putActivityInPrimarySplit(NO_RELAUNCH_ACTIVITY); in testNoUserLeaveHintOnMultiWindowModeChanged()
229 waitForOnMultiWindowModeChanged(NO_RELAUNCH_ACTIVITY); in testNoUserLeaveHintOnMultiWindowModeChanged()
240 launchActivity(NO_RELAUNCH_ACTIVITY); in testNoUserLeaveHintOnMultiWindowModeChanged()
248 int noRelaunchTaskId = mWmState.getTaskByActivity(NO_RELAUNCH_ACTIVITY).getTaskId(); in testNoUserLeaveHintOnMultiWindowModeChanged()
255 lifecycleCounts = waitForOnMultiWindowModeChanged(NO_RELAUNCH_ACTIVITY); in testNoUserLeaveHintOnMultiWindowModeChanged()
275 launchActivityInSecondarySplit(NO_RELAUNCH_ACTIVITY); in testLaunchToSideAndBringToFront()
[all …]
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DComponents.java81 public static final ComponentName NO_RELAUNCH_ACTIVITY = component("NoRelaunchActivity"); field in Components