Home
last modified time | relevance | path

Searched refs:LAUNCHING_ACTIVITY (Results 1 – 16 of 16) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DMultiDisplayActivityLaunchTests.java42 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
156 launchActivityOnDisplay(LAUNCHING_ACTIVITY, DEFAULT_DISPLAY); in testLaunchActivityOnPrimaryDisplay()
158 waitAndAssertTopResumedActivity(LAUNCHING_ACTIVITY, DEFAULT_DISPLAY, in testLaunchActivityOnPrimaryDisplay()
342 launchActivityOnDisplay(LAUNCHING_ACTIVITY, newDisplay.mId); in testLaunchNonResizeableActivityFromSecondaryDisplayNewTask()
343 waitAndAssertTopResumedActivity(LAUNCHING_ACTIVITY, newDisplay.mId, in testLaunchNonResizeableActivityFromSecondaryDisplayNewTask()
385 launchActivity(LAUNCHING_ACTIVITY); in testConsequentLaunchActivity()
388 waitAndAssertTopResumedActivity(LAUNCHING_ACTIVITY, newDisplay.mId, in testConsequentLaunchActivity()
390 mWmState.assertResumedActivity("LAUNCHING_ACTIVITY must be resumed", LAUNCHING_ACTIVITY); in testConsequentLaunchActivity()
432 launchActivityOnDisplay(LAUNCHING_ACTIVITY, newDisplay.mId); in testConsequentLaunchActivityFromSecondaryDisplay()
434 waitAndAssertTopResumedActivity(LAUNCHING_ACTIVITY, newDisplay.mId, in testConsequentLaunchActivityFromSecondaryDisplay()
[all …]
DActivityVisibilityTests.java34 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
304 launchActivityInPrimarySplit(LAUNCHING_ACTIVITY); in testFinishActivityInNonFocusedStack()
316 mWmState.computeState(LAUNCHING_ACTIVITY); in testFinishActivityInNonFocusedStack()
318 mWmState.waitForActivityState(LAUNCHING_ACTIVITY, STATE_RESUMED); in testFinishActivityInNonFocusedStack()
319 mWmState.assertVisibility(LAUNCHING_ACTIVITY, true); in testFinishActivityInNonFocusedStack()
354 final int taskId1 = mWmState.getTaskByActivity(LAUNCHING_ACTIVITY).mTaskId; in testLaunchTaskOnHomeInLockTaskMode()
433 launchActivity(LAUNCHING_ACTIVITY); in testReorderToFrontBackstack()
441 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY) in testReorderToFrontBackstack()
469 launchActivity(LAUNCHING_ACTIVITY); in testReorderToFrontChangingStack()
485 launchActivityNoWait(LAUNCHING_ACTIVITY); in testReorderToFrontChangingStack()
[all …]
DAmStartOptionsTests.java24 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
77 getLaunchActivityBuilder().setLaunchingActivity(LAUNCHING_ACTIVITY) in testDashW_FinishingTop()
86 executeShellCommand("am start -W -f " + flags + " -n " + getActivityName(LAUNCHING_ACTIVITY) in testDashW_FinishingTop()
88 waitAndAssertTopResumedActivity(LAUNCHING_ACTIVITY, DEFAULT_DISPLAY, in testDashW_FinishingTop()
DMultiWindowTests.java26 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
243 launchActivity(LAUNCHING_ACTIVITY, WINDOWING_MODE_FULLSCREEN); in testNoUserLeaveHintOnMultiWindowModeChanged()
244 putActivityInSecondarySplit(LAUNCHING_ACTIVITY); in testNoUserLeaveHintOnMultiWindowModeChanged()
271 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY), in testLaunchToSideAndBringToFront()
291 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY), in testLaunchToSideMultiple()
298 mWmState.computeState(TEST_ACTIVITY, LAUNCHING_ACTIVITY); in testLaunchToSideMultiple()
322 launchActivityInPrimarySplit(LAUNCHING_ACTIVITY); in launchTargetToSide()
334 mWmState.computeState(targetActivityName, LAUNCHING_ACTIVITY); in launchTargetToSide()
339 mWmState.computeState(targetActivityName, LAUNCHING_ACTIVITY); in launchTargetToSide()
373 mWmState.computeState(targetActivityName, LAUNCHING_ACTIVITY); in launchTargetToSide()
[all …]
DStartActivityTests.java28 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
172 .setTargetActivity(LAUNCHING_ACTIVITY) in testStartActivityFromFinishingActivity()
256 new Intent().setComponent(LAUNCHING_ACTIVITY) }); in testStartActivitiesInNewAndSameTask()
317 new Intent().setComponent(LAUNCHING_ACTIVITY) }); in testStartActivitiesWithDiffUidNotInSameTask()
DMultiDisplaySecurityTests.java24 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
161 launchActivityOnDisplay(LAUNCHING_ACTIVITY, newDisplay.mId); in testConsequentLaunchActivityFromVirtualDisplayNoEmbedding()
163 waitAndAssertActivityStateOnDisplay(LAUNCHING_ACTIVITY, STATE_RESUMED, newDisplay.mId, in testConsequentLaunchActivityFromVirtualDisplayNoEmbedding()
534 launchActivityOnDisplay(LAUNCHING_ACTIVITY, newDisplay.mId); in testPermissionLaunchMultiUidTask()
535 mWmState.computeState(LAUNCHING_ACTIVITY); in testPermissionLaunchMultiUidTask()
541 getActivityName(LAUNCHING_ACTIVITY), frontTask.mResumedActivity); in testPermissionLaunchMultiUidTask()
DMultiDisplayPolicyTests.java30 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
347 launchActivity(LAUNCHING_ACTIVITY); in testLaunchActivitiesAffectsVisibility()
409 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY), in testStackFocusSwitchOnDisplayRemoved()
411 mWmState.assertVisibility(LAUNCHING_ACTIVITY, true /* visible */); in testStackFocusSwitchOnDisplayRemoved()
429 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY)); in testStackFocusSwitchOnDisplayRemoved2()
430 mWmState.assertVisibility(LAUNCHING_ACTIVITY, true /* visible */); in testStackFocusSwitchOnDisplayRemoved2()
DTaskFragmentOrganizerPolicyTest.java25 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
196 .setComponent(LAUNCHING_ACTIVITY) in testStartActivityFromAnotherProcessInEmbeddedTask()
DWindowInsetsPolicyTest.java20 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
144 launchActivityInPrimarySplit(LAUNCHING_ACTIVITY); in testForcedConsumedTopInsets()
DAppConfigurationTests.java33 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
174 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY), in testConfigurationUpdatesWhenRotatingWhileDocked()
198 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY), in testConfigurationUpdatesWhenRotatingToSideFromDocked()
843 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY), in requestOrientationInSplitScreen()
DActivityMetricsLoggerTests.java25 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
421 + " -W " + LAUNCHING_ACTIVITY.flattenToShortString()); in testConsecutiveLaunch()
DKeyguardTests.java30 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
245 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY), in testShowWhenLockedActivityWhileSplit()
DTaskFragmentOrganizerTest.java22 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
/cts/tests/framework/base/windowmanager/app27/src/android/server/wm/app27/
DComponents.java19 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
28 component(Components.class, LAUNCHING_ACTIVITY.getClassName());
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java86 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
2265 private ComponentName mLaunchingActivity = LAUNCHING_ACTIVITY;
2280 INSTRUMENTATION, LAUNCHING_ACTIVITY, BROADCAST_RECEIVER
2283 private LauncherType mLauncherType = LauncherType.LAUNCHING_ACTIVITY;
2366 mLauncherType = LauncherType.LAUNCHING_ACTIVITY;
2453 case LAUNCHING_ACTIVITY:
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DComponents.java70 public static final ComponentName LAUNCHING_ACTIVITY = component("LaunchingActivity"); field in Components