/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 148 public WaitForValidActivityState build() { in build() 149 return new WaitForValidActivityState(this); in build()
|
D | ActivityAndWindowManagersState.java | 93 .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 …]
|
D | ActivityManagerTestBase.java | 627 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/ |
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 143 public WaitForValidActivityState build() { in build() 144 return new WaitForValidActivityState(this); in build()
|
D | ActivityAndWindowManagersState.java | 84 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()
|
D | ActivityManagerTestBase.java | 155 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/ |
D | ActivityVisibilityTests.java | 95 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()
|
D | FreeformWindowingModeTests.java | 136 mAmWmState.computeState(new WaitForValidActivityState.Builder(TEST_ACTIVITY).build(), in testActivityLifeCycleOnResizeFreeformTask() 137 new WaitForValidActivityState.Builder(NO_RELAUNCH_ACTIVITY).build()); in testActivityLifeCycleOnResizeFreeformTask()
|
D | AppConfigurationTests.java | 255 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));
|
D | PinnedStackTests.java | 208 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()
|
D | AssistantStackTests.java | 372 mAmWmState.waitForValidState(new WaitForValidActivityState.Builder(activityName) in waitForValidStateWithActivityType() 379 mAmWmState.waitForValidState(new WaitForValidActivityState.Builder(activityName) in waitForValidStateWithActivityTypeAndWindowingMode()
|
D | SplitScreenTests.java | 562 new WaitForValidActivityState(TEST_ACTIVITY), in testResizeDockedStack() 563 new WaitForValidActivityState(DOCKED_ACTIVITY)); in testResizeDockedStack() 665 mAmWmState.computeState(new WaitForValidActivityState.Builder(DOCKED_ACTIVITY) in testStackListOrderOnSplitScreenDismissed()
|
D | MultiDisplayPolicyTests.java | 181 new WaitForValidActivityState(RESIZEABLE_ACTIVITY), in testDisplayResize() 182 new WaitForValidActivityState(VIRTUAL_DISPLAY_ACTIVITY)); in testDisplayResize() 524 mAmWmState.waitForValidState(new WaitForValidActivityState.Builder(RESIZEABLE_ACTIVITY) in tryCreatingAndRemovingDisplayWithActivity()
|
D | AlertWindowsTests.java | 130 mAmWmState.computeState(new WaitForValidActivityState(activityName)); in runAlertWindowTest()
|
D | DialogFrameTests.java | 90 mAmWmState.computeState(WaitForValidActivityState.forWindow(DIALOG_WINDOW_NAME)); in doSingleTest()
|
D | KeyguardLockedTests.java | 383 mAmWmState.waitForValidState(new WaitForValidActivityState.Builder(activityName) in waitForEnterPip()
|
D | MultiDisplayTestBase.java | 415 new WaitForValidActivityState(VIRTUAL_DISPLAY_ACTIVITY)); in createVirtualDisplays()
|