/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | PresentationTest.java | 56 WindowManagerState.DisplayContent display = in testPresentationAllowedOnPresentationDisplay() 72 WindowManagerState.DisplayContent display = virtualDisplaySession in testPresentationNotDismissAfterResizeDisplay() 94 WindowManagerState.DisplayContent display = in testPresentationBlockedOnNonPresentationDisplay() 104 private boolean isPresentationOnDisplay(WindowManagerState windowManagerState, int displayId) { in isPresentationOnDisplay() 105 final List<WindowManagerState.WindowState> states = in isPresentationOnDisplay() 107 for (WindowManagerState.WindowState ws : states) { in isPresentationOnDisplay() 114 final List<WindowManagerState.WindowState> presentationWindows = in assertNoPresentationDisplayed() 121 final List<WindowManagerState.WindowState> presentationWindows = in assertPresentationOnDisplayAndMatchesDisplayMetrics() 125 WindowManagerState.WindowState presentationWindowState = presentationWindows.get(0); in assertPresentationOnDisplayAndMatchesDisplayMetrics() 128 WindowManagerState.DisplayContent display = mWmState.getDisplay(displayId); in assertPresentationOnDisplayAndMatchesDisplayMetrics()
|
D | AlertWindowsTests.java | 134 private boolean allWindowsHidden(List<WindowManagerState.WindowState> windows) { in allWindowsHidden() 135 for (WindowManagerState.WindowState ws : windows) { in allWindowsHidden() 146 final WindowManagerState wmState = mWmState; in assertAlertWindows() 148 final List<WindowManagerState.WindowState> alertWindows = in assertAlertWindows() 170 for (WindowManagerState.WindowState win : alertWindows) { in assertAlertWindows() 176 final WindowManagerState.WindowState mainAppWindow = in assertAlertWindows() 181 final WindowManagerState.WindowState lowestAlertWindow = alertWindows.get(0); in assertAlertWindows() 182 final WindowManagerState.WindowState highestAlertWindow = in assertAlertWindows() 191 final WindowManagerState.WindowState appOverlayWindow = in assertAlertWindows() 200 final List<WindowManagerState.WindowState> systemWindows = in assertAlertWindows() [all …]
|
D | TransitionSelectionTests.java | 21 import static android.server.wm.WindowManagerState.TRANSIT_ACTIVITY_CLOSE; 22 import static android.server.wm.WindowManagerState.TRANSIT_ACTIVITY_OPEN; 23 import static android.server.wm.WindowManagerState.TRANSIT_TASK_CLOSE; 24 import static android.server.wm.WindowManagerState.TRANSIT_TASK_OPEN; 25 import static android.server.wm.WindowManagerState.TRANSIT_TRANSLUCENT_ACTIVITY_CLOSE; 26 import static android.server.wm.WindowManagerState.TRANSIT_WALLPAPER_CLOSE; 27 import static android.server.wm.WindowManagerState.TRANSIT_WALLPAPER_INTRA_CLOSE; 28 import static android.server.wm.WindowManagerState.TRANSIT_WALLPAPER_INTRA_OPEN; 29 import static android.server.wm.WindowManagerState.TRANSIT_WALLPAPER_OPEN;
|
D | KeyguardTransitionTests.java | 19 import static android.server.wm.WindowManagerState.STATE_STOPPED; 20 import static android.server.wm.WindowManagerState.TRANSIT_ACTIVITY_OPEN; 21 import static android.server.wm.WindowManagerState.TRANSIT_KEYGUARD_GOING_AWAY; 22 import static android.server.wm.WindowManagerState.TRANSIT_KEYGUARD_GOING_AWAY_ON_WALLPAPER; 23 import static android.server.wm.WindowManagerState.TRANSIT_KEYGUARD_OCCLUDE; 24 import static android.server.wm.WindowManagerState.TRANSIT_KEYGUARD_UNOCCLUDE;
|
D | TaskFragmentOrganizerTest.java | 36 import android.server.wm.WindowManagerState.Task; 37 import android.server.wm.WindowManagerState.TaskFragment; 135 mWmState.waitForActivityState(mOwnerActivityName, WindowManagerState.STATE_RESUMED); in testReparentActivity() 168 mWmState.waitForActivityState(mLaunchingActivity, WindowManagerState.STATE_RESUMED); in testStartActivityInTaskFragment_reuseTask() 209 mWmState.waitForActivityState(mLaunchingActivity, WindowManagerState.STATE_RESUMED); in testStartActivityInTaskFragment_createNewTask() 280 waitAndAssertActivityState(mOwnerActivityName, WindowManagerState.STATE_STOPPED, in testActivityVisibilityBehindTaskFragment()
|
D | MultiDisplayLockedKeyguardTests.java | 19 import static android.server.wm.WindowManagerState.STATE_RESUMED; 20 import static android.server.wm.WindowManagerState.STATE_STOPPED; 30 import android.server.wm.WindowManagerState.DisplayContent;
|
D | WindowContextPolicyTests.java | 82 final WindowManagerState.DisplayContent display = createManagedVirtualDisplaySession() in testCreateMultipleWindowContextsWithoutView() 91 final WindowManagerState.DisplayContent display = createManagedVirtualDisplaySession() in testWindowContextWithAllPublicTypes() 112 final WindowManagerState.DisplayContent display = createManagedVirtualDisplaySession() in testWindowContextAddMismatchedWindowType()
|
D | WindowMetricsActivityTests.java | 23 import static android.server.wm.WindowManagerState.STATE_PAUSED; 131 WindowManagerState.Task task = wmState.getTaskByActivity(activityName); in waitForEnterPipAnimationComplete() 135 WindowManagerState.Activity activity = task.getActivity(activityName); in waitForEnterPipAnimationComplete() 147 WindowManagerState.Task task = wmState.getTaskByActivity(activityName); in waitForEnterPip() 312 WindowManagerState.Activity activityContainer = mWmState.getActivity(activityName); in assertMetricsValidityForNonresizableActivity() 344 WindowManagerState.DisplayArea tda = mWmState.getTaskDisplayArea(activityName); in getTaskDisplayAreaBounds()
|
D | DisplayAreaPolicyTests.java | 25 import android.server.wm.WindowManagerState.DisplayArea; 26 import android.server.wm.WindowManagerState.DisplayContent;
|
D | CompatScaleTests.java | 85 private WindowManagerState.WindowState mWindowStateNormal; 86 private WindowManagerState.WindowState mWindowStateDownscaled; 234 private WindowManagerState.WindowState getPackageWindowState() { in getPackageWindowState()
|
D | AspectRatioTestsBase.java | 53 final WindowManagerState.Activity activity = mWmState.getActivity(componentName); in runAspectRatioTest() 54 final WindowManagerState.DisplayContent display = mWmState.getDisplay(displayId); in runAspectRatioTest() 101 final WindowManagerState.DisplayContent display = mWmState.getDisplay(displayId); in getDisplayAspectRatio()
|
D | MultiWindowTests.java | 24 import static android.server.wm.WindowManagerState.STATE_RESUMED; 25 import static android.server.wm.WindowManagerState.STATE_STOPPED; 346 WindowManagerState.Task task = mWmState.getTaskByActivity(targetActivityName, in launchTargetToSide() 380 WindowManagerState.Task taskFinal = in launchTargetToSide() 449 final WindowManagerState.Task task = in testDisallowUpdateWindowingModeWhenInLockedTask() 485 final WindowManagerState.Task task = mWmState in testDisallowHierarchyOperationWhenInLockedTask() 487 final WindowManagerState.Task root = mWmState in testDisallowHierarchyOperationWhenInLockedTask()
|
D | ManifestLayoutTests.java | 21 import static android.server.wm.WindowManagerState.dpToPx; 38 import android.server.wm.WindowManagerState.WindowState; 68 private WindowManagerState.DisplayContent mDisplay;
|
D | CompatChangeTests.java | 522 WindowManagerState.Activity activityContainer = mWmState.getActivity(activity); in assertSizeCompatMode() 597 final WindowManagerState.Activity activity = mWmState.getActivity(activityName); in assertSandboxedByBounds() 601 WindowManagerState.DisplayArea tda = mWmState.getTaskDisplayArea(activityName); in assertSandboxedByBounds() 616 final WindowManagerState.Activity activity = mWmState.getActivity(activityName); in assertSandboxedByProvidesMaxBounds() 691 WindowManagerState.Activity activityContainer = mWmState.getActivity(activity); in runMinAspectRatioTest() 750 WindowManagerState.Activity activity = wmState.getActivity(activityName); in waitForActivityBoundsChanged()
|
D | FreeformWindowingModeTests.java | 21 import static android.server.wm.WindowManagerState.dpToPx; 32 import android.server.wm.WindowManagerState.Task;
|
D | ToastWindowTest.java | 38 import android.server.wm.WindowManagerState.WindowState; 132 WindowManagerState wmState = getWmState(); in testToastWindowIsNotClickable()
|
D | DisplayTests.java | 33 import android.server.wm.WindowManagerState.DisplayContent; 126 final WindowManagerState.Task frontStack = in testMultiDisplayDisabled()
|
D | WindowContextTests.java | 72 final WindowManagerState.DisplayContent display = createManagedVirtualDisplaySession() in testWindowContextConfigChanges() 132 final WindowManagerState.DisplayContent display = createManagedVirtualDisplaySession() in testWindowContextRegisterComponentCallbacks() 162 final WindowManagerState.DisplayContent display = createManagedVirtualDisplaySession() in testWindowContextGlobalConfigChanges() 217 final WindowManagerState.DisplayArea da = mWmState.getTaskDisplayArea(activityName); in testWindowProviderServiceLifecycle()
|
D | SplitActivityLifecycleTest.java | 23 import static android.server.wm.WindowManagerState.STATE_STARTED; 24 import static android.server.wm.WindowManagerState.STATE_STOPPED; 39 import android.server.wm.WindowManagerState.Task; 40 import android.server.wm.WindowManagerState.TaskFragment; 444 waitAndAssertActivityState(mActivityB, WindowManagerState.STATE_STOPPED, in testActivityLaunchAboveEmbeddedTaskInTaskFragment()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | WindowManagerStateHelper.java | 55 public class WindowManagerStateHelper extends WindowManagerState { 165 return waitForWithAmState(WindowManagerState::isRecentsActivityVisible, in waitForRecentsActivityVisible() 175 public static boolean isKeyguardShowingAndNotOccluded(WindowManagerState state) { in isKeyguardShowingAndNotOccluded() 277 state -> WindowManagerState.APP_STATE_RUNNING.equals( in waitForAppTransitionRunningOnDisplay() 284 state -> WindowManagerState.APP_STATE_IDLE.equals( in waitForAppTransitionIdleOnDisplay() 329 public boolean waitForWithAmState(String message, Predicate<WindowManagerState> waitCondition) { in waitForWithAmState() 333 public boolean waitForWithAmState(Predicate<WindowManagerState> waitCondition, in waitForWithAmState() 353 public boolean waitFor(String message, Predicate<WindowManagerState> waitCondition) { in waitFor() 358 public boolean waitFor(Predicate<WindowManagerState> waitCondition, String message) { in waitFor() 366 public <T> T waitForResult(String message, Function<WindowManagerState, T> function) { in waitForResult() argument [all …]
|
D | TouchHelper.java | 52 WindowManagerState.DisplayContent dc = mWmState.getDisplay(displayId); in touchAndCancelOnDisplayCenterSync() 121 public void tapOnTaskCenter(WindowManagerState.Task task) { in tapOnTaskCenter() 167 public void tapOnTaskCenterAsync(WindowManagerState.Task task) { in tapOnTaskCenterAsync()
|
/cts/tests/tests/systemui/src/android/systemui/cts/tv/ |
D | BasicPipTests.kt | 26 import android.server.wm.WindowManagerState in <lambda>() 150 wmState.waitForWithAmState("checking task windowing mode") { state: WindowManagerState -> in <lambda>() 157 state: WindowManagerState -> in <lambda>() 160 activity.state == WindowManagerState.STATE_PAUSED in <lambda>()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/ |
D | Persistence.java | 24 import android.server.wm.WindowManagerState; 456 public static StateDump fromTasks(List<WindowManagerState.Task> activityTasks, in fromTasks() 457 List<WindowManagerState.Task> baseStacks) { in fromTasks() 459 for (WindowManagerState.Task task : trimTasks(activityTasks, baseStacks)) { in fromTasks() 494 public static List<WindowManagerState.Task> trimTasks( in trimTasks() 495 List<WindowManagerState.Task> toTrim, in trimTasks() 496 List<WindowManagerState.Task> trimFrom) { in trimTasks() 498 for (WindowManagerState.Task task : trimFrom) { in trimTasks() 550 public TaskState(WindowManagerState.Task state) { in TaskState() 553 for (WindowManagerState.Activity activity : state.getActivities()) { in TaskState() [all …]
|
D | LaunchRunner.java | 39 import android.server.wm.WindowManagerState; 78 private List<WindowManagerState.Task> mBaseTasks; 306 List<WindowManagerState.Task> endStateTasks = in waitDumpAndTrim() 329 List<WindowManagerState.Task> endStateTasks = in waitDumpAndTrimForVerification() 339 private List<WindowManagerState.Task> getBaseTasks() { in getBaseTasks()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/ |
D | ActivityLifecycleFreeformTests.java | 23 import static android.server.wm.WindowManagerState.STATE_PAUSED; 24 import static android.server.wm.WindowManagerState.STATE_RESUMED; 25 import static android.server.wm.WindowManagerState.STATE_STOPPED;
|