Home
last modified time | relevance | path

Searched refs:WaitForValidActivityState (Results 1 – 17 of 17) sorted by relevance

/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWaitForValidActivityState.java37 public class WaitForValidActivityState { class
46 public static WaitForValidActivityState forWindow(final String windowName) { in forWindow()
50 public WaitForValidActivityState(final ComponentName activityName) { in WaitForValidActivityState() method in WaitForValidActivityState
58 private WaitForValidActivityState(final Builder builder) { in WaitForValidActivityState() method in WaitForValidActivityState
148 public WaitForValidActivityState build() { in build()
149 return new WaitForValidActivityState(this); in build()
DActivityAndWindowManagersState.java93 .map(WaitForValidActivityState::new) in computeState()
94 .toArray(WaitForValidActivityState[]::new)); in computeState()
103 public void computeState(WaitForValidActivityState... waitForActivitiesVisible) { in computeState()
115 WaitForValidActivityState... waitForActivitiesVisible) { in computeState()
127 .map(WaitForValidActivityState::new) in waitForValidState()
128 .toArray(WaitForValidActivityState[]::new)); in waitForValidState()
133 void waitForValidState(WaitForValidActivityState... waitForActivityVisible) { in waitForValidState()
145 WaitForValidActivityState... waitForActivitiesVisible) { in waitForValidState()
431 private boolean shouldWaitForActivities(WaitForValidActivityState... waitForActivitiesVisible) { in shouldWaitForActivities()
440 for (final WaitForValidActivityState state : waitForActivitiesVisible) { in shouldWaitForActivities()
[all …]
DActivityManagerTestBase.java627 mAmWmState.waitForValidState(new WaitForValidActivityState.Builder(activityName) in launchActivity()
636 mAmWmState.waitForValidState(new WaitForValidActivityState.Builder(activityName) in launchActivityOnDisplay()
673 new WaitForValidActivityState.Builder(activityName) in launchActivityInSplitScreenWithRecents()
760 mAmWmState.waitForValidState(new WaitForValidActivityState.Builder(activityName) in setActivityTaskWindowingMode()
772 mAmWmState.waitForValidState(new WaitForValidActivityState.Builder(activityName) in moveActivityToStack()
/cts/tests/tests/keystore/src/android/server/am/
DWaitForValidActivityState.java37 public class WaitForValidActivityState { class
46 public static WaitForValidActivityState forWindow(final String windowName) { in forWindow()
50 public WaitForValidActivityState(final ComponentName activityName) { in WaitForValidActivityState() method in WaitForValidActivityState
58 private WaitForValidActivityState(final Builder builder) { in WaitForValidActivityState() method in WaitForValidActivityState
143 public WaitForValidActivityState build() { in build()
144 return new WaitForValidActivityState(this); in build()
DActivityAndWindowManagersState.java84 public void computeState(WaitForValidActivityState... waitForActivitiesVisible) { in computeState()
96 WaitForValidActivityState... waitForActivitiesVisible) { in computeState()
101 void waitForValidState(WaitForValidActivityState... waitForActivityVisible) { in waitForValidState()
113 WaitForValidActivityState... waitForActivitiesVisible) { in waitForValidState()
141 waitForValidState(new WaitForValidActivityState(homeActivity)); in waitForHomeActivityVisible()
225 private boolean shouldWaitForActivities(WaitForValidActivityState... waitForActivitiesVisible) { in shouldWaitForActivities()
235 for (final WaitForValidActivityState state : waitForActivitiesVisible) { in shouldWaitForActivities()
DActivityManagerTestBase.java155 mAmWmState.waitForValidState(new WaitForValidActivityState(activityName)); in launchActivity()
171 mAmWmState.waitForValidState(new WaitForValidActivityState.Builder(activityName) in launchActivity()
179 mAmWmState.waitForValidState(new WaitForValidActivityState.Builder(activityName) in setActivityTaskWindowingMode()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DActivityVisibilityTests.java95 new WaitForValidActivityState.Builder(ALWAYS_FOCUSABLE_PIP_ACTIVITY) in testTranslucentActivityOnTopOfPinnedStack()
145 new WaitForValidActivityState.Builder(ALWAYS_FOCUSABLE_PIP_ACTIVITY) in testHomeVisibleOnActivityTaskPinned()
167 new WaitForValidActivityState(TEST_ACTIVITY), in testTranslucentActivityOverDockedStack()
168 new WaitForValidActivityState(DOCKED_ACTIVITY), in testTranslucentActivityOverDockedStack()
169 new WaitForValidActivityState(TRANSLUCENT_ACTIVITY)); in testTranslucentActivityOverDockedStack()
DFreeformWindowingModeTests.java136 mAmWmState.computeState(new WaitForValidActivityState.Builder(TEST_ACTIVITY).build(), in testActivityLifeCycleOnResizeFreeformTask()
137 new WaitForValidActivityState.Builder(NO_RELAUNCH_ACTIVITY).build()); in testActivityLifeCycleOnResizeFreeformTask()
DAppConfigurationTests.java255 new WaitForValidActivityState.Builder(activityName).build()); in moveActivityFullSplitFull()
313 new WaitForValidActivityState.Builder(DIALOG_WHEN_LARGE_ACTIVITY) in testDialogWhenLargeSplitSmall()
760 new WaitForValidActivityState.Builder(activityName).build()); in moveActivitySplitFullSplit()
837 new WaitForValidActivityState(activityName));
DPinnedStackTests.java208 new WaitForValidActivityState(PIP_ACTIVITY)); in testNonTappablePipActivity()
498 new WaitForValidActivityState(NON_RESIZEABLE_ACTIVITY)); in testAutoEnterPictureInPictureLaunchActivity()
1108 mAmWmState.waitForValidState(new WaitForValidActivityState.Builder(TEST_ACTIVITY) in testLaunchTaskByAffinityMatchMultipleTasks()
1406 mAmWmState.waitForValidState(new WaitForValidActivityState.Builder(activityName) in waitForEnterPip()
1437 mAmWmState.waitForValidState(new WaitForValidActivityState.Builder(activityName) in waitForExitPipToFullscreen()
1518 mAmWmState.waitForValidState(new WaitForValidActivityState.Builder(activityName) in launchPinnedActivityAsTaskOverlay()
1569 mAmWmState.waitForValidState(new WaitForValidActivityState.Builder(topActivityName) in pinnedStackTester()
DAssistantStackTests.java372 mAmWmState.waitForValidState(new WaitForValidActivityState.Builder(activityName) in waitForValidStateWithActivityType()
379 mAmWmState.waitForValidState(new WaitForValidActivityState.Builder(activityName) in waitForValidStateWithActivityTypeAndWindowingMode()
DSplitScreenTests.java562 new WaitForValidActivityState(TEST_ACTIVITY), in testResizeDockedStack()
563 new WaitForValidActivityState(DOCKED_ACTIVITY)); in testResizeDockedStack()
665 mAmWmState.computeState(new WaitForValidActivityState.Builder(DOCKED_ACTIVITY) in testStackListOrderOnSplitScreenDismissed()
DMultiDisplayPolicyTests.java181 new WaitForValidActivityState(RESIZEABLE_ACTIVITY), in testDisplayResize()
182 new WaitForValidActivityState(VIRTUAL_DISPLAY_ACTIVITY)); in testDisplayResize()
524 mAmWmState.waitForValidState(new WaitForValidActivityState.Builder(RESIZEABLE_ACTIVITY) in tryCreatingAndRemovingDisplayWithActivity()
DAlertWindowsTests.java130 mAmWmState.computeState(new WaitForValidActivityState(activityName)); in runAlertWindowTest()
DDialogFrameTests.java90 mAmWmState.computeState(WaitForValidActivityState.forWindow(DIALOG_WINDOW_NAME)); in doSingleTest()
DKeyguardLockedTests.java383 mAmWmState.waitForValidState(new WaitForValidActivityState.Builder(activityName) in waitForEnterPip()
DMultiDisplayTestBase.java415 new WaitForValidActivityState(VIRTUAL_DISPLAY_ACTIVITY)); in createVirtualDisplays()