Home
last modified time | relevance | path

Searched refs:WaitForValidActivityState (Results 1 – 15 of 15) 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
147 public WaitForValidActivityState build() { in build()
148 return new WaitForValidActivityState(this); in build()
DWindowManagerStateHelper.java69 .map(WaitForValidActivityState::new) in computeState()
70 .toArray(WaitForValidActivityState[]::new)); in computeState()
79 public void computeState(WaitForValidActivityState... waitForActivitiesVisible) { in computeState()
90 .map(WaitForValidActivityState::new) in waitForValidState()
91 .toArray(WaitForValidActivityState[]::new)); in waitForValidState()
99 public void waitForValidState(WaitForValidActivityState... waitForActivitiesVisible) { in waitForValidState()
484 private boolean shouldWaitForActivities(WaitForValidActivityState... waitForActivitiesVisible) {
493 for (final WaitForValidActivityState state : waitForActivitiesVisible) {
845 waitForValidState(WaitForValidActivityState.forWindow(windowName));
DActivityManagerTestBase.java1020 mWmState.waitForValidState(new WaitForValidActivityState.Builder(activityName) in launchActivity()
1029 mWmState.waitForValidState(new WaitForValidActivityState.Builder(activityName) in launchActivityOnDisplay()
1039 mWmState.waitForValidState(new WaitForValidActivityState.Builder(activityName) in launchActivityOnTaskDisplayArea()
1049 mWmState.waitForValidState(new WaitForValidActivityState.Builder(activityName) in launchActivityOnTaskDisplayArea()
1178 mWmState.waitForValidState(new WaitForValidActivityState.Builder(activityName) in moveActivityToRootTaskOrOnTop()
2951 mWmState.computeState(new WaitForValidActivityState(activityName));
3052 mWmState.computeState(new WaitForValidActivityState(primaryActivityName),
3053 new WaitForValidActivityState(secondaryActivityName));
3247 mWmState.computeState(new WaitForValidActivityState(activityAndBounds.first));
3279 mWmState.computeState(new WaitForValidActivityState(activityAndBounds.first));
[all …]
DMultiDisplayTestBase.java393 new WaitForValidActivityState(VIRTUAL_DISPLAY_ACTIVITY)); in createVirtualDisplays()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DActivityVisibilityTests.java68 import android.server.wm.WaitForValidActivityState;
121 new WaitForValidActivityState(TEST_ACTIVITY), in testTranslucentActivityOverMultiWindowActivity()
122 new WaitForValidActivityState(DOCKED_ACTIVITY), in testTranslucentActivityOverMultiWindowActivity()
123 new WaitForValidActivityState(TRANSLUCENT_ACTIVITY)); in testTranslucentActivityOverMultiWindowActivity()
140 mWmState.computeState(new WaitForValidActivityState(TEST_ACTIVITY)); in testVisibilityBehindTranslucentActivity_sameTask()
151 mWmState.computeState(new WaitForValidActivityState(TEST_ACTIVITY)); in testVisibilityBehindTranslucentActivity_diffTask()
203 mWmState.computeState(new WaitForValidActivityState(TRANSLUCENT_TEST_ACTIVITY)); in launchAndFinishActivityBehindTranslucentActivity()
305 new WaitForValidActivityState.Builder(TURN_SCREEN_ON_ACTIVITY) in testFreeformWindowTurnScreenOnActivity()
724 new WaitForValidActivityState.Builder(TURN_SCREEN_ON_SHOW_ON_LOCK_ACTIVITY) in testChangeToFullscreenWhenLockWithAttrInFreeform()
DAssistantStackTests.java57 import android.server.wm.WaitForValidActivityState;
421 mWmState.waitForValidState(new WaitForValidActivityState.Builder(activityName) in waitForValidStateWithActivityType()
428 mWmState.waitForValidState(new WaitForValidActivityState.Builder(activityName) in waitForValidStateWithActivityTypeAndWindowingMode()
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DTvMaxWindowSizeTests.java40 import android.server.wm.WaitForValidActivityState;
105 mWmState.computeState(new WaitForValidActivityState(componentName)); in launchAndGetReportedSizes()
DPinnedStackTests.java144 import android.server.wm.WaitForValidActivityState;
284 new WaitForValidActivityState(PIP_ACTIVITY)); in testNonTappablePipActivity()
792 new WaitForValidActivityState(NON_RESIZEABLE_ACTIVITY)); in testAutoEnterPictureInPictureLaunchActivity()
812 new WaitForValidActivityState(TEST_ACTIVITY)); in testAutoEnterPictureInPictureFinish()
1467 new WaitForValidActivityState.Builder(ALWAYS_FOCUSABLE_PIP_ACTIVITY) in testTranslucentActivityOnTopOfPinnedTask()
1509 mWmState.waitForValidState(new WaitForValidActivityState.Builder(TEST_ACTIVITY) in testLaunchTaskByAffinityMatchMultipleTasks()
2040 mWmState.waitForValidState(new WaitForValidActivityState.Builder(activityName) in launchPinnedActivityAsTaskOverlay()
2084 mWmState.waitForValidState(new WaitForValidActivityState.Builder(topActivityName) in pinnedStackTester()
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/
DFreeformWindowingModeTests.java41 import android.server.wm.WaitForValidActivityState;
148 mWmState.computeState(new WaitForValidActivityState.Builder(TEST_ACTIVITY).build(), in testActivityLifeCycleOnResizeFreeformTask()
149 new WaitForValidActivityState.Builder(NO_RELAUNCH_ACTIVITY).build()); in testActivityLifeCycleOnResizeFreeformTask()
DAppConfigurationTests.java72 import android.server.wm.WaitForValidActivityState;
346 new WaitForValidActivityState.Builder(DIALOG_WHEN_LARGE_ACTIVITY) in testDialogWhenLargeSplitSmall()
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DDialogFrameTests.java44 import android.server.wm.WaitForValidActivityState;
98 WaitForValidActivityState.forWindow(DIALOG_WINDOW_NAME), in doSingleTest()
99 WaitForValidActivityState.forWindow(mainWindowName)); in doSingleTest()
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DAlertWindowsTests.java39 import android.server.wm.WaitForValidActivityState;
132 mWmState.computeState(new WaitForValidActivityState(activityName)); in runAlertWindowTest()
DMultiWindowTests.java50 import android.server.wm.WaitForValidActivityState;
570 mWmState.computeState(new WaitForValidActivityState(TRANSLUCENT_TEST_ACTIVITY)); in testVisibilityWithTranslucentAndTopFinishingActivity()
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/
DMultiDisplayPolicyTests.java61 import android.server.wm.WaitForValidActivityState;
183 new WaitForValidActivityState(RESIZEABLE_ACTIVITY), in testDisplayResize()
184 new WaitForValidActivityState(VIRTUAL_DISPLAY_ACTIVITY)); in testDisplayResize()
496 mWmState.waitForValidState(new WaitForValidActivityState.Builder(RESIZEABLE_ACTIVITY) in tryCreatingAndRemovingDisplayWithActivity()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/
DActivityStarterTests.java54 import android.server.wm.WaitForValidActivityState;
788 mWmState.waitForValidState(new WaitForValidActivityState.Builder(STANDARD_ACTIVITY) in launchAndAssertActivityWindowingMode()