Home
last modified time | relevance | path

Searched refs:waitForCondition (Results 1 – 5 of 5) sorted by relevance

/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
DUiDeviceAsserts.java65 boolean result = waitForCondition(uiDevice, searchCondition, timeout); in assertWaitForCondition()
76 public static boolean waitForCondition( in waitForCondition() method in UiDeviceAsserts
78 return waitForCondition(uiDevice, searchCondition, Constants.MAX_SHOW_DELAY_MILLIS); in waitForCondition()
81 private static boolean waitForCondition( in waitForCondition() method in UiDeviceAsserts
DDialogHelper.java20 import static com.android.tv.testing.uihelper.UiDeviceAsserts.waitForCondition;
56 boolean result = waitForCondition(mUiDevice, Until.gone(byPinDialog)); in enterPinCodes()
DLiveChannelsUiDeviceHelper.java18 import static com.android.tv.testing.uihelper.UiDeviceAsserts.waitForCondition;
56 waitForCondition(mUiDevice, Until.hasObject(Constants.TV_VIEW)); in assertAppStarted()
DMenuHelper.java180 if (!UiDeviceAsserts.waitForCondition(mUiDevice, Until.hasObject(MENU))) { in showMenu()
/packages/apps/TimeZoneData/testing/xts/src/com/android/timezone/xts/
DTimeZoneUpdateHostTest.java326 waitForCondition(() -> !isOperationInProgress()); in waitForNoOperationInProgressAndReturn()
331 waitForCondition(() -> isStagedUninstall()); in waitForStagedUninstall()
335 waitForCondition(() -> isStagedInstall(versionString)); in waitForStagedInstall()
355 private static void waitForCondition(BooleanSupplier condition) throws Exception { in waitForCondition() method in TimeZoneUpdateHostTest