/cts/tests/framework/base/windowmanager/src/android/server/wm/window/ |
D | AlertWindowsTests.java | 150 final WindowManagerState wmState = mWmState; in assertAlertWindows() local 153 wmState.getWindowsByPackageName(packageName, ALERT_WINDOW_TYPES); in assertAlertWindows() 181 wmState.getWindowByPackageName(packageName, TYPE_BASE_APPLICATION); in assertAlertWindows() 191 wmState.getZOrder(lowestAlertWindow), in assertAlertWindows() 192 greaterThan(wmState.getZOrder(mainAppWindow))); in assertAlertWindows() 196 wmState.getWindowByPackageName(packageName, TYPE_APPLICATION_OVERLAY); in assertAlertWindows() 199 wmState.getZOrder(highestAlertWindow), in assertAlertWindows() 200 lessThan(wmState.getZOrder(appOverlayWindow))); in assertAlertWindows() 205 wmState.getWindowsByPackageName(packageName, SYSTEM_WINDOW_TYPES); in assertAlertWindows() 209 wmState.getZOrder(highestAlertWindow), in assertAlertWindows() [all …]
|
D | ToastWindowTest.java | 113 WindowManagerStateHelper wmState = getWmState(); in testToastWindowTokenIsRemovedAfterToastIsHidden() local 114 wmState.waitFor( in testToastWindowTokenIsRemovedAfterToastIsHidden() 117 wmState.waitFor( in testToastWindowTokenIsRemovedAfterToastIsHidden() 132 WindowManagerState wmState = getWmState(); in testToastWindowIsNotClickable() local 133 wmState.computeState(); in testToastWindowIsNotClickable() 134 WindowState toastWindow = wmState.findFirstWindowWithType(LayoutParams.TYPE_TOAST); in testToastWindowIsNotClickable()
|
/cts/tests/tests/systemui/src/android/systemui/cts/tv/ |
D | BasicPipTests.kt | 119 wmState.assertActivityDisplayed(PIP_ACTIVITY) in <lambda>() 120 wmState.assertNotFocusedWindow("PiP Window must not be focused!", in <lambda>() 152 wmState.waitForWithAmState("checking task windowing mode") { state: WindowManagerState -> in <lambda>() 158 wmState.waitForWithAmState("checking activity windowing mode") { in <lambda>()
|
D | MicIndicatorTest.kt | 136 wmState.waitFor("Waiting for the mic indicator window to come up") { in assertIndicatorWindowVisible() 145 wmState.waitFor("Waiting for the mic indicator window to disappear") { in assertIndicatorWindowGone()
|
D | TvTestBase.kt | 57 protected val wmState: WindowManagerStateHelper = WindowManagerStateHelper() constant in android.systemui.cts.tv.TvTestBase
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/ |
D | ParentChildTestBase.java | 72 mWmState.waitFor(wmState -> !wmState.containsActivity(activityName()), in doDockedTest()
|
D | DialogFrameTests.java | 274 final WindowManagerState wmState = mWmState; in testDialogPlacedAboveParent() local 282 wmState.getZOrder(dialog), greaterThan(wmState.getZOrder(parent)))); in testDialogPlacedAboveParent()
|
/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/ |
D | WallpaperWindowsTestUtils.java | 67 (wmState) -> checkMatchingWindowVisibility(name, expectedVisibility), in waitForMatchingWindowVisibility() 77 (wmState) -> checkMatchingPackages(expected), in waitForMatchingPackages()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/ |
D | FreeformWindowingModeTests.java | 228 return mWmState.waitForWithAmState(wmState -> { in waitForEnterFullscreen() 229 Task task = wmState.getTaskByActivity(activityName); in waitForEnterFullscreen() 235 return mWmState.waitForWithAmState(wmState -> { in waitForExitFullscreen() 236 Task task = wmState.getTaskByActivity(activityName); in waitForExitFullscreen()
|
/cts/tests/tests/dpi/src/android/dpi/cts/ |
D | ConfigurationScreenLayoutTest.java | 83 WindowManagerStateHelper wmState = new WindowManagerStateHelper(); in testScreenLayout() local 84 wmState.computeState(); in testScreenLayout() 86 || wmState.isTaskDisplayAreaIgnoringOrientationRequest( in testScreenLayout()
|
/cts/tests/input/src/android/input/cts/ |
D | MultiTouchTest.kt | 76 val wmState = WindowManagerStateHelper() in setUp() constant 77 wmState.waitForAppTransitionIdleOnDisplay(DEFAULT_DISPLAY) in setUp() 78 wmState.waitForActivityOrientation(activityName, orientation) in setUp()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | RotationSession.java | 53 public RotationSession(WindowManagerStateHelper wmState) { in RotationSession() argument 60 mWmState = wmState; in RotationSession()
|
D | LockScreenSession.java | 75 public LockScreenSession(Instrumentation instrumentation, WindowManagerStateHelper wmState) { in LockScreenSession() argument 77 mWmState = wmState; in LockScreenSession() 79 mTouchHelper = new TouchHelper(instrumentation, wmState); in LockScreenSession()
|
D | TouchHelper.java | 39 public TouchHelper(Instrumentation instrumentation, WindowManagerStateHelper wmState) { in TouchHelper() argument 42 mWmState = wmState; in TouchHelper()
|
D | WindowManagerStateHelper.java | 395 return waitFor(msg, wmState -> 396 Objects.equals(activityComponentName, wmState.getFocusedActivity()) 397 && Objects.equals(activityComponentName, wmState.getFocusedApp()));
|
D | ActivityManagerTestBase.java | 1971 mWmState.waitForWithAmState(wmState -> { 1972 Task task = wmState.getTaskByActivity(activityName); 1984 mWmState.waitForWithAmState(wmState -> { 1985 Task task = wmState.getTaskByActivity(activityName); 3143 mWmState.waitForWithAmState(wmState -> { 3290 mWmState.waitForWithAmState(wmState -> { 3292 WindowManagerState.Activity activity = wmState.getActivity(activityName); 3301 if (!mWmState.waitForWithAmState(wmState ->
|
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/app/ |
D | ActivityManagerHelperTest.java | 523 WindowManagerState wmState = new WindowManagerState(); in checkSimpleActivityExistence() local 524 wmState.computeState(); in checkSimpleActivityExistence() 526 if (findSimpleActivityInType(activityType, wmState)) { in checkSimpleActivityExistence() 537 WindowManagerState wmState) { in findSimpleActivityInType() argument 542 wmState.getRootTaskByActivityType(activityType.ordinal()); in findSimpleActivityInType()
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/ |
D | ActivityEmbeddingUtil.java | 396 final WindowManagerStateHelper wmState = new WindowManagerStateHelper(); in waitAndGetTaskBounds() local 399 wmState.waitAndAssertActivityState(activityName, STATE_RESUMED); in waitAndGetTaskBounds() 401 wmState.waitForValidState(activityName); in waitAndGetTaskBounds() 403 return wmState.getTaskByActivity(activityName).getBounds(); in waitAndGetTaskBounds()
|
/cts/tests/tests/voiceRecognition/src/android/voicerecognition/cts/ |
D | RecognitionServiceMicIndicatorTest.java | 238 final WindowManagerStateHelper wmState = new WindowManagerStateHelper(); in assertTvIndicatorsShown() local 239 wmState.waitFor( in assertTvIndicatorsShown()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/ |
D | DisplayCutoutTests.java | 672 final WindowManagerStateHelper wmState = new WindowManagerStateHelper(); 673 wmState.waitForAppTransitionIdleOnDisplay(DEFAULT_DISPLAY); 674 wmState.waitForDisplayUnfrozen();
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/keyguard/ |
D | KeyguardTests.java | 156 mWmState.waitFor((wmState) -> wmState.allWindowSurfacesShown( in testShowWhenLockedActivity_withDialog()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/ |
D | WindowInputTests.java | 817 final WindowManagerStateHelper wmState = new WindowManagerStateHelper(); in waitUntilPointerLocationShown() local 819 wmState.waitForWithAmState(state -> state.isWindowSurfaceShown(windowName), in waitUntilPointerLocationShown()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | PinnedStackTests.java | 1961 mWmState.waitForWithAmState(wmState -> { in waitForExitPipToFullscreen() 1962 final Task task = wmState.getTaskByActivity(activityName); in waitForExitPipToFullscreen() 1969 mWmState.waitForWithAmState(wmState -> { in waitForExitPipToFullscreen() 1970 final Task task = wmState.getTaskByActivity(activityName); in waitForExitPipToFullscreen()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | KeyboardVisibilityControlTest.java | 1849 final WindowManagerState wmState = new WindowManagerState(); in isImeOrganized() local 1850 wmState.computeState(); in isImeOrganized() 1851 WindowManagerState.DisplayArea imeContainer = wmState.getImeContainer(displayId); in isImeOrganized()
|