Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DMultiDisplayActivityLaunchTests.java31 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
137 launchActivityOnDisplay(LAUNCHING_ACTIVITY, DEFAULT_DISPLAY); in testLaunchActivityOnPrimaryDisplay()
139 waitAndAssertTopResumedActivity(LAUNCHING_ACTIVITY, DEFAULT_DISPLAY, in testLaunchActivityOnPrimaryDisplay()
307 launchActivityOnDisplay(LAUNCHING_ACTIVITY, newDisplay.mId); in testLaunchNonResizeableActivityFromSecondaryDisplayNewTask()
308 waitAndAssertTopResumedActivity(LAUNCHING_ACTIVITY, newDisplay.mId, in testLaunchNonResizeableActivityFromSecondaryDisplayNewTask()
331 put(newDisplay.mId, LAUNCHING_ACTIVITY); in testLaunchNonResizeableActivityFromSecondaryDisplayNewTask()
356 launchActivity(LAUNCHING_ACTIVITY); in testConsequentLaunchActivity()
359 waitAndAssertTopResumedActivity(LAUNCHING_ACTIVITY, DEFAULT_DISPLAY, in testConsequentLaunchActivity()
364 put(DEFAULT_DISPLAY, LAUNCHING_ACTIVITY); in testConsequentLaunchActivity()
382 launchActivityOnDisplay(LAUNCHING_ACTIVITY, newDisplay.mId); in testConsequentLaunchActivityFromSecondaryDisplay()
[all …]
DVrDisplayTests.java21 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
125 launchActivity(LAUNCHING_ACTIVITY); in testVrActivityLaunch()
126 mAmWmState.computeState(LAUNCHING_ACTIVITY); in testVrActivityLaunch()
129 mAmWmState.assertVisibility(LAUNCHING_ACTIVITY, true /* visible */); in testVrActivityLaunch()
133 LAUNCHING_ACTIVITY); in testVrActivityLaunch()
138 getActivityName(LAUNCHING_ACTIVITY), focusedStack.mResumedActivity); in testVrActivityLaunch()
160 launchActivity(LAUNCHING_ACTIVITY); in testVrActivityReLaunch()
175 launchActivity(LAUNCHING_ACTIVITY); in testVrActivityReLaunch()
176 mAmWmState.computeState(LAUNCHING_ACTIVITY); in testVrActivityReLaunch()
179 mAmWmState.assertVisibility(LAUNCHING_ACTIVITY, true /* visible */); in testVrActivityReLaunch()
[all …]
DSplitScreenTests.java32 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
136 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY), in testLaunchToSide()
148 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY), in testLaunchToSideMultiWindowCallbacks()
194 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY), in testLaunchToSideAndBringToFront()
229 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY), in testLaunchToSideMultiple()
240 mAmWmState.computeState(TEST_ACTIVITY, LAUNCHING_ACTIVITY); in testLaunchToSideMultiple()
271 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY) in launchTargetToSide()
277 final int taskId = mAmWmState.getAmState().getTaskByActivity(LAUNCHING_ACTIVITY).mTaskId; in launchTargetToSide()
288 mAmWmState.computeState(targetActivityName, LAUNCHING_ACTIVITY); in launchTargetToSide()
299 mAmWmState.computeState(targetActivityName, LAUNCHING_ACTIVITY); in launchTargetToSide()
[all …]
DActivityVisibilityTests.java38 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
200 launchActivityInSplitScreenWithRecents(LAUNCHING_ACTIVITY); in testFinishActivityInNonFocusedStack()
212 mAmWmState.waitForActivityState(LAUNCHING_ACTIVITY, STATE_PAUSED); in testFinishActivityInNonFocusedStack()
215 mAmWmState.computeState(LAUNCHING_ACTIVITY); in testFinishActivityInNonFocusedStack()
216 mAmWmState.assertVisibility(LAUNCHING_ACTIVITY, true); in testFinishActivityInNonFocusedStack()
294 launchActivity(LAUNCHING_ACTIVITY); in testReorderToFrontBackstack()
302 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY) in testReorderToFrontBackstack()
330 launchActivity(LAUNCHING_ACTIVITY); in testReorderToFrontChangingStack()
346 launchActivityNoWait(LAUNCHING_ACTIVITY); in testReorderToFrontChangingStack()
357 mAmWmState.waitForValidState(LAUNCHING_ACTIVITY); in testReorderToFrontChangingStack()
[all …]
DAnimationBackgroundTests.java22 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
44 launchActivityOnDisplay(LAUNCHING_ACTIVITY, DEFAULT_DISPLAY); in testAnimationBackground_duringAnimation()
67 launchActivityOnDisplay(LAUNCHING_ACTIVITY, DEFAULT_DISPLAY); in testAnimationBackground_gone()
DAmStartOptionsTests.java25 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
86 getLaunchActivityBuilder().setLaunchingActivity(LAUNCHING_ACTIVITY) in testDashW_FinishingTop()
96 "am start -W -f " + flags + " -n " + getActivityName(LAUNCHING_ACTIVITY)); in testDashW_FinishingTop()
97 verifyShellOutput(result, LAUNCHING_ACTIVITY, false); in testDashW_FinishingTop()
DMultiDisplayPolicyTests.java30 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
375 launchActivity(LAUNCHING_ACTIVITY); in testLaunchActivitiesAffectsVisibility()
449 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY), in testStackFocusSwitchOnDisplayRemoved()
451 mAmWmState.assertVisibility(LAUNCHING_ACTIVITY, true /* visible */); in testStackFocusSwitchOnDisplayRemoved()
469 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY)); in testStackFocusSwitchOnDisplayRemoved2()
470 mAmWmState.assertVisibility(LAUNCHING_ACTIVITY, true /* visible */); in testStackFocusSwitchOnDisplayRemoved2()
508 mAmWmState.assertVisibility(LAUNCHING_ACTIVITY, true /* visible */); in tryCreatingAndRemovingDisplayWithActivity()
DWindowInsetsPolicyTest.java23 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
131 launchActivityInSplitScreenWithRecents(LAUNCHING_ACTIVITY); in testForcedConsumedTopInsets()
140 mAmWmState.computeState(LAUNCHING_ACTIVITY, mTestActivityComponentName); in testForcedConsumedTopInsets()
DMultiDisplaySecurityTests.java22 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
165 launchActivityOnDisplay(LAUNCHING_ACTIVITY, newDisplay.mId); in testConsequentLaunchActivityFromVirtualDisplayNoEmbedding()
167 waitAndAssertTopResumedActivity(LAUNCHING_ACTIVITY, newDisplay.mId, in testConsequentLaunchActivityFromVirtualDisplayNoEmbedding()
592 launchActivityOnDisplay(LAUNCHING_ACTIVITY, newDisplay.mId); in testPermissionLaunchMultiUidTask()
593 mAmWmState.computeState(LAUNCHING_ACTIVITY); in testPermissionLaunchMultiUidTask()
600 getActivityName(LAUNCHING_ACTIVITY), in testPermissionLaunchMultiUidTask()
DAppConfigurationTests.java32 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
156 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY), in testConfigurationUpdatesWhenRotatingWhileDocked()
179 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY), in testConfigurationUpdatesWhenRotatingToSideFromDocked()
725 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY), in requestOrientationInSplitScreen()
DPinnedStackTests.java31 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
1018 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY), in testPinnedStackWithDockedStack()
1024 mAmWmState.assertVisibility(LAUNCHING_ACTIVITY, true); in testPinnedStackWithDockedStack()
1029 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY), in testPinnedStackWithDockedStack()
1034 mAmWmState.assertVisibility(LAUNCHING_ACTIVITY, true); in testPinnedStackWithDockedStack()
1042 mAmWmState.assertVisibility(LAUNCHING_ACTIVITY, true); in testPinnedStackWithDockedStack()
DKeyguardTests.java34 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
232 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY), in testShowWhenLockedActivityWhileSplit()
/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.java83 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
1743 private ComponentName mLaunchingActivity = LAUNCHING_ACTIVITY;
1757 INSTRUMENTATION, LAUNCHING_ACTIVITY, BROADCAST_RECEIVER
1760 private LauncherType mLauncherType = LauncherType.LAUNCHING_ACTIVITY;
1828 mLauncherType = LauncherType.LAUNCHING_ACTIVITY;
1903 case LAUNCHING_ACTIVITY:
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DComponents.java66 public static final ComponentName LAUNCHING_ACTIVITY = component("LaunchingActivity"); field in Components