Home
last modified time | relevance | path

Searched refs:TEST_ACTIVITY (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/services/activityandwindowmanager/activitymanager/src/android/server/cts/
DActivityManagerFreeformStackTests.java31 private static final String TEST_ACTIVITY = "TestActivity"; field in ActivityManagerFreeformStackTests
46 mAmWmState.computeState(mDevice, new String[] {FREEFORM_ACTIVITY, TEST_ACTIVITY}); in testFreeformWindowManagementSupport()
57 mAmWmState.assertVisibility(TEST_ACTIVITY, true); in testFreeformWindowManagementSupport()
59 TEST_ACTIVITY + " must be focused Activity", TEST_ACTIVITY); in testFreeformWindowManagementSupport()
61 mAmWmState.getAmState().getTaskByActivityName(TEST_ACTIVITY).getBounds()); in testFreeformWindowManagementSupport()
86 launchActivityInStack(TEST_ACTIVITY, FREEFORM_WORKSPACE_STACK_ID); in testActivityLifeCycleOnResizeFreeformTask()
89 mAmWmState.computeState(mDevice, new String[]{TEST_ACTIVITY, NO_RELAUNCH_ACTIVITY}); in testActivityLifeCycleOnResizeFreeformTask()
97 resizeActivityTask(TEST_ACTIVITY, in testActivityLifeCycleOnResizeFreeformTask()
102 mAmWmState.computeState(mDevice, new String[]{TEST_ACTIVITY, NO_RELAUNCH_ACTIVITY}); in testActivityLifeCycleOnResizeFreeformTask()
105 resizeActivityTask(TEST_ACTIVITY, in testActivityLifeCycleOnResizeFreeformTask()
[all …]
DActivityManagerAssistantStackTests.java29 private static final String TEST_ACTIVITY = "TestActivity"; field in ActivityManagerAssistantStackTests
67 launchActivity(TEST_ACTIVITY); in testAssistantStackZOrder()
93 launchActivity(TEST_ACTIVITY); in testAssistantStackLaunchNewTaskWithDockedStack()
108 EXTRA_LAUNCH_NEW_TASK, TEST_ACTIVITY); in assertAssistantStackCanLaunchAndReturnFromNewTask()
112 mAmWmState.waitForValidState(mDevice, TEST_ACTIVITY, FULLSCREEN_WORKSPACE_STACK_ID); in assertAssistantStackCanLaunchAndReturnFromNewTask()
113 mAmWmState.assertFocusedActivity("TestActivity should be resumed", TEST_ACTIVITY); in assertAssistantStackCanLaunchAndReturnFromNewTask()
129 launchActivity(TEST_ACTIVITY); in testAssistantStackFinishToPreviousApp()
134 mAmWmState.waitForValidState(mDevice, TEST_ACTIVITY, FULLSCREEN_WORKSPACE_STACK_ID); in testAssistantStackFinishToPreviousApp()
135 mAmWmState.waitForActivityState(mDevice, TEST_ACTIVITY, STATE_RESUMED); in testAssistantStackFinishToPreviousApp()
136 mAmWmState.assertFocusedActivity("TestActivity should be resumed", TEST_ACTIVITY); in testAssistantStackFinishToPreviousApp()
[all …]
DActivityManagerPinnedStackTests.java39 private static final String TEST_ACTIVITY = "TestActivity"; field in ActivityManagerPinnedStackTests
261 launchActivity(TEST_ACTIVITY, in testEnterPipToOtherOrientation()
398 launchActivity(TEST_ACTIVITY); in testAutoEnterPictureInPicture()
413 launchActivity(TEST_ACTIVITY); in testAutoEnterPictureInPictureLaunchActivity()
434 launchActivity(TEST_ACTIVITY); in testAutoEnterPictureInPictureFinish()
499 launchActivity(TEST_ACTIVITY); in testDisallowMultipleTasksInPinnedStack()
545 launchActivity(TEST_ACTIVITY); in testPipUnPipOverApp()
586 launchActivity(TEST_ACTIVITY); in testRemovePipWithVisibleFullscreenStack()
602 launchActivity(TEST_ACTIVITY); in testRemovePipWithHiddenFullscreenStack()
635 launchActivity(TEST_ACTIVITY); in testMovePipToBackWithVisibleFullscreenStack()
[all …]