/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | AlertWindowsTests.java | 146 final WindowManagerState wmState = mWmState; in assertAlertWindows() local 149 wmState.getWindowsByPackageName(packageName, ALERT_WINDOW_TYPES); in assertAlertWindows() 177 wmState.getWindowByPackageName(packageName, TYPE_BASE_APPLICATION); in assertAlertWindows() 187 wmState.getZOrder(lowestAlertWindow), in assertAlertWindows() 188 greaterThan(wmState.getZOrder(mainAppWindow))); in assertAlertWindows() 192 wmState.getWindowByPackageName(packageName, TYPE_APPLICATION_OVERLAY); in assertAlertWindows() 195 wmState.getZOrder(highestAlertWindow), in assertAlertWindows() 196 lessThan(wmState.getZOrder(appOverlayWindow))); in assertAlertWindows() 201 wmState.getWindowsByPackageName(packageName, SYSTEM_WINDOW_TYPES); in assertAlertWindows() 205 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()
|
D | ParentChildTestBase.java | 71 mWmState.waitFor(wmState -> !wmState.containsActivity(activityName()), in doDockedTest()
|
D | WindowMetricsActivityTests.java | 130 mWmState.waitForWithAmState(wmState -> { in waitForEnterPipAnimationComplete() 131 WindowManagerState.Task task = wmState.getTaskByActivity(activityName); in waitForEnterPipAnimationComplete() 146 mWmState.waitForWithAmState(wmState -> { in waitForEnterPip() 147 WindowManagerState.Task task = wmState.getTaskByActivity(activityName); in waitForEnterPip()
|
D | FreeformWindowingModeTests.java | 94 mWmState.waitFor((wmState) -> in testNonResizeableActivityHasFullDisplayBounds() 95 !wmState.containsActivity(TEST_ACTIVITY), in testNonResizeableActivityHasFullDisplayBounds()
|
D | DialogFrameTests.java | 237 final WindowManagerState wmState = mWmState; in testDialogPlacedAboveParent() local 241 assertThat(wmState.getZOrder(dialog), greaterThan(wmState.getZOrder(parent))) in testDialogPlacedAboveParent()
|
D | PinnedStackTests.java | 1524 mWmState.waitForWithAmState(wmState -> { in waitForEnterPip() 1525 Task task = wmState.getTaskByActivity(activityName); in waitForEnterPip() 1535 mWmState.waitForWithAmState(wmState -> { in waitForEnterPipAnimationComplete() 1536 Task task = wmState.getTaskByActivity(activityName); in waitForEnterPipAnimationComplete() 1559 mWmState.waitForWithAmState(wmState -> { in waitForExitPipToFullscreen() 1560 final Task task = wmState.getTaskByActivity(activityName); in waitForExitPipToFullscreen() 1567 mWmState.waitForWithAmState(wmState -> { in waitForExitPipToFullscreen() 1568 final Task task = wmState.getTaskByActivity(activityName); in waitForExitPipToFullscreen()
|
D | CompatChangeTests.java | 749 mWmState.waitForWithAmState(wmState -> { in waitForActivityBoundsChanged() 750 WindowManagerState.Activity activity = wmState.getActivity(activityName); in waitForActivityBoundsChanged()
|
D | KeyguardTests.java | 120 mWmState.waitFor((wmState) -> wmState.allWindowSurfacesShown( in testShowWhenLockedActivity_withDialog()
|
D | WindowInputTests.java | 849 final WindowManagerStateHelper wmState = new WindowManagerStateHelper(); in waitForReady() local 851 wmState.waitForWithAmState(state -> { in waitForReady()
|
/cts/tests/tests/systemui/src/android/systemui/cts/tv/ |
D | BasicPipTests.kt | 117 wmState.assertActivityDisplayed(PIP_ACTIVITY) in <lambda>() 118 wmState.assertNotFocusedWindow("PiP Window must not be focused!", in <lambda>() 150 wmState.waitForWithAmState("checking task windowing mode") { state: WindowManagerState -> in <lambda>() 156 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/util/src/android/server/wm/ |
D | TouchHelper.java | 38 public TouchHelper(Instrumentation instrumentation, WindowManagerStateHelper wmState) { in TouchHelper() argument 41 mWmState = wmState; in TouchHelper()
|
D | WindowManagerStateHelper.java | 348 waitFor(msg, wmState -> Objects.equals(activityComponentName, wmState.getFocusedActivity()) in waitForFocusedActivity() 349 && Objects.equals(activityComponentName, wmState.getFocusedApp())); in waitForFocusedActivity()
|
/cts/tests/tests/voiceRecognition/src/android/voicerecognition/cts/ |
D | RecognitionServiceMicIndicatorTest.java | 200 final WindowManagerStateHelper wmState = new WindowManagerStateHelper(); in assertTvIndicatorsShown() local 201 wmState.waitFor( in assertTvIndicatorsShown()
|