Home
last modified time | relevance | path

Searched refs:ActivityManagerState (Results 1 – 25 of 32) sorted by relevance

12

/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DPersistence.java23 import android.server.wm.ActivityManagerState;
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()
534 for (ActivityManagerState.ActivityTask task : stack.getTasks()) { in StackState()
[all …]
DLaunchRunner.java36 import android.server.wm.ActivityManagerState;
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/
DVrDisplayTests.java34 import android.server.wm.ActivityManagerState.ActivityDisplay;
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()
DFreeformWindowingModeTests.java30 import android.server.wm.ActivityManagerState.ActivityStack;
31 import android.server.wm.ActivityManagerState.ActivityTask;
58 final ActivityManagerState.ActivityDisplay display = virtualDisplaySession in testFreeformWindowManagementSupport()
DMultiDisplayLockedKeyguardTests.java19 import static android.server.wm.ActivityManagerState.STATE_RESUMED;
20 import static android.server.wm.ActivityManagerState.STATE_STOPPED;
30 import android.server.wm.ActivityManagerState.ActivityDisplay;
DMultiDisplayClientTests.java100 final ActivityManagerState.ActivityDisplay newDisplay = in testDisplayIdUpdateOnMove()
174 final ActivityManagerState.ActivityDisplay newDisplay = virtualDisplaySession in testDisplayIdUpdateWhenImeMove()
209 final ActivityManagerState.ActivityDisplay newDisplay = virtualDisplaySession in testInputMethodManagerDisplayId()
DDisplayTests.java33 import android.server.wm.ActivityManagerState.ActivityDisplay;
117 final ActivityManagerState.ActivityStack frontStack = in testMultiDisplayDisabled()
DAssistantStackTests.java26 import static android.server.wm.ActivityManagerState.STATE_RESUMED;
78 ActivityManagerState.ActivityStack assistantStack = in setUp()
317 final ActivityManagerState amState = mAmWmState.getAmState(); in testLaunchIntoSameTask()
DActivityVisibilityTests.java28 import static android.server.wm.ActivityManagerState.STATE_PAUSED;
29 import static android.server.wm.ActivityManagerState.STATE_RESUMED;
30 import static android.server.wm.ActivityManagerState.STATE_STOPPED;
DMultiDisplayActivityLaunchTests.java26 import static android.server.wm.ActivityManagerState.STATE_RESUMED;
27 import static android.server.wm.ActivityManagerState.STATE_STOPPED;
56 import android.server.wm.ActivityManagerState.ActivityDisplay;
57 import android.server.wm.ActivityManagerState.ActivityStack;
DAppConfigurationTests.java26 import static android.server.wm.ActivityManagerState.STATE_RESUMED;
189 final ActivityManagerState.ActivityTask task = in rotateAndCheckSizes()
256 final ActivityManagerState.ActivityStack stack = mAmWmState.getAmState() in moveActivityFullSplitFull()
303 final ActivityManagerState.ActivityStack stack = mAmWmState.getAmState() in testDialogWhenLargeSplitSmall()
DMultiDisplayPolicyTests.java21 import static android.server.wm.ActivityManagerState.STATE_RESUMED;
22 import static android.server.wm.ActivityManagerState.STATE_STOPPED;
54 import android.server.wm.ActivityManagerState.ActivityDisplay;
55 import android.server.wm.ActivityManagerState.ActivityStack;
DActivityViewTest.java19 import static android.server.wm.ActivityManagerState.STATE_RESUMED;
20 import static android.server.wm.ActivityManagerState.STATE_STOPPED;
DMultiDisplayKeyguardTests.java28 import android.server.wm.ActivityManagerState.ActivityDisplay;
DKeyguardTransitionTests.java19 import static android.server.wm.ActivityManagerState.STATE_STOPPED;
DKeyguardTests.java366 ActivityManagerState.ActivityDisplay display = mAmWmState.getAmState() in testNoTransientConfigurationWhenShowWhenLockedRequestsOrientation()
435 ActivityManagerState.STATE_RESUMED)); in testResumeOccludingActivityFromBackground()
/cts/tests/tests/keystore/src/android/server/am/
DActivityAndWindowManagersState.java43 import android.server.am.ActivityManagerState.ActivityStack;
44 import android.server.am.ActivityManagerState.ActivityTask;
75 private ActivityManagerState mAmState = new ActivityManagerState();
157 void waitForWithAmState(Predicate<ActivityManagerState> waitCondition, String message) { in waitForWithAmState()
162 BiPredicate<ActivityManagerState, WindowManagerState> waitCondition, String message) { in waitFor() argument
DActivityManagerState.java51 public class ActivityManagerState { class
250 ActivityDisplay(ActivityDisplayProto proto, ActivityManagerState amState) { in ActivityDisplay()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityAndWindowManagersState.java50 import android.server.wm.ActivityManagerState.ActivityStack;
51 import android.server.wm.ActivityManagerState.ActivityTask;
81 private final ActivityManagerState mAmState = new ActivityManagerState();
249 waitForWithAmState(ActivityManagerState::isRecentsActivityVisible, in waitForRecentsActivityVisible()
359 public void waitForWithAmState(Predicate<ActivityManagerState> waitCondition, String message) { in waitForWithAmState()
368 BiPredicate<ActivityManagerState, WindowManagerState> waitCondition, String message) { in waitFor() argument
539 public ActivityManagerState getAmState() { in getAmState()
DActivityManagerTestBase.java61 import static android.server.wm.ActivityManagerState.STATE_RESUMED;
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()
609 for (ActivityManagerState.ActivityTask task : stack.mTasks) { in getStackForTaskId()
720 final ActivityManagerState.ActivityStack stack = in moveTaskToPrimarySplitScreen()
877 ActivityManagerState.ActivityStack frontStackOnDisplay = in waitAndAssertTopResumedActivity()
DActivityManagerState.java58 public class ActivityManagerState { class
373 final ActivityManagerState.ActivityTask task = getTaskByActivity(activityComponent); in getDisplayByActivity()
652 ActivityDisplay(ActivityDisplayProto proto, ActivityManagerState amState) { in ActivityDisplay()
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityLifecycleFreeformTests.java22 import static android.server.wm.ActivityManagerState.STATE_PAUSED;
23 import static android.server.wm.ActivityManagerState.STATE_RESUMED;
24 import static android.server.wm.ActivityManagerState.STATE_STOPPED;
DActivityLifecycleTopResumedStateTests.java51 import android.server.wm.ActivityManagerState;
52 import android.server.wm.ActivityManagerState.ActivityStack;
53 import android.server.wm.ActivityManagerState.ActivityTask;
761 final ActivityManagerState.ActivityDisplay newDisplay in testTopPositionSwitchAcrossDisplays()
809 final ActivityManagerState.ActivityDisplay newDisplay in testTopPositionSwitchAcrossDisplaysOnTap()
859 final ActivityManagerState.ActivityDisplay newDisplay in testTopPositionSwitchAcrossDisplaysOnTapSlowDifferentProcess()
929 final ActivityManagerState.ActivityDisplay newDisplay in testTopPositionSwitchAcrossDisplaysOnTapTimeoutDifferentProcess()
DActivityStarterTests.java25 import static android.server.wm.ActivityManagerState.STATE_DESTROYED;
26 import static android.server.wm.ActivityManagerState.STATE_RESUMED;
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DBackgroundActivityLaunchTest.java21 import static android.server.wm.ActivityManagerState.STATE_INITIALIZING;
22 import static android.server.wm.ActivityManagerState.STATE_RESUMED;
443 List<ActivityManagerState.Activity> actual = mAmWmState.getAmState().getTaskByActivity( in assertTaskStack()

12