/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | WaitForValidActivityState.java | 37 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()
|
D | WindowManagerStateHelper.java | 69 .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));
|
D | ActivityManagerTestBase.java | 1020 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 …]
|
D | MultiDisplayTestBase.java | 393 new WaitForValidActivityState(VIRTUAL_DISPLAY_ACTIVITY)); in createVirtualDisplays()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/ |
D | ActivityVisibilityTests.java | 68 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()
|
D | AssistantStackTests.java | 57 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/ |
D | TvMaxWindowSizeTests.java | 40 import android.server.wm.WaitForValidActivityState; 105 mWmState.computeState(new WaitForValidActivityState(componentName)); in launchAndGetReportedSizes()
|
D | PinnedStackTests.java | 144 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/ |
D | FreeformWindowingModeTests.java | 41 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()
|
D | AppConfigurationTests.java | 72 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/ |
D | DialogFrameTests.java | 44 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/ |
D | AlertWindowsTests.java | 39 import android.server.wm.WaitForValidActivityState; 132 mWmState.computeState(new WaitForValidActivityState(activityName)); in runAlertWindowTest()
|
D | MultiWindowTests.java | 50 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/ |
D | MultiDisplayPolicyTests.java | 61 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/ |
D | ActivityStarterTests.java | 54 import android.server.wm.WaitForValidActivityState; 788 mWmState.waitForValidState(new WaitForValidActivityState.Builder(STANDARD_ACTIVITY) in launchAndAssertActivityWindowingMode()
|