Home
last modified time | relevance | path

Searched refs:condition (Results 1 – 25 of 75) sorted by relevance

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DConsole.java54 public static void log(boolean condition, String key) { in log() argument
55 if (condition) { in log()
56 log(condition, key, "", AnsiReset); in log()
61 public static void log(boolean condition, String key, Object data) { in log() argument
62 if (condition) { in log()
63 log(condition, key, data, AnsiReset); in log()
68 public static void log(boolean condition, String key, Object data, String color) { in log() argument
69 if (condition) { in log()
86 public static void logDivider(boolean condition) { in logDivider() argument
87 if (condition) { in logDivider()
[all …]
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyAndException/src/com/android/multidexlegacyandexception/
DIntermediateClass.java20 public static int get1(boolean condition) { in get1() argument
21 return new ClassInSecondaryDex(condition).get1(); in get1()
24 public static int get2(boolean condition) { in get2() argument
25 return new ClassInSecondaryDex(condition).get2(); in get2()
28 public static int get3(boolean condition) { in get3() argument
29 ClassInSecondaryDex thrower = new ClassInSecondaryDex(condition); in get3()
53 public static int get4(boolean condition) { in get4() argument
54 ClassInSecondaryDex thrower = new ClassInSecondaryDex(condition); in get4()
DMainActivity.java33 public int get1(boolean condition) { in get1() argument
34 return IntermediateClass.get1(condition); in get1()
37 public int get2(boolean condition) { in get2() argument
38 return IntermediateClass.get2(condition); in get2()
40 public int get3(boolean condition) { in get3() argument
41 return MiniIntermediateClass.get3(condition); in get3()
DClassInSecondaryDex.java20 private boolean condition; field in ClassInSecondaryDex
22 public ClassInSecondaryDex(boolean condition) { in ClassInSecondaryDex() argument
23 this.condition = condition; in ClassInSecondaryDex()
28 if (condition) { in canThrow1()
35 if (condition) { in canThrow2()
DTestApplication.java23 private static void canThrow1(boolean condition) throws ExceptionInMainDex { in canThrow1() argument
24 if (condition) { in canThrow1()
30 public static int get(boolean condition) { in get() argument
32 canThrow1(condition); in get()
DMiniIntermediateClass.java20 public static int get3(boolean condition) { in get3() argument
21 ClassInSecondaryDex thrower = new ClassInSecondaryDex(condition); in get3()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java255 private static Uri getConditionId(Condition condition) { in getConditionId() argument
256 return condition != null ? condition.id : null; in getConditionId()
263 private static Condition copy(Condition condition) { in copy() argument
264 return condition == null ? null : condition.copy(); in copy()
272 final Condition condition = parseExistingTimeCondition(mExitCondition); in refreshExitConditionText() local
273 mExitConditionText = condition != null ? condition.summary : forever; in refreshExitConditionText()
338 private Condition parseExistingTimeCondition(Condition condition) { in parseExistingTimeCondition() argument
339 if (condition == null) return null; in parseExistingTimeCondition()
340 final long time = ZenModeConfig.tryParseCountdownConditionId(condition.id); in parseExistingTimeCondition()
389 + getConditionTagAt(i).condition); in checkForDefault()
[all …]
/frameworks/base/core/java/android/hardware/camera2/legacy/
DGLThreadManager.java59 public final ConditionVariable condition; field in GLThreadManager.ConfigureHolder
63 public ConfigureHolder(ConditionVariable condition, Collection<Surface> surfaces, in ConfigureHolder() argument
65 this.condition = condition; in ConfigureHolder()
89 configure.condition.open();
212 final ConditionVariable condition = new ConditionVariable(/*closed*/false); in setConfigurationAndWait() local
213 ConfigureHolder configure = new ConfigureHolder(condition, surfaces, collector); in setConfigurationAndWait()
219 condition.block(); in setConfigurationAndWait()
DRequestThreadManager.java118 public final ConditionVariable condition; field in RequestThreadManager.ConfigureHolder
121 public ConfigureHolder(ConditionVariable condition, Collection<Surface> surfaces) { in ConfigureHolder() argument
122 this.condition = condition; in ConfigureHolder()
649 config.condition.open();
999 final ConditionVariable condition = new ConditionVariable(/*closed*/false); in configure() local
1000 ConfigureHolder holder = new ConfigureHolder(condition, outputs); in configure()
1002 condition.block(); in configure()
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/base/
DUiControllerImpl.java114 IdleCondition condition = allConditions[message.what]; in handleMessage() local
116 condition.signal(conditionSet); in handleMessage()
118 Log.w(TAG, "ignoring signal of: " + condition + " from previous generation: " + in handleMessage()
398 private void loopUntil(IdleCondition condition) { in loopUntil() argument
399 loopUntil(EnumSet.of(condition)); in loopUntil()
439 for (IdleCondition condition : conditions) { in loopUntil()
440 if (!condition.isSignaled(conditionSet)) { in loopUntil()
443 Log.w(TAG, "Waiting for: " + condition.name() + " for " + loopCount + " iterations."); in loopUntil()
488 for (IdleCondition condition : conditions) { in loopUntil()
489 if (!condition.isSignaled(conditionSet)) { in loopUntil()
[all …]
/frameworks/testing/app-tests/AppLaunchTest/src/com/android/applaunchtest/
DAppLaunchTest.java224 String condition; in reportListContents() local
225 switch (entry.condition) { in reportListContents()
227 condition = "a CRASH"; in reportListContents()
230 condition = "an ANR"; in reportListContents()
233 condition = "an unknown error"; in reportListContents()
238 condition, entry.shortMsg)); in reportListContents()
239 if (entry.condition == ActivityManager.ProcessErrorStateInfo.CRASHED) { in reportListContents()
287 return (info.condition == peOther.info.condition) in equals()
308 code += info.condition; in hashCode()
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
DProcessErrorsTest.java291 String condition; in reportListContents() local
292 switch (entry.condition) { in reportListContents()
294 condition = "a CRASH"; in reportListContents()
297 condition = "an ANR"; in reportListContents()
300 condition = "an unknown error"; in reportListContents()
305 condition, entry.shortMsg)); in reportListContents()
306 if (entry.condition == ActivityManager.ProcessErrorStateInfo.CRASHED) { in reportListContents()
354 return (info.condition == peOther.info.condition) in equals()
375 code += info.condition; in hashCode()
/frameworks/base/services/core/java/com/android/server/notification/
DConditionProviders.java248 r.condition = c; in notifyConditions()
285 public void setZenModeCondition(Condition condition, String reason) { in setZenModeCondition() argument
286 if (DEBUG) Slog.d(TAG, "setZenModeCondition " + condition); in setZenModeCondition()
289 if (condition != null) { in setZenModeCondition()
290 if (ZenModeConfig.isValidCountdownConditionId(condition.id)) { in setZenModeCondition()
292 final ConditionRecord r = getRecordLocked(condition.id, in setZenModeCondition()
299 if (ZenModeConfig.isValidDowntimeConditionId(condition.id)) { in setZenModeCondition()
301 final ConditionRecord r = getRecordLocked(condition.id, in setZenModeCondition()
312 final boolean idEqual = condition != null && r.id.equals(condition.id); in setZenModeCondition()
326 if (!Objects.equals(mExitCondition, condition)) { in setZenModeCondition()
[all …]
DDowntimeConditionProvider.java164 public boolean isDowntimeCondition(Condition condition) { in isDowntimeCondition() argument
165 return condition != null && ZenModeConfig.isValidDowntimeConditionId(condition.id); in isDowntimeCondition()
/frameworks/av/include/media/stagefright/foundation/
DADebug.h32 #define CHECK(condition) \ argument
34 !(condition), \
37 " CHECK(" #condition ") failed.")
/frameworks/base/telephony/java/com/android/ims/internal/
DIImsUt.aidl42 int queryCallForward(int condition, String number); in queryCallForward() argument
82 int updateCallForward(int action, int condition, String number, int timeSeconds); in updateCallForward() argument
/frameworks/base/core/java/android/service/notification/
DConditionProviderService.java78 public final void notifyCondition(Condition condition) { in notifyCondition() argument
79 if (condition == null) return; in notifyCondition()
80 notifyConditions(new Condition[]{ condition }); in notifyCondition()
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsUtInterface.java115 public void queryCallForward(int condition, String number, Message result); in queryCallForward() argument
152 public void updateCallForward(int action, int condition, String number, in updateCallForward() argument
DImsUt.java149 public void queryCallForward(int condition, String number, Message result) { in queryCallForward() argument
151 log("queryCallForward :: Ut=" + miUt + ", condition=" + condition in queryCallForward()
157 int id = miUt.queryCallForward(condition, number); in queryCallForward()
348 public void updateCallForward(int action, int condition, String number, in updateCallForward() argument
352 + ", condition=" + condition + ", number=" + number in updateCallForward()
358 int id = miUt.updateCallForward(action, condition, number, timeSeconds); in updateCallForward()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DIfElseFilter.java58 boolean condition = (Boolean) boolFrameValue.getValue(); in onProcess()
61 if (condition) { in onProcess()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityManagerTest.java122 assertTrue((info.condition == ActivityManager.ProcessErrorStateInfo.CRASHED) || in checkErrorListSanity()
123 (info.condition == ActivityManager.ProcessErrorStateInfo.NOT_RESPONDING)); in checkErrorListSanity()
/frameworks/base/docs/html/tools/help/uiautomator/
DUiWatcher.jd70 …<ul class="nolist"><li>true to indicate a matched condition, or false if no matching condition is …
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/
DarmCOMM.h82 #define armRetArgErrIf(condition, code) if(condition) { return (code); } argument
83 #define armRetDataErrIf(condition, code) if(condition) { return (code); } argument
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/api/
DarmCOMM.h82 #define armRetArgErrIf(condition, code) if(condition) { return (code); } argument
83 #define armRetDataErrIf(condition, code) if(condition) { return (code); } argument
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/api/
DarmCOMM.h82 #define armRetArgErrIf(condition, code) if(condition) { return (code); } argument
83 #define armRetDataErrIf(condition, code) if(condition) { return (code); } argument

123