Home
last modified time | relevance | path

Searched refs:cond (Results 1 – 25 of 62) sorted by relevance

123

/frameworks/ex/framesequence/jni/utils/
Dlog.h63 #define CONDITION(cond) (__builtin_expect((cond)!=0, 0)) argument
67 #define ALOGV_IF(cond, ...) ((void)0) argument
69 #define ALOGV_IF(cond, ...) \
70 ( (CONDITION(cond)) \
84 #define ALOGD_IF(cond, ...) \ argument
85 ( (CONDITION(cond)) \
98 #define ALOGI_IF(cond, ...) \ argument
99 ( (CONDITION(cond)) \
112 #define ALOGW_IF(cond, ...) \ argument
113 ( (CONDITION(cond)) \
[all …]
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DMutexed.h123 inline status_t waitForCondition(Condition &cond) { return cond.wait(mLock); } in waitForCondition() argument
126 inline status_t waitForConditionRelative(Condition &cond, nsecs_t reltime) { in waitForConditionRelative() argument
127 return cond.waitRelative(mLock, reltime); in waitForConditionRelative()
/frameworks/minikin/libs/minikin/
DMinikinInternal.h32 #define MINIKIN_ASSERT(cond, ...) LOG_ALWAYS_FATAL_IF(!(cond), __VA_ARGS__) argument
34 #define MINIKIN_ASSERT(cond, ...) ((void)0)
/frameworks/ml/nn/runtime/test/specs/V1_3/
Dwhile_fib.mod.py83 cond, cond_quant8, cond_quant8_signed = MakeConditionModel()
91 model = Model().Operation("WHILE", cond, body, fib_init, i_init, n).To(outputs)
96 cond: cond_quant8,
102 cond: cond_quant8_signed,
Dwhile_sum_of_powers.mod.py81 cond = MakeInnerConditionModel()
87 model.Operation("WHILE", cond, body, xi_init, j_init, i, x).To(xi)
96 cond = MakeOuterConditionModel()
100 model = Model().Operation("WHILE", cond, body, sum_init, i_init, n, x).To(sum)
Dwhile_sum_of_powers_quant8_signed.mod.py85 cond = MakeInnerConditionModel()
93 model.Operation("WHILE", cond, body, xi_init, j_init, i, x).To(xi)
102 cond = MakeOuterConditionModel()
106 model = Model().Operation("WHILE", cond, body, sum_init, i_init, n, x).To(sum)
Dwhile_sum_of_powers_quant8.mod.py85 cond = MakeInnerConditionModel()
93 model.Operation("WHILE", cond, body, xi_init, j_init, i, x).To(xi)
102 cond = MakeOuterConditionModel()
106 model = Model().Operation("WHILE", cond, body, sum_init, i_init, n, x).To(sum)
Dif_no_value.mod.py36 cond = Parameter("cond", BoolType, value=None)
39 model = Model().Operation("IF", cond, then_model, else_model, x, y).To(z)
Dwhile_infinite_loop.mod.py49 cond = MakeConditionModel() variable
52 model = Model().Operation("WHILE", cond, body, i_init, n).To(i_out)
Dif_constant.mod.py40 cond = Parameter("cond", BoolType, [value])
43 model = Model().Operation("IF", cond, then_model, else_model, x, y).To(z)
/frameworks/ml/nn/runtime/test/specs/V1_3_cts_only/
Dwhile_fib_unknown_dimension.mod.py98 cond, cond_quant8, cond_quant8_signed = MakeConditionModel()
106 model = Model().Operation("WHILE", cond, body, fib_init, i_init, n).To(outputs)
111 cond: cond_quant8,
117 cond: cond_quant8_signed,
Dwhile_fib_unknown_rank.mod.py98 cond, cond_quant8, cond_quant8_signed = MakeConditionModel()
106 model = Model().Operation("WHILE", cond, body, fib_init, i_init, n).To(outputs)
111 cond: cond_quant8,
117 cond: cond_quant8_signed,
/frameworks/wilhelm/tests/mimeUri/
DslesTestLoopUri.cpp40 static pthread_cond_t cond = PTHREAD_COND_INITIALIZER; variable
95 ok = pthread_cond_signal(&cond); in PrefetchEventCallback()
240 pthread_cond_wait(&cond, &mutex); in TestLoopUri()
DslesTestSlowDownUri.cpp42 static pthread_cond_t cond = PTHREAD_COND_INITIALIZER; variable
140 ok = pthread_cond_signal(&cond); in PrefetchEventCallback()
342 pthread_cond_wait(&cond, &mutex); in TestSlowDownUri()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
Dlayered_filter_d1new_helper.rsh65 int cond = (sharp_active && this_dist < min_dist);
67 min_dist = cond ? this_dist : min_dist;
68 depth = cond ? sharp_actual_depth : depth;
106 int cond = (sharp_active && this_dist < min_dist);
108 min_dist = cond ? this_dist : min_dist;
109 depth = cond ? sharp_actual_depth : depth;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaBassBoostTest.java67 private static void assumeTrue(String message, boolean cond) { in assumeTrue() argument
68 assertTrue("(assume)"+message, cond); in assumeTrue()
DMediaVirtualizerTest.java67 private static void assumeTrue(String message, boolean cond) { in assumeTrue() argument
68 assertTrue("(assume)"+message, cond); in assumeTrue()
DMediaEqualizerTest.java71 private static void assumeTrue(String message, boolean cond) { in assumeTrue() argument
72 assertTrue("(assume)"+message, cond); in assumeTrue()
/frameworks/wilhelm/tests/listening/
DslesTest_playMuteSolo.cpp59 static pthread_cond_t cond = PTHREAD_COND_INITIALIZER; variable
94 ok = pthread_cond_signal(&cond); in prefetch_callback()
315 pthread_cond_wait(&cond, &mutex); in TestPlayUri()
/frameworks/rs/tests/lldb/tests/harness/
Dtest_base.py123 def assert_true(self, cond): argument
132 if not cond:
/frameworks/native/libs/binder/tests/
DbinderThroughputTest.cpp24 #define ASSERT_TRUE(cond) \ argument
26 if (!(cond)) {\
27 cerr << __func__ << ":" << __LINE__ << " condition:" << #cond << " failed\n" << endl; \
Dschd-dbg.cpp27 #define ASSERT(cond) \ argument
29 if (!(cond)) { \
30 cerr << __func__ << ":" << __LINE__ << " condition:" << #cond \
/frameworks/wilhelm/tests/native-media/jni/
Dnative-media-jni.c77 pthread_cond_t cond = PTHREAD_COND_INITIALIZER; variable
126 ok = pthread_cond_signal(&cond); in AndroidBufferQueueCallback()
535 ok = pthread_cond_wait(&cond, &mutex); in Java_com_example_nativemedia_NativeMedia_rewindStreamingMediaPlayer()
/frameworks/base/cmds/statsd/src/condition/
DSimpleConditionTracker.cpp134 for (const auto& cond : mSlicedConditionState) { in handleStopAll() local
135 if (cond.second > 0) { in handleStopAll()
136 mLastChangedToFalseDimensions.insert(cond.first); in handleStopAll()
/frameworks/ml/nn/runtime/test/
DTestFailingDriver.cpp136 uint32_t cond = model.addModelOperand(&conditionModel); in TEST_F() local
138 model.addOperation(ANEURALNETWORKS_WHILE, {cond, body, fInput, bInput}, {fTmp}); in TEST_F()

123