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/
DVrDisplayTests.java21 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
129 launchActivity(LAUNCHING_ACTIVITY); in testVrActivityLaunch()
130 mWmState.computeState(LAUNCHING_ACTIVITY); in testVrActivityLaunch()
133 mWmState.assertVisibility(LAUNCHING_ACTIVITY, true /* visible */); in testVrActivityLaunch()
137 LAUNCHING_ACTIVITY); in testVrActivityLaunch()
142 getActivityName(LAUNCHING_ACTIVITY), focusedStack.mResumedActivity); in testVrActivityLaunch()
163 launchActivity(LAUNCHING_ACTIVITY); in testVrActivityReLaunch()
179 launchActivity(LAUNCHING_ACTIVITY); in testVrActivityReLaunch()
180 mWmState.computeState(LAUNCHING_ACTIVITY); in testVrActivityReLaunch()
183 mWmState.assertVisibility(LAUNCHING_ACTIVITY, true /* visible */); in testVrActivityReLaunch()
[all …]
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;
317 launchActivityInPrimarySplit(LAUNCHING_ACTIVITY); in testFinishActivityInNonFocusedStack()
329 mWmState.computeState(LAUNCHING_ACTIVITY); in testFinishActivityInNonFocusedStack()
331 mWmState.waitForActivityState(LAUNCHING_ACTIVITY, STATE_RESUMED); in testFinishActivityInNonFocusedStack()
332 mWmState.assertVisibility(LAUNCHING_ACTIVITY, true); in testFinishActivityInNonFocusedStack()
408 launchActivity(LAUNCHING_ACTIVITY); in testReorderToFrontBackstack()
416 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY) in testReorderToFrontBackstack()
444 launchActivity(LAUNCHING_ACTIVITY); in testReorderToFrontChangingStack()
460 launchActivityNoWait(LAUNCHING_ACTIVITY); in testReorderToFrontChangingStack()
471 mWmState.waitForValidState(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;
162 launchActivityOnDisplay(LAUNCHING_ACTIVITY, newDisplay.mId); in testConsequentLaunchActivityFromVirtualDisplayNoEmbedding()
164 waitAndAssertActivityStateOnDisplay(LAUNCHING_ACTIVITY, STATE_RESUMED, newDisplay.mId, in testConsequentLaunchActivityFromVirtualDisplayNoEmbedding()
536 launchActivityOnDisplay(LAUNCHING_ACTIVITY, newDisplay.mId); in testPermissionLaunchMultiUidTask()
537 mWmState.computeState(LAUNCHING_ACTIVITY); in testPermissionLaunchMultiUidTask()
543 getActivityName(LAUNCHING_ACTIVITY), frontStack.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()
DWindowInsetsPolicyTest.java20 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
138 launchActivityInPrimarySplit(LAUNCHING_ACTIVITY); in testForcedConsumedTopInsets()
DAppConfigurationTests.java33 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
170 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY), in testConfigurationUpdatesWhenRotatingWhileDocked()
194 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY), in testConfigurationUpdatesWhenRotatingToSideFromDocked()
840 getLaunchActivityBuilder().setTargetActivity(LAUNCHING_ACTIVITY), in requestOrientationInSplitScreen()
DActivityMetricsLoggerTests.java24 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
420 + " -W " + LAUNCHING_ACTIVITY.flattenToShortString()); in testConsecutiveLaunch()
DKeyguardTests.java30 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
245 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.java86 import static android.server.wm.app.Components.LAUNCHING_ACTIVITY;
2235 private ComponentName mLaunchingActivity = LAUNCHING_ACTIVITY;
2250 INSTRUMENTATION, LAUNCHING_ACTIVITY, BROADCAST_RECEIVER
2253 private LauncherType mLauncherType = LauncherType.LAUNCHING_ACTIVITY;
2336 mLauncherType = LauncherType.LAUNCHING_ACTIVITY;
2423 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