Home
last modified time | relevance | path

Searched refs:wmState (Results 1 – 24 of 24) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DAlertWindowsTests.java150 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 …]
DToastWindowTest.java113 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/
DBasicPipTests.kt119 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>()
DMicIndicatorTest.kt136 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()
DTvTestBase.kt57 protected val wmState: WindowManagerStateHelper = WindowManagerStateHelper() constant in android.systemui.cts.tv.TvTestBase
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DParentChildTestBase.java72 mWmState.waitFor(wmState -> !wmState.containsActivity(activityName()), in doDockedTest()
DDialogFrameTests.java274 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/
DWallpaperWindowsTestUtils.java67 (wmState) -> checkMatchingWindowVisibility(name, expectedVisibility), in waitForMatchingWindowVisibility()
77 (wmState) -> checkMatchingPackages(expected), in waitForMatchingPackages()
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/
DFreeformWindowingModeTests.java228 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/
DConfigurationScreenLayoutTest.java83 WindowManagerStateHelper wmState = new WindowManagerStateHelper(); in testScreenLayout() local
84 wmState.computeState(); in testScreenLayout()
86 || wmState.isTaskDisplayAreaIgnoringOrientationRequest( in testScreenLayout()
/cts/tests/input/src/android/input/cts/
DMultiTouchTest.kt76 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/
DRotationSession.java53 public RotationSession(WindowManagerStateHelper wmState) { in RotationSession() argument
60 mWmState = wmState; in RotationSession()
DLockScreenSession.java75 public LockScreenSession(Instrumentation instrumentation, WindowManagerStateHelper wmState) { in LockScreenSession() argument
77 mWmState = wmState; in LockScreenSession()
79 mTouchHelper = new TouchHelper(instrumentation, wmState); in LockScreenSession()
DTouchHelper.java39 public TouchHelper(Instrumentation instrumentation, WindowManagerStateHelper wmState) { in TouchHelper() argument
42 mWmState = wmState; in TouchHelper()
DWindowManagerStateHelper.java395 return waitFor(msg, wmState ->
396 Objects.equals(activityComponentName, wmState.getFocusedActivity())
397 && Objects.equals(activityComponentName, wmState.getFocusedApp()));
DActivityManagerTestBase.java1971 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/
DActivityManagerHelperTest.java523 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/
DActivityEmbeddingUtil.java396 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/
DRecognitionServiceMicIndicatorTest.java238 final WindowManagerStateHelper wmState = new WindowManagerStateHelper(); in assertTvIndicatorsShown() local
239 wmState.waitFor( in assertTvIndicatorsShown()
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/
DDisplayCutoutTests.java672 final WindowManagerStateHelper wmState = new WindowManagerStateHelper();
673 wmState.waitForAppTransitionIdleOnDisplay(DEFAULT_DISPLAY);
674 wmState.waitForDisplayUnfrozen();
/cts/tests/framework/base/windowmanager/src/android/server/wm/keyguard/
DKeyguardTests.java156 mWmState.waitFor((wmState) -> wmState.allWindowSurfacesShown( in testShowWhenLockedActivity_withDialog()
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DWindowInputTests.java817 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/
DPinnedStackTests.java1961 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/
DKeyboardVisibilityControlTest.java1849 final WindowManagerState wmState = new WindowManagerState(); in isImeOrganized() local
1850 wmState.computeState(); in isImeOrganized()
1851 WindowManagerState.DisplayArea imeContainer = wmState.getImeContainer(displayId); in isImeOrganized()