Home
last modified time | relevance | path

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

123

/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.java96 Condition condition = mService.evaluateSubscriptionLocked( in testEvaluateSubscription_noAlarmExit_InSchedule() local
122 Condition condition = mService.evaluateSubscriptionLocked( in testEvaluateSubscription_noAlarmExit_InScheduleSnoozed() local
150 Condition condition = mService.evaluateSubscriptionLocked( in testEvaluateSubscription_noAlarmExit_beforeSchedule() local
173 Condition condition = mService.evaluateSubscriptionLocked( in testEvaluateSubscription_noAlarmExit_endSchedule() local
194 Condition condition = mService.evaluateSubscriptionLocked( in testEvaluateSubscription_alarmSetBeforeInSchedule() local
218 Condition condition = mService.evaluateSubscriptionLocked( in testEvaluateSubscription_alarmSetInSchedule() local
247 Condition condition = mService.evaluateSubscriptionLocked( in testEvaluateSubscription_earlierAlarmSet() local
276 Condition condition = mService.evaluateSubscriptionLocked( in testEvaluateSubscription_laterAlarmSet() local
305 Condition condition = mService.evaluateSubscriptionLocked( in testEvaluateSubscription_alarmCanceled() local
/frameworks/native/services/surfaceflinger/tests/
DCredentials_test.cpp136 void checkWithPrivileges(std::function<T()> condition, T privilegedValue, T unprivilegedValue) { in checkWithPrivileges()
174 std::function<bool()> condition = [] { in TEST_F() local
202 std::function<status_t()> condition = [=]() { in TEST_F() local
211 std::function<status_t()> condition = [=]() { in TEST_F() local
220 std::function<status_t()> condition = [=]() { in TEST_F() local
228 std::function<status_t()> condition = [=]() { in TEST_F() local
235 std::function<bool()> condition = [=]() { in TEST_F() local
261 std::function<status_t()> condition = [=]() { in TEST_F() local
273 std::function<status_t()> condition = [=]() { in TEST_F() local
299 std::function<bool()> condition = [=]() { return sf->authenticateSurfaceTexture(producer); }; in TEST_F() local
[all …]
/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/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java186 protected void bind(final Condition condition, final View row, final int rowId) { in bind()
252 public static Uri getConditionId(Condition condition) { in getConditionId()
281 private Uri getRealConditionId(Condition condition) { in getRealConditionId()
327 private void updateUi(ConditionTag tag, View row, Condition condition, in updateUi()
456 private void updateAlarmWarningText(Condition condition) { in updateAlarmWarningText()
463 protected String computeAlarmWarningText(Condition condition) { in computeAlarmWarningText()
/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/base/core/java/android/hardware/camera2/legacy/
DGLThreadManager.java61 public final ConditionVariable condition; field in GLThreadManager.ConfigureHolder
65 public ConfigureHolder(ConditionVariable condition, Collection<Pair<Surface, in ConfigureHolder()
216 final ConditionVariable condition = new ConditionVariable(/*closed*/false); in setConfigurationAndWait() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/
DVolumeDialogImplTest.java95 private void navigateViews(View view, Predicate<View> condition) { in navigateViews()
99 navigateViews(viewGroup.getChildAt(i), condition); in navigateViews() local
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DTestUtils.java62 public static void waitUntil(Supplier<Boolean> condition) in waitUntil()
67 public static void waitUntil(Supplier<Boolean> condition, long stepMs, long timeoutMs) in waitUntil()
/frameworks/base/core/java/android/service/autofill/
DCustomDescription.java275 public Builder batchUpdate(@NonNull Validator condition, @NonNull BatchUpdates updates) { in batchUpdate()
278 "not provided by Android System: " + 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/test-base/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/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java333 private void setSessionExitCondition(Condition condition) { in setSessionExitCondition()
393 private static Uri getConditionId(Condition condition) { in getConditionId()
397 private Uri getRealConditionId(Condition condition) { in getRealConditionId()
401 private static Condition copy(Condition condition) { in copy()
643 private void bind(final Condition condition, final View row, final int rowId) { in bind()
806 private void select(final Condition condition) { in select()
879 Condition condition; field in ZenModePanel.ConditionTag
/frameworks/base/cmds/statsd/src/metrics/
DDurationMetricProducer.cpp183 void DurationMetricProducer::onSlicedConditionMayChangeLocked_opt1(bool condition, in onSlicedConditionMayChangeLocked_opt1()
256 void DurationMetricProducer::onSlicedConditionMayChangeLocked_opt2(bool condition, in onSlicedConditionMayChangeLocked_opt2()
691 bool condition, const LogEvent& event) { in handleStartEvent()
731 const ConditionKey& conditionKeys, bool condition, in onMatchedLogEventInternalLocked()
791 bool condition; in onMatchedLogEventLocked() local
/frameworks/base/cmds/statsd/src/
Dstatsd_config.proto154 optional int64 condition = 1; field
171 optional int64 condition = 3; field
181 optional int64 condition = 3; field
197 optional int64 condition = 3; field
224 optional int64 condition = 4; field
258 optional int64 condition = 4; field
/frameworks/native/libs/renderengine/gl/
DImageManager.h36 std::condition_variable_any condition; member
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdnr/
DCarrierConfigEfData.java51 int condition = mConfig.getInt( in getServiceProviderNameDisplayCondition() local
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DADebug.h61 #define CHECK(condition) \ argument
107 #define CHECK_DBG(condition) argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNavigationBarButtonTest.java96 private void waitForDisplayCondition(int displayId, Predicate<Boolean> condition) { in waitForDisplayCondition()
/frameworks/base/telephony/java/android/telephony/ims/stub/
DImsUtImplBase.java246 public int queryCallForward(int condition, String number) { in queryCallForward()
351 public int updateCallForward(int action, int condition, String number, int serviceClass, in updateCallForward()
/frameworks/base/services/core/java/com/android/server/notification/
DScheduleConditionProvider.java172 Condition condition = in evaluateSubscriptions() local
190 Condition condition; in evaluateSubscriptionLocked() local

123