Home
last modified time | relevance | path

Searched refs:ActivityStack (Results 1 – 17 of 17) sorted by relevance

/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerState.java73 private final List<ActivityStack> mStacks = new ArrayList<>();
222 final ActivityStack topStack = getDisplay(displayId).mStacks.get(0); in getTopActivityName()
238 final ActivityStack stack = getStackById(mTopFocusedStackId); in getFocusedStackActivityType()
243 final ActivityStack stack = getStackById(mTopFocusedStackId); in getFocusedStackWindowingMode()
259 final ArrayList<ActivityStack> mStacks = mDisplays.get(i).getStacks(); in getResumedActivitiesCountInPackage()
283 for (ActivityStack stack : mStacks) { in containsStack()
297 ActivityStack getStackById(int stackId) { in getStackById()
298 for (ActivityStack stack : mStacks) { in getStackById()
306 ActivityStack getStackByActivityType(int activityType) { in getStackByActivityType()
307 for (ActivityStack stack : mStacks) { in getStackByActivityType()
[all …]
DActivityAndWindowManagersState.java50 import android.server.wm.ActivityManagerState.ActivityStack;
556 for (ActivityStack aStack : mAmState.getStacks()) { in assertSanity()
731 for (ActivityStack aStack : mAmState.getStacks()) { in taskListsInAmAndWmAreEqual()
768 for (ActivityStack aStack : mAmState.getStacks()) { in stackBoundsInAMAndWMAreEqual()
816 for (ActivityStack aStack : mAmState.getStacks()) { in assertValidBounds()
DActivityManagerTestBase.java533 protected void tapOnStackCenter(ActivityManagerState.ActivityStack stack) { in tapOnStackCenter()
596 final List<ActivityManagerState.ActivityStack> stacks = mAmWmState.getAmState().getStacks(); in getStackIds()
598 for (ActivityManagerState.ActivityStack s : stacks) { in getStackIds()
605 protected ActivityManagerState.ActivityStack getStackForTaskId(int taskId) { in getStackForTaskId()
607 final List<ActivityManagerState.ActivityStack> stacks = mAmWmState.getAmState().getStacks(); in getStackForTaskId()
608 for (ActivityManagerState.ActivityStack stack : stacks) { in getStackForTaskId()
720 final ActivityManagerState.ActivityStack stack = in moveTaskToPrimarySplitScreen()
877 ActivityManagerState.ActivityStack frontStackOnDisplay = in waitAndAssertTopResumedActivity()
/cts/tests/tests/keystore/src/android/server/am/
DActivityManagerState.java63 private final List<ActivityStack> mStacks = new ArrayList<>();
184 ActivityStack getStackByActivityType(int activityType) { in getStackByActivityType()
185 for (ActivityStack stack : mStacks) { in getStackByActivityType()
197 List<ActivityStack> getStacks() { in getStacks()
207 for (ActivityStack stack : mStacks) { in isActivityVisible()
233 final ActivityStack homeStack = getStackByActivityType(ACTIVITY_TYPE_HOME); in getHomeTask()
248 ArrayList<ActivityStack> mStacks = new ArrayList<>();
254 ActivityStack activityStack = new ActivityStack(proto.stacks[i]); in ActivityDisplay()
265 static class ActivityStack extends ActivityContainer { class in ActivityManagerState
272 ActivityStack(ActivityStackProto proto) { in ActivityStack() method in ActivityManagerState.ActivityStack
DActivityAndWindowManagersState.java43 import android.server.am.ActivityManagerState.ActivityStack;
322 for (ActivityStack aStack : mAmState.getStacks()) { in assertSanity()
351 for (ActivityStack aStack : mAmState.getStacks()) { in taskListsInAmAndWmAreEqual()
379 for (ActivityStack aStack : mAmState.getStacks()) { in stackBoundsInAMAndWMAreEqual()
412 for (ActivityStack aStack : mAmState.getStacks()) { in assertValidBounds()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DVrDisplayTests.java135 final ActivityManagerState.ActivityStack focusedStack in testVrActivityLaunch()
185 final ActivityManagerState.ActivityStack focusedStack in testVrActivityReLaunch()
235 final ActivityManagerState.ActivityStack focusedStack in testActivityLaunchPostVr()
273 final ActivityManagerState.ActivityStack frontStack in testActivityLaunchPostVr()
DMultiDisplayActivityLaunchTests.java57 import android.server.wm.ActivityManagerState.ActivityStack;
319 final ActivityStack newFrontStack = in testLaunchNonResizeableActivityFromSecondaryDisplayNewTask()
634 final ActivityStack firstFrontStack = in testTaskMatchAcrossDisplays()
648 final ActivityStack defaultDisplayFrontStack = in testTaskMatchAcrossDisplays()
661 final ActivityStack secondFrontStack = in testTaskMatchAcrossDisplays()
716 final ActivityStack firstFrontStack = in testLaunchDisplayAffinityMatch()
732 final ActivityStack secondFrontStack = in testLaunchDisplayAffinityMatch()
806 final ActivityStack firstFrontStack = in testImmediateLaunchOnNewDisplay()
DFreeformWindowingModeTests.java30 import android.server.wm.ActivityManagerState.ActivityStack;
93 final ActivityStack stack = mAmWmState.getAmState().getStackById(task.mStackId); in testNonResizeableActivityHasFullDisplayBounds()
DMultiDisplaySecurityTests.java61 import android.server.wm.ActivityManagerState.ActivityStack;
114 final ActivityStack focusedStack = in testLaunchWithoutPermissionOnVirtualDisplayByOwner()
521 ActivityStack frontStack = mAmWmState.getAmState().getStackById( in testPermissionLaunchFromShell()
597 ActivityStack frontStack = mAmWmState.getAmState().getStackById( in testPermissionLaunchMultiUidTask()
628 ActivityStack frontStack = in testPermissionLaunchFromOwner()
667 ActivityStack frontStack = mAmWmState.getAmState().getStackById( in testPermissionLaunchFromDifferentApp()
DPinnedStackTests.java89 import android.server.wm.ActivityManagerState.ActivityStack;
556 final ActivityStack pinnedStack = getPinnedStack(); in testAutoEnterPictureInPictureOverPip()
574 final ActivityStack pinnedStack = getPinnedStack(); in testDisallowMultipleTasksInPinnedStack()
1019 ActivityStack stack = mAmWmState.getAmState().getStandardStackByWindowingMode( in testNoResumeAfterTaskOverlayFinishes()
1274 final ActivityStack stack = getPinnedStack(); in offsetPipWithinMovementBounds()
1478 private ActivityStack getPinnedStack() { in getPinnedStack()
DDisplayTests.java117 final ActivityManagerState.ActivityStack frontStack = in testMultiDisplayDisabled()
DAppConfigurationTests.java256 final ActivityManagerState.ActivityStack stack = mAmWmState.getAmState() in moveActivityFullSplitFull()
303 final ActivityManagerState.ActivityStack stack = mAmWmState.getAmState() in testDialogWhenLargeSplitSmall()
DMultiDisplayPolicyTests.java55 import android.server.wm.ActivityManagerState.ActivityStack;
414 ActivityStack frontStack = mAmWmState.getAmState().getStackById( in testMoveTaskBetweenDisplays()
DAssistantStackTests.java78 ActivityManagerState.ActivityStack assistantStack = in setUp()
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DPersistence.java445 public static StateDump fromStacks(List<ActivityManagerState.ActivityStack> activityStacks, in fromStacks()
446 List<ActivityManagerState.ActivityStack> baseStacks) { in fromStacks()
448 for (ActivityManagerState.ActivityStack stack : trimStacks(activityStacks, in fromStacks()
485 public static List<ActivityManagerState.ActivityStack> trimStacks( in trimStacks()
486 List<ActivityManagerState.ActivityStack> toTrim, in trimStacks()
487 List<ActivityManagerState.ActivityStack> trimFrom) { in trimStacks()
489 for (ActivityManagerState.ActivityStack stack : trimFrom) { in trimStacks()
531 public StackState(ActivityManagerState.ActivityStack stack) { in StackState()
DLaunchRunner.java74 private List<ActivityManagerState.ActivityStack> mBaseStacks;
297 List<ActivityManagerState.ActivityStack> endStateStacks = in waitDumpAndTrim()
323 List<ActivityManagerState.ActivityStack> endStateStacks = in waitDumpAndTrimForVerification()
329 private List<ActivityManagerState.ActivityStack> getBaseStacks() { in getBaseStacks()
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityLifecycleTopResumedStateTests.java52 import android.server.wm.ActivityManagerState.ActivityStack;
495 final ActivityStack dockedStack = getStackForTaskId(firstActivity.getTaskId()); in testTopPositionSwitchOnTap()
508 final ActivityStack sideStack = getStackForTaskId(secondActivity.getTaskId()); in testTopPositionSwitchOnTap()
554 final ActivityStack dockedStack = getStackForTaskId(firstActivity.getTaskId()); in testTopPositionSwitchOnTapSlowDifferentProcess()
569 final ActivityStack sideStack = getStackForTaskId(sideTask.getTaskId()); in testTopPositionSwitchOnTapSlowDifferentProcess()
615 final ActivityStack dockedStack = getStackForTaskId(slowActivity.getTaskId()); in testTopPositionSwitchOnTapTimeoutDifferentProcess()
630 final ActivityStack sideStack = getStackForTaskId(sideTask.getTaskId()); in testTopPositionSwitchOnTapTimeoutDifferentProcess()