Home
last modified time | relevance | path

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

123

/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DWait.java19 public static void atMost(String message, Condition condition, long timeout, in atMost()
21 atMost(() -> message, condition, timeout, DEFAULT_SLEEP_MS, launcher); in atMost() local
24 public static void atMost(Supplier<String> message, Condition condition, long timeout, in atMost()
29 public static void atMost(Supplier<String> message, Condition condition, long timeout, in atMost()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/
DPollingCheck.java74 public static void check(CharSequence message, long timeout, Callable<Boolean> condition) in check()
88 public static void waitFor(final PollingCheckCondition condition) { in waitFor()
97 public static void waitFor(long timeout, final PollingCheckCondition condition) { in waitFor()
106 public static void waitFor(long timeout, BooleanSupplier condition, String errorMessage) { in waitFor()
/packages/apps/ThemePicker/tests/robotests/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/Settings/src/com/android/settings/notification/zen/
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/modules/Bluetooth/system/embdrv/sbc/decoder/include/
Doi_assert.h51 #define OI_ASSERT(condition) \ argument
/packages/apps/Dialer/java/com/android/voicemail/impl/
DAssert.java26 public static void isTrue(boolean condition) { in isTrue()
/packages/services/Telephony/src/com/android/phone/
DAssert.java29 public static void isTrue(boolean condition) { in isTrue()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DTestViewHelpers.java64 public static View findChildView(ViewGroup parent, Function<View, Boolean> condition) { in findChildView()
DAbstractLauncherUiTest.java378 message, Function<Launcher, Boolean> condition) { in waitForLauncherCondition()
391 String message, Function<Launcher, Boolean> condition, long timeout) { in waitForLauncherCondition()
414 Runnable testThreadAction, Function<Launcher, Boolean> condition, in waitForLauncherCondition()
/packages/modules/StatsD/statsd/src/
Dstatsd_config.proto176 optional int64 condition = 1; field
212 optional int64 condition = 3; field
225 optional int64 condition = 3; field
252 optional int64 condition = 3; field
290 optional int64 condition = 4; field
327 optional int64 condition = 4; field
386 optional int64 condition = 4; field
/packages/modules/StatsD/statsd/src/metrics/
DKllMetricProducer.h77 const MetricDimensionKey& eventKey, bool condition, int64_t eventTimeNs, in canSkipLogEventLocked()
DNumericValueMetricProducer.h114 const MetricDimensionKey& eventKey, const bool condition, const int64_t eventTimeNs, in canSkipLogEventLocked()
DDurationMetricProducer.cpp347 void DurationMetricProducer::onSlicedConditionMayChangeLocked_opt1(bool condition, in onSlicedConditionMayChangeLocked_opt1()
640 const ConditionKey& conditionKeys, bool condition, in handleStartEvent()
669 const ConditionKey& conditionKeys, bool condition, const LogEvent& event, in onMatchedLogEventInternalLocked()
760 bool condition; in handleMatchedLogEventValuesLocked() local
/packages/apps/Settings/tests/componenttests/src/com/android/settings/testutils/
DUiUtils.java35 public static boolean waitUntilCondition(long timeoutInMillis, Supplier<Boolean> condition) { in waitUntilCondition()
/packages/services/Car/service/proto/android/car/telemetry/
Dstatsd_config.proto68 optional int64 condition = 3; field
82 optional int64 condition = 4; field
/packages/modules/StatsD/statsd/src/metrics/duration_helper/
DMaxDurationTracker.cpp59 void MaxDurationTracker::noteStart(const HashableDimensionKey& key, bool condition, in noteStart()
249 void MaxDurationTracker::onConditionChanged(bool condition, const int64_t timestamp) { in onConditionChanged()
DOringDurationTracker.cpp59 void OringDurationTracker::noteStart(const HashableDimensionKey& key, bool condition, in noteStart()
308 void OringDurationTracker::onConditionChanged(bool condition, const int64_t timestamp) { in onConditionChanged()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ticketpool/
DFiniteTicketPool.java61 private Waiter(int ticketsRequested, Condition condition) { in Waiter()
/packages/modules/Bluetooth/system/gd/os/
Dlog.h192 #define ASSERT(condition) \ argument
199 #define ASSERT_LOG(condition, fmt, args...) \ argument
/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/providers/MediaProvider/tests/utils/src/com/android/providers/media/tests/utils/
DPublicVolumeSetupHelper.java192 public static void pollForCondition(Supplier<Boolean> condition, String errorMessage) in pollForCondition()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DTestHelpers.java164 public static <R> R wait(SearchCondition<R> condition, long timeout) { in wait()
/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/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DActiveGestureErrorDetector.java356 boolean condition, String prefix, String errorMessage, PrintWriter writer) { in printErrorIfTrue()

123