Home
last modified time | relevance | path

Searched refs:waitForWindowOnTop (Results 1 – 12 of 12) sorted by relevance

/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DCtsWindowInfoUtils.java215 public static boolean waitForWindowOnTop(@NonNull Window window) throws InterruptedException { in waitForWindowOnTop() method in CtsWindowInfoUtils
216 return waitForWindowOnTop(HW_TIMEOUT_MULTIPLIER * 5, TimeUnit.SECONDS, in waitForWindowOnTop()
241 public static boolean waitForWindowOnTop(long timeout, @NonNull TimeUnit unit, in waitForWindowOnTop() method in CtsWindowInfoUtils
373 public static boolean waitForWindowOnTop(long timeout, @NonNull TimeUnit unit, in waitForWindowOnTop() method in CtsWindowInfoUtils
376 return waitForWindowOnTop(timeout, unit, windowInfo -> { in waitForWindowOnTop()
DWindowManagerStateHelper.java475 && !CtsWindowInfoUtils.waitForWindowOnTop(activity.getWindow())) {
/cts/tests/tests/widget/src/android/widget/cts/
DSeekBarTest.java19 import static android.server.wm.CtsWindowInfoUtils.waitForWindowOnTop;
86 assertTrue("Window did not become visible", waitForWindowOnTop(mActivity.getWindow())); in setup()
DNumberPickerTest.java19 import static android.server.wm.CtsWindowInfoUtils.waitForWindowOnTop;
123 assertTrue("Window did not become visible", waitForWindowOnTop(mActivity.getWindow())); in setup()
DPopupWindowTest.java19 import static android.server.wm.CtsWindowInfoUtils.waitForWindowOnTop;
136 assertTrue("Window did not become visible", waitForWindowOnTop(mActivity.getWindow())); in setup()
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DWindowInputTests.java129 CtsWindowInfoUtils.waitForWindowOnTop(mActivity.getWindow()); in setUp()
153 waitForWindowOnTop(lp.getTitle().toString()); in addActivityWindow()
186 waitForWindowOnTop(windowName); in addForeignOverlayWindow()
728 private void waitForWindowOnTop(String name) throws InterruptedException { in waitForWindowOnTop() method
730 CtsWindowInfoUtils.waitForWindowOnTop(WINDOW_WAIT_TIMEOUT_SECONDS, TimeUnit.SECONDS, in waitForWindowOnTop()
DWindowUntrustedTouchTest.java972 if (!CtsWindowInfoUtils.waitForWindowOnTop(5 * HW_TIMEOUT_MULTIPLIER, TimeUnit.SECONDS, in addActivity()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DSurfaceControlInputReceiverTests.java26 import static android.server.wm.CtsWindowInfoUtils.waitForWindowOnTop;
151 waitForWindowOnTop(WAIT_TIME_S, TimeUnit.SECONDS, () -> clientToken)); in testLocalSurfaceControlReceivesInput()
221 boolean success = waitForWindowOnTop(WAIT_TIME_S, TimeUnit.SECONDS, in testRemoteSurfaceControlReceivesInput()
280 waitForWindowOnTop(WAIT_TIME_S, TimeUnit.SECONDS, in testNonBatchedSurfaceControlReceivesInput()
DAttachedSurfaceControlTest.java21 import static android.server.wm.CtsWindowInfoUtils.waitForWindowOnTop;
141 waitForWindowOnTop(mActivity.getWindow()); in setup()
DASurfaceControlInputReceiverTest.java24 import static android.server.wm.CtsWindowInfoUtils.waitForWindowOnTop;
109 waitForWindowOnTop(mActivity.getWindow()); in setUp()
DSurfaceControlViewHostTests.java25 import static android.server.wm.CtsWindowInfoUtils.waitForWindowOnTop;
246 waitForWindowOnTop(mActivity.getWindow()); in setUp()
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DTestUtils.java279 && !CtsWindowInfoUtils.waitForWindowOnTop(activity.getWindow())) { in waitUntilActivityReadyForInputInjection()