/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 | 454 protected void moveTopActivityToPinnedStack(int stackId) { in moveTopActivityToPinnedStack() argument 456 () -> mAtm.moveTopActivityToPinnedStack(stackId, new Rect(0, 0, 500, 500)) in moveTopActivityToPinnedStack() 766 protected void moveActivityToStack(ComponentName activityName, int stackId) { in moveActivityToStack() argument 770 () -> mAtm.moveTaskToStack(taskId, stackId, true)); in moveActivityToStack() 773 .setStackId(stackId) in moveActivityToStack() 792 protected void resizeStack(int stackId, int stackLeft, int stackTop, int stackWidth, in resizeStack() argument 794 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 | 305 final int stackId = getPinnedStack().mStackId; in testPinnedStackOutOfBoundsInsetsNonNegative() local 308 resizeStack(stackId, left, top, left + 500, top + 500); in testPinnedStackOutOfBoundsInsetsNonNegative() 1021 int stackId = stack.mStackId; in testNoResumeAfterTaskOverlayFinishes() local 1031 () -> mAtm.resizeStack(stackId, new Rect(20, 20, 500, 500), true /* animate */)); in testNoResumeAfterTaskOverlayFinishes() 1563 final int stackId = mAmWmState.getAmState().getStackIdByActivity(topActivityName); in pinnedStackTester() local 1565 assertNotEquals(stackId, INVALID_STACK_ID); in pinnedStackTester() 1566 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 | 811 final int stackId = mAmWmState.getWmState().getFrontStackId(displayId); in assertTopTaskSameSurfaceSizeWithDisplay() local 813 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()
|