Home
last modified time | relevance | path

Searched refs:getTaskByActivity (Results 1 – 13 of 13) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityStarterTests.java106 final int taskId = mAmWmState.getAmState().getTaskByActivity(STANDARD_ACTIVITY).getTaskId(); in testLaunchStandardActivity()
123 mAmWmState.getAmState().getTaskByActivity(SECOND_STANDARD_ACTIVITY).getTaskId()); in testLaunchStandardActivity()
138 final int taskId = mAmWmState.getAmState().getTaskByActivity(STANDARD_ACTIVITY).getTaskId(); in testLaunchSingleTopActivity()
156 mAmWmState.getAmState().getTaskByActivity(SINGLE_TOP_ACTIVITY).getTaskId()); in testLaunchSingleTopActivity()
178 .getTaskByActivity(STANDARD_ACTIVITY).getTaskId(); in testLaunchSingleInstanceActivity()
184 .getTaskByActivity(SINGLE_INSTANCE_ACTIVITY).getTaskId(); in testLaunchSingleInstanceActivity()
213 final int taskId = mAmWmState.getAmState().getTaskByActivity(STANDARD_ACTIVITY).getTaskId(); in testLaunchSingleTaskActivity()
229 mAmWmState.getAmState().getTaskByActivity(SINGLE_TASK_ACTIVITY).getTaskId()); in testLaunchSingleTaskActivity()
258 mAmWmState.getAmState().getTaskByActivity(ALIAS_TEST_ACTIVITY).getTaskId(); in testLaunchAliasActivity()
293 final int taskId = mAmWmState.getAmState().getTaskByActivity(STANDARD_ACTIVITY).getTaskId(); in testLaunchActivityWithFlagNewTaskAndClearTask()
[all …]
DActivityLifecycleTopResumedStateTests.java568 .getTaskByActivity(secondActivityComponent); in testTopPositionSwitchOnTapSlowDifferentProcess()
629 .getTaskByActivity(secondActivityComponent); in testTopPositionSwitchOnTapTimeoutDifferentProcess()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DSplitScreenTests.java235 mAmWmState.getAmState().getTaskByActivity( in testLaunchToSideMultiple()
247 mAmWmState.getAmState().getTaskByActivity( in testLaunchToSideMultiple()
277 final int taskId = mAmWmState.getAmState().getTaskByActivity(LAUNCHING_ACTIVITY).mTaskId; in launchTargetToSide()
294 mAmWmState.getAmState().getTaskByActivity( in launchTargetToSide()
312 mAmWmState.getAmState().getTaskByActivity( in launchTargetToSide()
332 mAmWmState.getAmState().getTaskByActivity( in launchTargetToSide()
344 mAmWmState.getAmState().getTaskByActivity( in testLaunchToSideMultipleWithFlag()
357 mAmWmState.getAmState().getTaskByActivity( in testLaunchToSideMultipleWithFlag()
DFreeformWindowingModeTests.java81 mAmWmState.getAmState().getTaskByActivity(TEST_ACTIVITY).getBounds()); in testFreeformWindowManagementSupport()
92 mAmWmState.getAmState().getTaskByActivity(NON_RESIZEABLE_ACTIVITY); in testNonResizeableActivityHasFullDisplayBounds()
DPinnedStackTests.java1055 int rootActivityTaskId = mAmWmState.getAmState().getTaskByActivity( in testLaunchTaskByComponentMatchMultipleTasks()
1065 assertEquals(rootActivityTaskId, mAmWmState.getAmState().getTaskByActivity( in testLaunchTaskByComponentMatchMultipleTasks()
1087 int rootActivityTaskId = mAmWmState.getAmState().getTaskByActivity( in testLaunchTaskByAffinityMatchMultipleTasks()
1096 assertEquals(rootActivityTaskId, mAmWmState.getAmState().getTaskByActivity( in testLaunchTaskByAffinityMatchMultipleTasks()
1112 int activityTaskId = mAmWmState.getAmState().getTaskByActivity(PIP_ACTIVITY).mTaskId; in testLaunchTaskByAffinityMatchSingleTask()
1117 assertEquals(activityTaskId, mAmWmState.getAmState().getTaskByActivity( in testLaunchTaskByAffinityMatchSingleTask()
1128 .getTaskByActivity(TEST_ACTIVITY).getWindowingMode(); in testDisplayMetricsPinUnpin()
DAssistantStackTests.java320 final int taskId = mAmWmState.getAmState().getTaskByActivity(ASSISTANT_ACTIVITY) in testLaunchIntoSameTask()
341 mAmWmState.getAmState().getTaskByActivity(ASSISTANT_ACTIVITY).mTaskId); in testLaunchIntoSameTask()
DConfigChangeTests.java245 mAmWmState.getAmState().getTaskByActivity(activityName).mStackId; in testRotation()
DCrossAppDragAndDropTests.java160 final ActivityTask sideTask = mAmWmState.getAmState().getTaskByActivity(name); in getWindowCenter()
DAppConfigurationTests.java190 mAmWmState.getAmState().getTaskByActivity(RESIZEABLE_ACTIVITY); in rotateAndCheckSizes()
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DBackgroundActivityLaunchTest.java93 assertNull(mAmWmState.getAmState().getTaskByActivity(APP_A_BACKGROUND_ACTIVITY)); in setUp()
94 assertNull(mAmWmState.getAmState().getTaskByActivity(APP_A_FOREGROUND_ACTIVITY)); in setUp()
95 assertNull(mAmWmState.getAmState().getTaskByActivity(APP_B_FOREGROUND_ACTIVITY)); in setUp()
383 assertNull(mAmWmState.getAmState().getTaskByActivity(sourceComponent)); in assertTaskStack()
386 List<ActivityManagerState.Activity> actual = mAmWmState.getAmState().getTaskByActivity( in assertTaskStack()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerState.java373 final ActivityManagerState.ActivityTask task = getTaskByActivity(activityComponent); in getDisplayByActivity()
577 final ActivityTask task = getTaskByActivity(activityName); in getStackIdByActivity()
581 public ActivityTask getTaskByActivity(ComponentName activityName) { in getTaskByActivity() method in ActivityManagerState
585 ActivityTask getTaskByActivity(ComponentName activityName, int windowingMode) { in getTaskByActivity() method in ActivityManagerState
DActivityManagerTestBase.java640 final int taskId = mAmWmState.getAmState().getTaskByActivity(activityName).mTaskId; in launchActivityInSplitScreenWithRecents()
694 final int taskId = mAmWmState.getAmState().getTaskByActivity( in launchActivitiesInSplitScreen()
710 final int taskId = mAmWmState.getAmState().getTaskByActivity(activityName).mTaskId; in setActivityTaskWindowingMode()
721 final int taskId = mAmWmState.getAmState().getTaskByActivity(activityName).mTaskId; in moveActivityToStack()
733 final int taskId = mAmWmState.getAmState().getTaskByActivity(activityName).mTaskId; in resizeActivityTask()
DActivityAndWindowManagersState.java297 final ActivityTask task = amState.getTaskByActivity(activityName); in waitForActivityOrientation()
807 mAmState.getTaskByActivity(activityName).getBounds()); in assertDockedTaskBounds()