Home
last modified time | relevance | path

Searched refs:waitUntilCondition (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/tests/componenttests/src/com/android/settings/testutils/
DCommonUtils.java137 UiUtils.waitUntilCondition(1000, () -> !sPowerManager.isInteractive()); in reopenScreen()
139 UiUtils.waitUntilCondition(1000, () -> sPowerManager.isInteractive()); in reopenScreen()
153 if (!UiUtils.waitUntilCondition(timeoutMsec, in set_wifi_enabled()
DUiUtils.java35 public static boolean waitUntilCondition(long timeoutInMillis, Supplier<Boolean> condition) { in waitUntilCondition() method in UiUtils
55 waitUntilCondition(Constants.ACTIVITY_LAUNCH_WAIT_TIMEOUT, () -> { in waitForActivitiesInStage()
/packages/apps/Settings/tests/componenttests/src/com/android/settings/network/telephony/
DMobileDataPreferenceControllerComponentTest.java140 assertThat(UiUtils.waitUntilCondition(1000, in test_disable_mobile_network()
148 assertThat(UiUtils.waitUntilCondition(10000, in test_disable_mobile_network()
152 assertThat(UiUtils.waitUntilCondition(1000, in test_disable_mobile_network()
/packages/apps/Settings/tests/componenttests/src/com/android/settings/network/
DAirplaneModePreferenceControllerComponentTest.java72 assertThat(UiUtils.waitUntilCondition(1000, in test_on_off_airplane_mode_multiple_times()
76 assertThat(UiUtils.waitUntilCondition(1000, in test_on_off_airplane_mode_multiple_times()
/packages/apps/Settings/tests/componenttests/src/com/android/settings/wifi/
DWifiSettings2ActivityTest.java84 UiUtils.waitUntilCondition(Constants.VIEW_APPEAR_WAIT_MEDIUM_TIMEOUT, in test_connect_to_wifi()
120 UiUtils.waitUntilCondition(Constants.WIFI_CONNECT_WAIT_TIMEOUT, in test_connect_to_wifi()
/packages/apps/Settings/tests/componenttests/src/com/android/settings/notification/
DAppNotificationComponentTest.java88 UiUtils.waitUntilCondition(5000, in test_special_app_could_not_disable_notification()
/packages/apps/Settings/tests/componenttests/src/com/android/settings/users/
DUserSettingsComponentTest.java93 UiUtils.waitUntilCondition(5000, () -> mUserManager.getAliveUsers().stream().filter( in test_new_user_on_multiple_setting_page()