/cts/tests/tests/keystore/src/android/server/am/ |
D | ActivityAndWindowManagersState.java | 152 void waitForFocusedStack(int stackId) { in waitForFocusedStack() argument 153 waitForWithAmState(state -> state.getFocusedStackId() == stackId, in waitForFocusedStack() 238 final int stackId = state.stackId; in shouldWaitForActivities() local 255 if (stackId != INVALID_STACK_ID && ws.getStackId() != stackId) { in shouldWaitForActivities() 323 final int stackId = aStack.mStackId; in assertSanity() local 325 assertEquals("Stack can only contain its own tasks", stackId, aTask.mStackId); in assertSanity() 335 void assertFocusedStack(String msg, int stackId) { in assertFocusedStack() argument 336 assertEquals(msg, stackId, mAmState.getFocusedStackId()); in assertFocusedStack() 352 final int stackId = aStack.mStackId; in taskListsInAmAndWmAreEqual() local 353 final WindowStack wStack = mWmState.getStack(stackId); in taskListsInAmAndWmAreEqual() [all …]
|
D | WaitForValidActivityState.java | 42 public final int stackId; field in WaitForValidActivityState 53 this.stackId = INVALID_STACK_ID; in WaitForValidActivityState() 61 this.stackId = builder.mStackId; in WaitForValidActivityState() 81 if (stackId != INVALID_STACK_ID) { in toString() 82 sb.append(" stack=").append(stackId); in toString()
|
D | WindowManagerState.java | 275 WindowStack getStack(int stackId) { in getStack() argument 277 if (stackId == stack.mStackId) { in getStack() 500 mStackId = proto.stackId; in WindowState()
|
D | ActivityManagerState.java | 314 mStackId = proto.stackId; in ActivityTask()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ActivityAndWindowManagersState.java | 323 void waitForFocusedStack(int stackId) { in waitForFocusedStack() argument 324 waitForWithAmState(state -> state.getFocusedStackId() == stackId, in waitForFocusedStack() 443 final int stackId = state.stackId; in shouldWaitForActivities() local 461 if (stackId != INVALID_STACK_ID && ws.getStackId() != stackId) { in shouldWaitForActivities() 557 final int stackId = aStack.mStackId; in assertSanity() local 559 assertEquals("Stack can only contain its own tasks", stackId, aTask.mStackId); in assertSanity() 597 void assertFocusedStack(String msg, int stackId) { in assertFocusedStack() argument 598 assertEquals(msg, stackId, mAmState.getFocusedStackId()); in assertFocusedStack() 732 final int stackId = aStack.mStackId; in taskListsInAmAndWmAreEqual() local 733 final WindowStack wStack = mWmState.getStack(stackId); in taskListsInAmAndWmAreEqual() [all …]
|
D | WaitForValidActivityState.java | 42 public final int stackId; field in WaitForValidActivityState 53 this.stackId = INVALID_STACK_ID; in WaitForValidActivityState() 61 this.stackId = builder.mStackId; in WaitForValidActivityState() 81 if (stackId != INVALID_STACK_ID) { in toString() 82 sb.append(" stack=").append(stackId); in toString() 133 public Builder setStackId(int stackId) { in setStackId() argument 134 mStackId = stackId; in setStackId()
|
D | ActivityManagerState.java | 278 boolean containsStack(int stackId) { in containsStack() argument 279 return getStackById(stackId) != null; in containsStack() 297 ActivityStack getStackById(int stackId) { in getStackById() argument 299 if (stackId == stack.mStackId) { in getStackById() 772 mStackId = proto.stackId; in ActivityTask()
|
D | WindowManagerState.java | 448 boolean containsStack(int stackId) { in containsStack() argument 450 if (stackId == stack.mStackId) { in containsStack() 513 WindowStack getStack(int stackId) { in getStack() argument 515 if (stackId == stack.mStackId) { in getStack() 855 mStackId = proto.stackId; in WindowState()
|
D | ActivityManagerTestBase.java | 453 protected void moveTopActivityToPinnedStack(int stackId) { in moveTopActivityToPinnedStack() argument 455 () -> mAtm.moveTopActivityToPinnedStack(stackId, new Rect(0, 0, 500, 500)) in moveTopActivityToPinnedStack() 719 protected void moveActivityToStack(ComponentName activityName, int stackId) { in moveActivityToStack() argument 723 () -> mAtm.moveTaskToStack(taskId, stackId, true)); in moveActivityToStack() 726 .setStackId(stackId) in moveActivityToStack() 745 protected void resizeStack(int stackId, int stackLeft, int stackTop, int stackWidth, in resizeStack() argument 747 SystemUtil.runWithShellPermissionIdentity(() -> mAtm.resizeStack(stackId, in resizeStack()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | ActivityVisibilityTests.java | 89 final int stackId = mAmWmState.getAmState().getStackIdByActivity( in testTranslucentActivityOnTopOfPinnedStack() local 92 assertNotEquals(stackId, INVALID_STACK_ID); in testTranslucentActivityOnTopOfPinnedStack() 93 moveTopActivityToPinnedStack(stackId); in testTranslucentActivityOnTopOfPinnedStack() 139 final int stackId = mAmWmState.getAmState().getStackIdByActivity( in testHomeVisibleOnActivityTaskPinned() local 142 assertNotEquals(stackId, INVALID_STACK_ID); in testHomeVisibleOnActivityTaskPinned() 143 moveTopActivityToPinnedStack(stackId); in testHomeVisibleOnActivityTaskPinned()
|
D | PinnedStackTests.java | 300 final int stackId = getPinnedStack().mStackId; in testPinnedStackOutOfBoundsInsetsNonNegative() local 303 resizeStack(stackId, left, top, left + 500, top + 500); in testPinnedStackOutOfBoundsInsetsNonNegative() 991 int stackId = stack.mStackId; in testNoResumeAfterTaskOverlayFinishes() local 1001 () -> mAtm.resizeStack(stackId, new Rect(20, 20, 500, 500), true /* animate */)); in testNoResumeAfterTaskOverlayFinishes() 1533 final int stackId = mAmWmState.getAmState().getStackIdByActivity(topActivityName); in pinnedStackTester() local 1535 assertNotEquals(stackId, INVALID_STACK_ID); in pinnedStackTester() 1536 moveTopActivityToPinnedStack(stackId); in pinnedStackTester()
|
D | MultiDisplayActivityLaunchTests.java | 682 final int stackId = mAmWmState.getAmState().getFrontStackId(DEFAULT_DISPLAY); in testTaskMatchOrderAcrossDisplays() local 694 stackId, mAmWmState.getAmState().getFocusedStackId()); in testTaskMatchOrderAcrossDisplays() 700 stackId); in testTaskMatchOrderAcrossDisplays()
|
D | MultiDisplayPolicyTests.java | 808 final int stackId = mAmWmState.getWmState().getFrontStackId(displayId); in assertTopTaskSameSurfaceSizeWithDisplay() local 810 mAmWmState.getWmState().getStack(stackId).mTasks.get(0); in assertTopTaskSameSurfaceSizeWithDisplay()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/ |
D | ActivityLifecyclePipTests.java | 78 final int stackId = mAmWmState.getAmState().getStackIdByActivity(pipActivityName); in testGoToPip() local 79 assertNotEquals(stackId, INVALID_STACK_ID); in testGoToPip() 80 moveTopActivityToPinnedStack(stackId); in testGoToPip()
|