/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ActivityManagerState.java | 73 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 …]
|
D | ActivityAndWindowManagersState.java | 50 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()
|
D | ActivityManagerTestBase.java | 533 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/ |
D | ActivityManagerState.java | 63 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
|
D | ActivityAndWindowManagersState.java | 43 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/ |
D | VrDisplayTests.java | 135 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()
|
D | MultiDisplayActivityLaunchTests.java | 57 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()
|
D | FreeformWindowingModeTests.java | 30 import android.server.wm.ActivityManagerState.ActivityStack; 93 final ActivityStack stack = mAmWmState.getAmState().getStackById(task.mStackId); in testNonResizeableActivityHasFullDisplayBounds()
|
D | MultiDisplaySecurityTests.java | 61 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()
|
D | PinnedStackTests.java | 89 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()
|
D | DisplayTests.java | 117 final ActivityManagerState.ActivityStack frontStack = in testMultiDisplayDisabled()
|
D | AppConfigurationTests.java | 256 final ActivityManagerState.ActivityStack stack = mAmWmState.getAmState() in moveActivityFullSplitFull() 303 final ActivityManagerState.ActivityStack stack = mAmWmState.getAmState() in testDialogWhenLargeSplitSmall()
|
D | MultiDisplayPolicyTests.java | 55 import android.server.wm.ActivityManagerState.ActivityStack; 414 ActivityStack frontStack = mAmWmState.getAmState().getStackById( in testMoveTaskBetweenDisplays()
|
D | AssistantStackTests.java | 78 ActivityManagerState.ActivityStack assistantStack = in setUp()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/ |
D | Persistence.java | 445 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()
|
D | LaunchRunner.java | 74 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/ |
D | ActivityLifecycleTopResumedStateTests.java | 52 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()
|