Home
last modified time | relevance | path

Searched refs:cond (Results 1 – 25 of 51) 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/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;
Dlayered_filter_f32_helper.rsh45 int cond = (sharp_nbr->active && this_dist < min_dist);
47 min_dist = cond ? this_dist : min_dist;
48 depth = cond ? sharp_nbr->actual_depth : depth;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaVirtualizerTest.java67 private static void assumeTrue(String message, boolean cond) { in assumeTrue() argument
68 assertTrue("(assume)"+message, cond); in assumeTrue()
DMediaBassBoostTest.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()
DMediaPresetReverbTest.java74 private static void assumeTrue(String message, boolean cond) { in assumeTrue() argument
75 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/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dtemplate_util.h97 template<bool cond, typename A, typename B>
Dtype_traits.h88 template <bool cond, class T = void> struct enable_if;
119 template<bool cond, class T> struct enable_if { typedef T type; };
/frameworks/base/cmds/statsd/src/condition/
DSimpleConditionTracker.cpp138 for (const auto& cond : mSlicedConditionState) { in handleStopAll() local
139 if (cond.second > 0) { in handleStopAll()
140 mLastChangedToFalseDimensions.insert(cond.first); in handleStopAll()
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxDec.h78 Condition cond; member
DC2SoftVpxDec.cpp315 queue.waitForCondition(queue->cond); in threadLoop()
323 queue->cond.signal(); in threadLoop()
331 queue->cond.broadcast(); in threadLoop()
474 mQueue->lock()->cond.broadcast(); in destroyDecoder()
842 queue->cond.signal(); in outputBuffer()
843 queue.waitForCondition(queue->cond); in outputBuffer()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
DUtils.java47 public static void assertTrue(boolean cond) { in assertTrue() argument
48 if (!cond) { in assertTrue()
/frameworks/av/media/codec2/sfplugin/
DC2OMXNode.cpp68 jobs->cond.broadcast(); in queue()
120 jobs.waitForConditionRelative(jobs->cond, kWaitNs); in threadLoop()
159 Condition cond; member
/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp205 #define CHECK_ARG(cond) { \ argument
206 if (!(cond)) { \
207 ALOGV("Invalid argument: "#cond); \
/frameworks/wilhelm/tests/sandbox/
Dreverb.c179 static pthread_cond_t cond = PTHREAD_COND_INITIALIZER; variable
214 ok = pthread_cond_signal(&cond); in prefetch_callback()
614 pthread_cond_wait(&cond, &mutex); in main()

123