/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
ActivityStackTests.java | 36 * Tests for the {@link ActivityStack} class. 57 "testEmptyTaskCleanupOnRemove", ActivityStack.REMOVE_TASK_MODE_DESTROYING); 68 "testOccupiedTaskCleanupOnRemove", ActivityStack.REMOVE_TASK_MODE_DESTROYING); 77 final ActivityStack testStack = service.mStackSupervisor.getStack(TEST_STACK_ID); 80 // {@link ActivityStack#resumeTopActivityUncheckedLocked}. 99 final ActivityStack testStack = service.mStackSupervisor.getStack(TEST_STACK_ID); 116 final ActivityStack testStack = service.mStackSupervisor.getStack(TEST_STACK_ID);
|
ActivityTestsBase.java | 78 protected static ActivityStack createActivityStack(ActivityManagerService service, 127 final ActivityStack stack = service.mStackSupervisor.getStack(stackId, 200 // Invoked during {@link ActivityStack} creation. 207 ActivityStack getNextFocusableStackLocked(ActivityStack currentFocus) { 217 <T extends ActivityStack> T createTestStack(int stackId, boolean onTop) { 222 ActivityStack createStack(int stackId, ActivityDisplay display, boolean onTop) { 238 protected <T extends ActivityStack> T getStack(int stackId, 275 * Override of {@link ActivityStack} that tracks test metrics, such as the number of times a 280 extends ActivityStack<T> implements ActivityStackReporter [all...] |
ActivityRecordTests.java | 82 .removeTask(task, null /*reason*/, ActivityStack.REMOVE_TASK_MODE_MOVING); 101 final ActivityStack stack = service.mStackSupervisor.getStack(stackId);
|
ActivityStackSupervisorTests.java | 109 final ActivityStack stack = supervisor.getStack(stackId);
|
/frameworks/base/services/core/java/com/android/server/am/ |
ActivityStackSupervisor.java | 78 import static com.android.server.am.ActivityStack.ActivityState.DESTROYED; 79 import static com.android.server.am.ActivityStack.ActivityState.DESTROYING; 80 import static com.android.server.am.ActivityStack.ActivityState.INITIALIZING; 81 import static com.android.server.am.ActivityStack.ActivityState.PAUSED; 82 import static com.android.server.am.ActivityStack.ActivityState.PAUSING; 83 import static com.android.server.am.ActivityStack.ActivityState.RESUMED; 84 import static com.android.server.am.ActivityStack.ActivityState.STOPPED; 85 import static com.android.server.am.ActivityStack.ActivityState.STOPPING; 86 import static com.android.server.am.ActivityStack.REMOVE_TASK_MODE_MOVING; 87 import static com.android.server.am.ActivityStack.STACK_INVISIBLE [all...] |
ActivityRecord.java | 98 import static com.android.server.am.ActivityStack.ActivityState.DESTROYED; 99 import static com.android.server.am.ActivityStack.ActivityState.DESTROYING; 100 import static com.android.server.am.ActivityStack.ActivityState.INITIALIZING; 101 import static com.android.server.am.ActivityStack.ActivityState.PAUSED; 102 import static com.android.server.am.ActivityStack.ActivityState.PAUSING; 103 import static com.android.server.am.ActivityStack.ActivityState.RESUMED; 104 import static com.android.server.am.ActivityStack.ActivityState.STOPPED; 105 import static com.android.server.am.ActivityStack.ActivityState.STOPPING; 106 import static com.android.server.am.ActivityStack.LAUNCH_TICK; 107 import static com.android.server.am.ActivityStack.LAUNCH_TICK_MSG [all...] |
ActivityStarter.java | 78 import static com.android.server.am.ActivityStack.ActivityState.RESUMED; 79 import static com.android.server.am.ActivityStack.STACK_INVISIBLE; 178 private ActivityStack mSourceStack; 179 private ActivityStack mTargetStack; 427 final ActivityStack resultStack = resultRecord == null ? null : resultRecord.getStack(); 546 final ActivityStack stack = mSupervisor.mFocusedStack; 598 ActivityStack targetStack) { 612 final ActivityStack currentStack = r.getStack(); 620 final ActivityStack homeStack = mSupervisor.getStack(HOME_STACK_ID); [all...] |
PinnedActivityStack.java | 32 class PinnedActivityStack extends ActivityStack<PinnedStackWindowController>
|
KeyguardController.java | 238 final ArrayList<ActivityStack> stacks = mStackSupervisor.getStacksOnDefaultDisplay(); 240 final ActivityStack stack = stacks.get(stackNdx);
|
ActivityStack.java | 68 import static com.android.server.am.ActivityStack.ActivityState.PAUSED; 71 import static com.android.server.am.ActivityStack.ActivityState.STOPPED; 72 import static com.android.server.am.ActivityStack.ActivityState.STOPPING; 145 class ActivityStack<T extends StackWindowController> extends ConfigurationContainer 148 private static final String TAG = TAG_WITH_CLASS_NAME ? "ActivityStack" : TAG_AM; 342 ArrayList<ActivityStack> mStacks; 451 ActivityStack(ActivityStackSupervisor.ActivityDisplay display, int stackId, 557 * @see ActivityStack.getStackDockedModeBounds(Rect, Rect, Rect, boolean) [all...] |
ActivityMetricsLogger.java | 32 import static com.android.server.am.ActivityStack.STACK_INVISIBLE; 113 ActivityStack stack = mSupervisor.getStack(DOCKED_STACK_ID);
|
RecentTasks.java | 149 final ActivityStack stack = task != null ? task.getStack() : null; 183 final ActivityStack<?> stack = task.getStack(); 643 final ActivityStack stack = task.getStack(); 646 final ActivityStack trStack = tr.getStack(); [all...] |
TaskRecord.java | 118 import static com.android.server.am.ActivityStack.REMOVE_TASK_MODE_MOVING; 119 import static com.android.server.am.ActivityStack.REMOVE_TASK_MODE_MOVING_TO_TOP; 258 private ActivityStack mStack; 630 final ActivityStack sourceStack = getStack(); 631 final ActivityStack toStack = supervisor.getReparentTargetStack(this, preferredStackId, [all...] |
CompatModePackages.java | 368 final ActivityStack stack = mService.getFocusedStack();
|
PendingIntentRecord.java | 347 final ActivityStack stack = key.activity.getStack();
|
TaskPersister.java | 665 final ActivityStack stack = task.getStack(); [all...] |
ActivityManagerService.java | 406 import com.android.server.am.ActivityStack.ActivityState; [all...] |
/cts/hostsidetests/services/activityandwindowmanager/util/src/android/server/cts/ |
ActivityManagerState.java | 63 Pattern.compile("mFocusedStack=ActivityStack\\{(.+) stackId=(\\d+), (.+)\\}(.+)"); 69 private final List<ActivityStack> mStacks = new ArrayList(); 71 private final Map<Integer, List<ActivityStack>> mDisplayStacks = new HashMap<>(); 144 final ActivityStack stack = ActivityStack.create(mSysDump, mStackIdPattern, 230 ActivityStack getStackById(int stackId) { 231 for (ActivityStack stack : mStacks) { 248 List<ActivityStack> getStacks() { 257 for (ActivityStack stack : mStacks) { 270 for (ActivityStack stack : mStacks) [all...] |
ActivityAndWindowManagersState.java | 28 import android.server.cts.ActivityManagerState.ActivityStack; 486 for (ActivityStack aStack : mAmState.getStacks()) { 618 for (ActivityStack aStack : mAmState.getStacks()) { 654 for (ActivityStack aStack : mAmState.getStacks()) { 699 for (ActivityStack aStack : mAmState.getStacks()) { [all...] |
ActivityManagerTestBase.java | 40 import android.server.cts.ActivityManagerState.ActivityStack; 380 final List<ActivityStack> stacks = mAmWmState.getAmState().getStacks(); 382 for (ActivityStack s : stacks) { [all...] |
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/src/android/server/cts/ |
ActivityManagerDisplayTests.java | 156 final ActivityManagerState.ActivityStack frontStack 192 final ActivityManagerState.ActivityStack focusedStack 242 final ActivityManagerState.ActivityStack focusedStack 289 final ActivityManagerState.ActivityStack focusedStack 327 final ActivityManagerState.ActivityStack frontStack 362 final ActivityManagerState.ActivityStack frontStack 394 final ActivityManagerState.ActivityStack frontStack = 424 final ActivityManagerState.ActivityStack frontStack = 457 final ActivityManagerState.ActivityStack frontStack = 483 ActivityManagerState.ActivityStack frontStack [all...] |
ActivityManagerFreeformStackTests.java | 19 import android.server.cts.ActivityManagerState.ActivityStack; 74 final ActivityStack stack = mAmWmState.getAmState().getStackById(task.mStackId);
|
ActivityManagerPinnedStackTests.java | 22 import android.server.cts.ActivityManagerState.ActivityStack; 488 final ActivityStack pinnedStack = mAmWmState.getAmState().getStackById(PINNED_STACK_ID); 506 final ActivityStack pinnedStack = mAmWmState.getAmState().getStackById(PINNED_STACK_ID); 512 final ActivityStack fullScreenStack = mAmWmState.getAmState().getStackById( [all...] |
ActivityManagerAppConfigurationTests.java | 22 import android.server.cts.ActivityManagerState.ActivityStack; 285 final ActivityManagerState.ActivityStack stack = mAmWmState.getAmState()
|