Home
last modified time | relevance | path

Searched defs:condition (Results 1 – 20 of 20) sorted by relevance

/packages/apps/ThemePicker/robolectric_tests/src/com/android/customization/testutils/
DWait.java30 public static void atMost(String message, Condition condition, long timeout) { in atMost()
34 public static void atMost(String message, Condition condition, long timeout, long sleepMillis) { in atMost()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DWait.java15 public static void atMost(String message, Condition condition, long timeout) { in atMost()
19 public static void atMost(String message, Condition condition, long timeout, long sleepMillis) { in atMost()
DCondition.java18 static Condition runOnUiThread(final Condition condition) { in runOnUiThread()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenModeVoiceActivity.java51 Condition condition = null; in onVoiceSettingInteraction() local
77 private void setZenModeConfig(int mode, Condition condition) { in setZenModeConfig()
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeVoiceActivity.java51 Condition condition = null; in onVoiceSettingInteraction() local
77 private void setZenModeConfig(int mode, Condition condition) { in setZenModeConfig()
/packages/apps/Messaging/src/com/android/messaging/util/
DAssert.java82 public static void isTrue(final boolean condition) { in isTrue()
91 public static void isFalse(final boolean condition) { in isFalse()
100 public static void isTrueReleaseCheck(final boolean condition) { in isTrueReleaseCheck()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DAssert.java26 public static void isTrue(boolean condition) { in isTrue()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DTestViewHelpers.java66 public static View findChildView(ViewGroup parent, Function<View, Boolean> condition) { in findChildView()
DAbstractLauncherUiTest.java266 protected void waitForLauncherCondition(String message, Function<Launcher, Boolean> condition) { in waitForLauncherCondition()
279 String message, Function<Launcher, Boolean> condition, long timeout) { in waitForLauncherCondition()
302 Runnable testThreadAction, Function<Launcher, Boolean> condition, in waitForLauncherCondition()
/packages/services/Telephony/src/com/android/phone/
DAssert.java29 public static void isTrue(boolean condition) { in isTrue()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ticketpool/
DFiniteTicketPool.java61 private Waiter(int ticketsRequested, Condition condition) { in Waiter()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DResourceUtils.java137 final String condition = conditionConstant.substring(0, posComma); in findConstantForKeyValuePairs() local
158 final String condition) throws DeviceOverridePatternSyntaxError { in fulfillsCondition()
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/
DJobInfoRowArrayAdapter.java116 private void setColoredText(TextView view, String label, boolean condition) { in setColoredText()
/packages/modules/DnsResolver/tests/
Dresolv_test_utils.cpp140 bool PollForCondition(const std::function<bool()>& condition, std::chrono::milliseconds timeout) { in PollForCondition()
Dresolv_integration_test.cpp4740 const auto condition = [&]() { in TEST_F() local
5460 const auto condition = [&]() { return GetNumQueries(dnsPair->dnsServer, host_name) == 1U; }; in TEST_F() local
/packages/apps/Dialer/java/com/android/dialer/common/database/
DSelection.java159 public Selection is(@NonNull String condition) { in is()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DSystemActivityMonitoringServiceTest.java131 private void waitUntil(BooleanSupplier condition) throws Exception { in waitUntil()
/packages/apps/TimeZoneData/testing/xts/src/com/android/timezone/xts/
DTimeZoneUpdateHostTest.java355 private static void waitForCondition(BooleanSupplier condition) throws Exception { in waitForCondition()
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DCaptivePortalLoginActivityTest.java508 private static boolean isEventually(BooleanSupplier condition, long timeout) in isEventually()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DLauncherInstrumentation.java360 void assertTrue(String message, boolean condition) { in assertTrue()