Searched refs:waitForCondition (Results 1 – 5 of 5) sorted by relevance
65 boolean result = waitForCondition(uiDevice, searchCondition, timeout); in assertWaitForCondition()76 public static boolean waitForCondition( in waitForCondition() method in UiDeviceAsserts78 return waitForCondition(uiDevice, searchCondition, Constants.MAX_SHOW_DELAY_MILLIS); in waitForCondition()81 private static boolean waitForCondition( in waitForCondition() method in UiDeviceAsserts
20 import static com.android.tv.testing.uihelper.UiDeviceAsserts.waitForCondition;56 boolean result = waitForCondition(mUiDevice, Until.gone(byPinDialog)); in enterPinCodes()
18 import static com.android.tv.testing.uihelper.UiDeviceAsserts.waitForCondition;56 waitForCondition(mUiDevice, Until.hasObject(Constants.TV_VIEW)); in assertAppStarted()
180 if (!UiDeviceAsserts.waitForCondition(mUiDevice, Until.hasObject(MENU))) { in showMenu()
326 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