Home
last modified time | relevance | path

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

1234

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/condition/
DConditionExtensionsTest.kt35 val condition = flow.toCondition(scope = this, Condition.START_EAGERLY) in flowInitiallyTrue() constant
50 val condition = flow.toCondition(scope = this, Condition.START_EAGERLY) in flowInitiallyFalse() constant
65 val condition = flow.toCondition(scope = this, Condition.START_EAGERLY) in emptyFlowWithNoInitialValue() constant
77 val condition = in emptyFlowWithInitialValueOfTrue() constant
94 val condition = in emptyFlowWithInitialValueOfFalse() constant
111 val condition = flow.toCondition(scope = this, strategy = Condition.START_EAGERLY) in conditionUpdatesWhenFlowEmitsNewValue() constant
133 val condition = flow.toCondition(scope = this, strategy = Condition.START_EAGERLY) in stoppingConditionUnsubscribesFromFlow() constant
DConditionMonitorTest.java88 final Condition condition = Mockito.mock( in createMockCondition() local
231 final Condition condition = mock( in addCallback_addSecondCallback_reportWithExistingValue() local
278 final Condition condition = mock( in removeCallback_noFailureOnDoubleRemove() local
296 final Condition condition = mock( in removeCallback_shouldNoLongerReceiveUpdate() local
588 final FakeCondition condition = new FakeCondition(mScope); in testLoggingCallback() local
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyAndException/src/com/android/multidexlegacyandexception/
DIntermediateClass.java20 public static int get1(boolean condition) { in get1()
24 public static int get2(boolean condition) { in get2()
28 public static int get3(boolean condition) { in get3()
53 public static int get4(boolean condition) { in get4()
DMainActivity.java33 public int get1(boolean condition) { in get1()
37 public int get2(boolean condition) { in get2()
40 public int get3(boolean condition) { in get3()
DTestApplication.java23 private static void canThrow1(boolean condition) throws ExceptionInMainDex { in canThrow1()
30 public static int get(boolean condition) { in get()
DClassInSecondaryDex.java20 private boolean condition; field in ClassInSecondaryDex
22 public ClassInSecondaryDex(boolean condition) { in ClassInSecondaryDex()
DMiniIntermediateClass.java20 public static int get3(boolean condition) { in get3()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DScheduleConditionProviderTest.java100 Condition condition = mService.evaluateSubscriptionLocked( in testEvaluateSubscription_noAlarmExit_InSchedule() local
126 Condition condition = mService.evaluateSubscriptionLocked( in testEvaluateSubscription_noAlarmExit_InScheduleSnoozed() local
154 Condition condition = mService.evaluateSubscriptionLocked( in testEvaluateSubscription_noAlarmExit_beforeSchedule() local
177 Condition condition = mService.evaluateSubscriptionLocked( in testEvaluateSubscription_noAlarmExit_endSchedule() local
198 Condition condition = mService.evaluateSubscriptionLocked( in testEvaluateSubscription_alarmSetBeforeInSchedule() local
222 Condition condition = mService.evaluateSubscriptionLocked( in testEvaluateSubscription_alarmSetInSchedule() local
251 Condition condition = mService.evaluateSubscriptionLocked( in testEvaluateSubscription_earlierAlarmSet() local
280 Condition condition = mService.evaluateSubscriptionLocked( in testEvaluateSubscription_laterAlarmSet() local
309 Condition condition = mService.evaluateSubscriptionLocked( in testEvaluateSubscription_alarmCanceled() local
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/conditions/
DDreamConditionTest.java73 final DreamCondition condition = new DreamCondition(mScope, mDreamManager, in testInitialDreamingState() local
87 final DreamCondition condition = new DreamCondition(mScope, mDreamManager, in testInitialNonDreamingState() local
103 final DreamCondition condition = new DreamCondition(mScope, mDreamManager, in testChange() local
/frameworks/native/services/surfaceflinger/tests/
DCredentials_test.cpp120 void checkWithPrivileges(std::function<T()> condition, T privilegedValue, T unprivilegedValue) { in checkWithPrivileges()
178 std::function<bool()> condition = [] { return getFirstDisplayToken() != nullptr; }; in TEST_F() local
196 std::function<status_t()> condition = [=]() { in TEST_F() local
205 std::function<status_t()> condition = [=]() { in TEST_F() local
218 std::function<status_t()> condition = [=]() { in TEST_F() local
226 std::function<status_t()> condition = [=]() { in TEST_F() local
234 std::function<bool()> condition = [=]() { in TEST_F() local
279 std::function<status_t()> condition = [=]() { in TEST_F() local
323 std::function<status_t()> condition = [=]() { in TEST_F() local
/frameworks/base/tests/testables/src/android/testing/
DPollingCheck.java62 public static void check(CharSequence message, long timeout, Callable<Boolean> condition) in check()
76 public static void waitFor(final PollingCheckCondition condition) { in waitFor()
85 public static void waitFor(long timeout, final PollingCheckCondition condition) { in waitFor()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/process/condition/
DSystemProcessConditionTest.java69 final Condition condition = new SystemProcessCondition(mScope, mProcessWrapper); in testConditionFailsWithNonSystemProcess() local
90 final Condition condition = new SystemProcessCondition(mScope, mProcessWrapper); in testConditionSucceedsWithSystemProcess() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java211 protected void bind(final Condition condition, final View row, final int rowId) { in bind()
279 public static Uri getConditionId(Condition condition) { in getConditionId()
308 private Uri getRealConditionId(Condition condition) { in getRealConditionId()
354 private void updateUi(ConditionTag tag, View row, Condition condition, in updateUi()
484 private void updateAlarmWarningText(Condition condition) { in updateAlarmWarningText()
491 protected String computeAlarmWarningText(Condition condition) { in computeAlarmWarningText()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/utils/
DTestUtils.java50 public static void waitForCondition(BooleanSupplier condition, String message) { in waitForCondition()
62 public static void waitForCondition(BooleanSupplier condition, String message, long duration) { in waitForCondition()
/frameworks/base/core/tests/coretests/src/android/util/
DPollingCheck.java80 public static void waitFor(final PollingCheckCondition condition) { in waitFor()
95 public static void waitFor(long timeout, final PollingCheckCondition condition) { in waitFor()
/frameworks/native/include/input/
DTraceTools.h26 #define ATRACE_NAME_IF(condition, message) \ argument
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DTestUtils.java63 public static void waitUntil(Supplier<Boolean> condition) in waitUntil()
68 public static void waitUntil(Supplier<Boolean> condition, long stepMs, long timeoutMs) in waitUntil()
/frameworks/base/services/core/java/com/android/server/wm/utils/
DOptPropFactory.java119 @NonNull BooleanSupplier condition) { in OptProp()
133 @NonNull String propertyName, @NonNull BooleanSupplier condition) { in create()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/condition/
DMonitor.java177 private void updateConditionMetState(Condition condition) { in updateConditionMetState()
347 public Builder addCondition(Condition condition) { in addCondition()
357 public Builder addConditions(Set<Condition> condition) { in addConditions()
DCombinedCondition.kt147 for ((index, condition) in conditions.withIndex()) { in <lambda>() variable
177 for (condition in conditions) { in <lambda>() variable
/frameworks/base/test-junit/src/junit/framework/
DAssert.java18 static public void assertTrue(String message, boolean condition) { in assertTrue()
26 static public void assertTrue(boolean condition) { in assertTrue()
33 static public void assertFalse(String message, boolean condition) { in assertFalse()
40 static public void assertFalse(boolean condition) { in assertFalse()
/frameworks/base/core/java/android/service/autofill/
DCustomDescription.java276 public Builder batchUpdate(@NonNull Validator condition, @NonNull BatchUpdates updates) { in batchUpdate()
279 "not provided by Android System: %s", condition); in batchUpdate() local
/frameworks/base/telephony/java/com/android/ims/internal/
DIImsUt.aidl42 int queryCallForward(int condition, String number); in queryCallForward()
82 int updateCallForward(int action, int condition, String number, in updateCallForward()
/frameworks/base/tests/ChoreographerTests/jni/
Dandroid_view_tests_ChoreographerNativeTest.cpp37 #define ASSERT(condition, format, args...) \ argument
61 std::condition_variable_any condition; member
/frameworks/av/media/module/foundation/include/media/stagefright/foundation/
DADebug.h61 #define CHECK(condition) \ argument
107 #define CHECK_DBG(condition) argument

1234