Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DAlertWindowsTests.java148 final WindowManagerState wmState = mAmWmState.getWmState(); in assertAlertWindows() local
151 wmState.getWindowsByPackageName(packageName, ALERT_WINDOW_TYPES); in assertAlertWindows()
179 wmState.getWindowByPackageName(packageName, TYPE_BASE_APPLICATION); in assertAlertWindows()
189 wmState.getZOrder(lowestAlertWindow), in assertAlertWindows()
190 greaterThan(wmState.getZOrder(mainAppWindow))); in assertAlertWindows()
194 wmState.getWindowByPackageName(packageName, TYPE_APPLICATION_OVERLAY); in assertAlertWindows()
197 wmState.getZOrder(highestAlertWindow), in assertAlertWindows()
198 lessThan(wmState.getZOrder(appOverlayWindow))); in assertAlertWindows()
203 wmState.getWindowsByPackageName(packageName, SYSTEM_WINDOW_TYPES); in assertAlertWindows()
207 wmState.getZOrder(highestAlertWindow), in assertAlertWindows()
[all …]
DPinnedStackTests.java222 WindowManagerState wmState = mAmWmState.getWmState(); in testPinnedStackDefaultBounds() local
223 wmState.computeState(); in testPinnedStackDefaultBounds()
224 Rect defaultPipBounds = wmState.getDefaultPinnedStackBounds(); in testPinnedStackDefaultBounds()
225 Rect stableBounds = wmState.getStableBounds(); in testPinnedStackDefaultBounds()
236 wmState = mAmWmState.getWmState(); in testPinnedStackDefaultBounds()
237 wmState.computeState(); in testPinnedStackDefaultBounds()
238 defaultPipBounds = wmState.getDefaultPinnedStackBounds(); in testPinnedStackDefaultBounds()
239 stableBounds = wmState.getStableBounds(); in testPinnedStackDefaultBounds()
260 WindowManagerState wmState = mAmWmState.getWmState(); in testPinnedStackMovementBounds() local
261 wmState.computeState(); in testPinnedStackMovementBounds()
[all …]
DDialogFrameTests.java248 final WindowManagerState wmState = mAmWmState.getWmState(); in testDialogPlacedAboveParent() local
252 assertThat(wmState.getZOrder(dialog), greaterThan(wmState.getZOrder(parent))) in testDialogPlacedAboveParent()
DKeyguardTests.java555 wmState -> !wmState.containsWindow(getWindowName(SHOW_WHEN_LOCKED_ACTIVITY)), in testUnoccludeRotationChange()
DAssistantStackTests.java202 mAmWmState.waitFor((amState, wmState) -> !amState.containsActivity(ASSISTANT_ACTIVITY), in testAssistantStackFinishToPreviousApp()
DMultiDisplayPolicyTests.java361 mAmWmState.waitFor((amState, wmState) -> amState.getDisplayCount() == displayCount, in testNoLeakOnExternalDisplay()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityAndWindowManagersState.java360 waitFor((amState, wmState) -> waitCondition.test(amState), message); in waitForWithAmState()
364 waitFor((amState, wmState) -> waitCondition.test(wmState), message); in waitForWithWmState()
968 final WindowManagerState wmState = getWmState(); in getImeWindowState() local
969 wmState.computeState(); in getImeWindowState()
970 return wmState.getInputMethodWindowState(); in getImeWindowState()
/cts/tests/tests/keystore/src/android/server/am/
DActivityAndWindowManagersState.java158 waitFor((amState, wmState) -> waitCondition.test(amState), message); in waitForWithAmState()