/cts/tests/tests/keystore/src/android/server/am/ |
WaitForValidActivityState.java | 19 import static android.app.ActivityManager.StackId.INVALID_STACK_ID; 42 public final int stackId; 53 this.stackId = INVALID_STACK_ID; 61 this.stackId = builder.mStackId; 81 if (stackId != INVALID_STACK_ID) { 82 sb.append(" stack=").append(stackId);
|
ActivityAndWindowManagersState.java | 19 import static android.app.ActivityManager.StackId.INVALID_STACK_ID; 151 void waitForFocusedStack(int stackId) { 152 waitForWithAmState(state -> state.getFocusedStackId() == stackId, 237 final int stackId = state.stackId; 254 if (stackId != INVALID_STACK_ID && ws.getStackId() != stackId) { 322 final int stackId = aStack.mStackId; 324 assertEquals("Stack can only contain its own tasks", stackId, aTask.mStackId); 334 void assertFocusedStack(String msg, int stackId) { [all...] |
/cts/tests/framework/base/activitymanager/util/src/android/server/am/ |
WaitForValidActivityState.java | 19 import static android.app.ActivityManager.StackId.INVALID_STACK_ID; 42 public final int stackId; 53 this.stackId = INVALID_STACK_ID; 61 this.stackId = builder.mStackId; 81 if (stackId != INVALID_STACK_ID) { 82 sb.append(" stack=").append(stackId); 133 public Builder setStackId(int stackId) { 134 mStackId = stackId;
|
ActivityManagerState.java | 19 import static android.app.ActivityManager.StackId.INVALID_STACK_ID; 237 boolean containsStack(int stackId) { 238 return getStackById(stackId) != null; 256 ActivityStack getStackById(int stackId) { 258 if (stackId == stack.mStackId) { 635 mStackId = proto.stackId;
|
ActivityAndWindowManagersState.java | 19 import static android.app.ActivityManager.StackId.INVALID_STACK_ID; 283 void waitForFocusedStack(int stackId) { 284 waitForWithAmState(state -> state.getFocusedStackId() == stackId, 387 final int stackId = state.stackId; 405 if (stackId != INVALID_STACK_ID && ws.getStackId() != stackId) { 500 final int stackId = aStack.mStackId; 502 assertEquals("Stack can only contain its own tasks", stackId, aTask.mStackId); 521 void assertFrontStack(String msg, int stackId) { [all...] |
ActivityManagerTestBase.java | 20 import static android.app.ActivityManager.StackId.INVALID_STACK_ID; 220 protected static String getMoveToPinnedStackCommand(int stackId) { 221 return String.format(AM_MOVE_TOP_ACTIVITY_TO_PINNED_STACK_COMMAND_FORMAT, stackId); 439 protected void moveActivityToStack(ComponentName activityName, int stackId) { 442 final String cmd = AM_MOVE_TASK + taskId + " " + stackId + " true"; 446 .setStackId(stackId) 466 protected void resizeStack(int stackId, int stackLeft, int stackTop, int stackWidth, 468 executeShellCommand(AM_RESIZE_STACK + String.format("%d %d %d %d %d", stackId, stackLeft, [all...] |
/cts/tests/framework/base/activitymanager/src/android/server/am/ |
ActivityManagerActivityVisibilityTests.java | 19 import static android.app.ActivityManager.StackId.INVALID_STACK_ID; 89 final int stackId = mAmWmState.getAmState().getStackIdByActivity( 92 assertNotEquals(stackId, INVALID_STACK_ID); 93 executeShellCommand(getMoveToPinnedStackCommand(stackId)); 140 final int stackId = mAmWmState.getAmState().getStackIdByActivity( 143 assertNotEquals(stackId, INVALID_STACK_ID); 144 executeShellCommand(getMoveToPinnedStackCommand(stackId));
|
ActivityManagerPinnedStackTests.java | 19 import static android.app.ActivityManager.StackId.INVALID_STACK_ID; 275 final int stackId = getPinnedStack().mStackId; 278 resizeStack(stackId, left, top, left + 500, top + 500); [all...] |
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
VoiceInteractionManagerServiceImpl.java | 26 import android.app.ActivityManager.StackId;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/ |
PipManager.java | 56 import static android.app.ActivityManager.StackId.INVALID_STACK_ID; 665 public void onActivityPinned(String packageName, int userId, int taskId, int stackId) { 674 mPinnedStackId = stackInfo.stackId;
|
/frameworks/base/core/java/android/app/ |
ActivityManager.java | 750 public static class StackId { 752 private StackId() { [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
TaskRecord.java | 21 import static android.app.ActivityManager.StackId.INVALID_STACK_ID; [all...] |
ActivityManagerShellCommand.java | 101 import static android.app.ActivityManager.StackId.INVALID_STACK_ID; [all...] |
ActivityRecord.java | 20 import static android.app.ActivityManager.StackId.INVALID_STACK_ID; [all...] |
ActivityStackSupervisor.java | 27 import static android.app.ActivityManager.StackId.INVALID_STACK_ID; [all...] |
ActivityManagerService.java | 34 import static android.app.ActivityManager.StackId.INVALID_STACK_ID; [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
WindowState.java | 19 import static android.app.ActivityManager.StackId.INVALID_STACK_ID; [all...] |
/frameworks/base/config/ |
preloaded-classes | 146 android.app.ActivityManager$StackId [all...] |
/prebuilts/misc/common/robolectric/android-all/ |
android-all-stubs.jar | |