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;
202 launchActivityInSplitScreenWithRecents(LAUNCHING_ACTIVITY); in testFinishActivityInNonFocusedStack()
214 mAmWmState.waitForActivityState(LAUNCHING_ACTIVITY, STATE_PAUSED); in testFinishActivityInNonFocusedStack()
217 mAmWmState.computeState(LAUNCHING_ACTIVITY); in testFinishActivityInNonFocusedStack()
218 mAmWmState.assertVisibility(LAUNCHING_ACTIVITY, true); in testFinishActivityInNonFocusedStack()
296 launchActivity(LAUNCHING_ACTIVITY); in testReorderToFrontBackstack()
304 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY) in testReorderToFrontBackstack()
332 launchActivity(LAUNCHING_ACTIVITY); in testReorderToFrontChangingStack()
348 launchActivityNoWait(LAUNCHING_ACTIVITY); in testReorderToFrontChangingStack()
359 mAmWmState.waitForValidState(LAUNCHING_ACTIVITY); in testReorderToFrontChangingStack()
[all …]
DAmStartOptionsTests.java25 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
81 getLaunchActivityBuilder().setLaunchingActivity(LAUNCHING_ACTIVITY) in testDashW_FinishingTop()
90 executeShellCommand("am start -W -f " + flags + " -n " + getActivityName(LAUNCHING_ACTIVITY) in testDashW_FinishingTop()
92 waitAndAssertTopResumedActivity(LAUNCHING_ACTIVITY, DEFAULT_DISPLAY, in testDashW_FinishingTop()
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()
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()
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()
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()
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()
731 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY), in requestOrientationInSplitScreen()
DPinnedStackTests.java32 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
1048 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY), in testPinnedStackWithDockedStack()
1054 mAmWmState.assertVisibility(LAUNCHING_ACTIVITY, true); in testPinnedStackWithDockedStack()
1059 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY), in testPinnedStackWithDockedStack()
1064 mAmWmState.assertVisibility(LAUNCHING_ACTIVITY, true); in testPinnedStackWithDockedStack()
1072 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;
1816 private ComponentName mLaunchingActivity = LAUNCHING_ACTIVITY;
1830 INSTRUMENTATION, LAUNCHING_ACTIVITY, BROADCAST_RECEIVER
1833 private LauncherType mLauncherType = LauncherType.LAUNCHING_ACTIVITY;
1901 mLauncherType = LauncherType.LAUNCHING_ACTIVITY;
1976 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