Searched refs:mMutex (Results 1 - 25 of 50) sorted by relevance

12

/frameworks/rs/
H A DrsMutex.cpp27 pthread_mutex_destroy(&mMutex);
31 int status = pthread_mutex_init(&mMutex, NULL);
41 status = pthread_mutex_lock(&mMutex);
51 status = pthread_mutex_unlock(&mMutex);
H A DrsSignal.cpp28 pthread_mutex_destroy(&mMutex);
33 int status = pthread_mutex_init(&mMutex, NULL);
42 pthread_mutex_destroy(&mMutex);
52 status = pthread_mutex_lock(&mMutex);
65 status = pthread_mutex_unlock(&mMutex);
75 status = pthread_mutex_lock(&mMutex);
83 status = pthread_cond_wait(&mCondition, &mMutex);
86 status = pthread_cond_timeout_np(&mCondition, &mMutex, timeout / 1000000);
89 status = pthread_cond_wait(&mCondition, &mMutex);
103 status = pthread_mutex_unlock(&mMutex);
[all...]
H A DrsMutex.h36 pthread_mutex_t mMutex; member in class:android::renderscript::Mutex
H A DrsSignal.h41 pthread_mutex_t mMutex; member in class:android::renderscript::Signal
/frameworks/support/renderscript/v8/rs_support/
H A DrsMutex.cpp27 pthread_mutex_destroy(&mMutex);
31 int status = pthread_mutex_init(&mMutex, NULL);
41 status = pthread_mutex_lock(&mMutex);
51 status = pthread_mutex_unlock(&mMutex);
H A DrsSignal.cpp28 pthread_mutex_destroy(&mMutex);
33 int status = pthread_mutex_init(&mMutex, NULL);
42 pthread_mutex_destroy(&mMutex);
52 status = pthread_mutex_lock(&mMutex);
65 status = pthread_mutex_unlock(&mMutex);
75 status = pthread_mutex_lock(&mMutex);
83 status = pthread_cond_wait(&mCondition, &mMutex);
86 status = pthread_cond_timeout_np(&mCondition, &mMutex, timeout / 1000000);
89 status = pthread_cond_wait(&mCondition, &mMutex);
103 status = pthread_mutex_unlock(&mMutex);
[all...]
H A DrsMutex.h36 pthread_mutex_t mMutex; member in class:android::renderscript::Mutex
H A DrsSignal.h41 pthread_mutex_t mMutex; member in class:android::renderscript::Signal
/frameworks/native/include/utils/
H A DMutex.h80 pthread_mutex_t mMutex; member in class:android::Mutex
92 pthread_mutex_init(&mMutex, NULL);
95 pthread_mutex_init(&mMutex, NULL);
102 pthread_mutex_init(&mMutex, &attr);
105 pthread_mutex_init(&mMutex, NULL);
109 pthread_mutex_destroy(&mMutex);
112 return -pthread_mutex_lock(&mMutex);
115 pthread_mutex_unlock(&mMutex);
118 return -pthread_mutex_trylock(&mMutex);
H A DCondition.h93 return -pthread_cond_wait(&mCond, &mutex.mMutex);
100 return -pthread_cond_timedwait_relative_np(&mCond, &mutex.mMutex, &ts);
118 return -pthread_cond_timedwait(&mCond, &mutex.mMutex, &ts);
/frameworks/av/media/libmedia/
H A DJetPlayer.cpp63 //Mutex::Autolock lock(&mMutex);
101 Mutex::Autolock l(mMutex);
105 mCondition.wait(mMutex);
122 Mutex::Autolock l(mMutex);
130 Mutex::Autolock lock(mMutex);
174 Mutex::Autolock l(mMutex);
182 mMutex.lock(); // [[[[[[[[ LOCK ---------------------------------------
185 mMutex.unlock();
199 mCondition.wait(mMutex);
224 mMutex
[all...]
/frameworks/av/media/libstagefright/
H A DSurfaceMediaSource.cpp88 Mutex::Autolock lock(mMutex);
95 Mutex::Autolock lock(mMutex);
108 Mutex::Autolock lock(mMutex);
117 Mutex::Autolock lock(mMutex);
133 Mutex::Autolock lock(mMutex);
141 Mutex::Autolock lock(mMutex);
183 Mutex::Autolock lock(mMutex);
193 Mutex::Autolock lock(mMutex);
202 Mutex::Autolock lock(mMutex);
218 mMediaBuffersAvailableCondition.wait(mMutex);
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMidiFile.cpp88 Mutex::Autolock l(mMutex);
91 mCondition.wait(mMutex);
119 Mutex::Autolock lock(mMutex);
150 Mutex::Autolock lock(mMutex);
178 Mutex::Autolock lock(mMutex);
208 Mutex::Autolock lock(mMutex);
233 Mutex::Autolock lock(mMutex);
253 Mutex::Autolock lock(mMutex);
273 Mutex::Autolock lock(mMutex);
312 Mutex::Autolock lock(mMutex);
[all...]
/frameworks/native/libs/gui/
H A DBufferItemConsumer.cpp45 Mutex::Autolock _l(mMutex);
55 Mutex::Autolock _l(mMutex);
83 Mutex::Autolock _l(mMutex);
H A DConsumerBase.cpp92 Mutex::Autolock lock(mMutex);
101 Mutex::Autolock lock(mMutex);
112 Mutex::Autolock lock(mMutex);
132 Mutex::Autolock lock(mMutex);
153 Mutex::Autolock lock(mMutex);
164 Mutex::Autolock _l(mMutex);
196 Mutex::Autolock lock(mMutex);
H A DBufferQueue.cpp114 Mutex::Autolock lock(mMutex);
119 Mutex::Autolock lock(mMutex);
124 Mutex::Autolock lock(mMutex);
130 Mutex::Autolock lock(mMutex);
137 Mutex::Autolock lock(mMutex);
147 Mutex::Autolock lock(mMutex);
201 Mutex::Autolock lock(mMutex);
235 Mutex::Autolock lock(mMutex);
273 Mutex::Autolock lock(mMutex);
354 mDequeueCondition.wait(mMutex);
[all...]
H A DSurfaceTexture.cpp143 Mutex::Autolock lock(mMutex);
150 Mutex::Autolock lock(mMutex);
201 Mutex::Autolock lock(mMutex);
339 Mutex::Autolock lock(mMutex);
396 Mutex::Autolock lock(mMutex);
553 Mutex::Autolock lock(mMutex);
558 Mutex::Autolock lock(mMutex);
676 Mutex::Autolock lock(mMutex);
697 Mutex::Autolock lock(mMutex);
702 Mutex::Autolock lock(mMutex);
[all...]
H A DCpuConsumer.cpp51 Mutex::Autolock _l(mMutex);
66 Mutex::Autolock _l(mMutex);
118 Mutex::Autolock _l(mMutex);
H A DSurfaceTextureClient.cpp200 Mutex::Autolock lock(mMutex);
247 Mutex::Autolock lock(mMutex);
272 Mutex::Autolock lock(mMutex);
279 Mutex::Autolock lock(mMutex);
319 Mutex::Autolock lock(mMutex);
507 Mutex::Autolock lock(mMutex);
525 Mutex::Autolock lock(mMutex);
546 Mutex::Autolock lock(mMutex);
565 Mutex::Autolock lock(mMutex);
574 Mutex::Autolock lock(mMutex);
[all...]
/frameworks/wilhelm/src/
H A DThreadPool.c98 err = pthread_mutex_init(&tp->mMutex, (const pthread_mutexattr_t *) NULL);
175 ok = pthread_mutex_lock(&tp->mMutex);
182 ok = pthread_mutex_unlock(&tp->mMutex);
191 ok = pthread_mutex_lock(&tp->mMutex);
202 ok = pthread_mutex_unlock(&tp->mMutex);
205 ok = pthread_mutex_lock(&tp->mMutex);
208 ok = pthread_mutex_unlock(&tp->mMutex);
223 ok = pthread_mutex_destroy(&tp->mMutex);
280 ok = pthread_mutex_lock(&tp->mMutex);
284 ok = pthread_mutex_unlock(&tp->mMutex);
[all...]
H A Dlocks.c37 ok = pthread_mutex_trylock(&thiz->mMutex);
46 ok = pthread_mutex_lock_timeout_np(&thiz->mMutex, backoffs[i]);
79 ok = pthread_mutex_lock(&thiz->mMutex);
113 ok = pthread_mutex_lock(&thiz->mMutex);
131 ok = pthread_mutex_unlock(&thiz->mMutex);
138 ok = pthread_mutex_unlock(&thiz->mMutex);
228 ok = pthread_mutex_unlock(&thiz->mMutex);
286 ok = pthread_cond_wait(&thiz->mCond, &thiz->mMutex);
297 ok = pthread_cond_wait(&thiz->mCond, &thiz->mMutex);
/frameworks/wilhelm/src/desktop/
H A DSndFile.c37 pthread_mutex_lock(&thiz->mMutex);
39 pthread_mutex_unlock(&thiz->mMutex);
48 pthread_mutex_unlock(&thiz->mMutex);
179 // thiz->mSndFile.mMutex is initialized only when there is a valid mSNDFILE
217 pthread_mutex_lock(&audioPlayer->mSndFile.mMutex);
223 pthread_mutex_unlock(&audioPlayer->mSndFile.mMutex);
254 ok = pthread_mutex_init(&thiz->mSndFile.mMutex, (const pthread_mutexattr_t *) NULL);
283 ok = pthread_mutex_destroy(&thiz->mSndFile.mMutex);
/frameworks/av/services/camera/libcameraservice/camera2/
H A DStreamingProcessor.cpp58 Mutex::Autolock m(mMutex);
66 Mutex::Autolock m(mMutex);
76 Mutex::Autolock m(mMutex);
108 Mutex::Autolock m(mMutex);
174 Mutex::Autolock m(mMutex);
202 Mutex::Autolock m(mMutex);
217 Mutex::Autolock m(mMutex);
234 Mutex::Autolock m(mMutex);
271 Mutex::Autolock m(mMutex);
337 Mutex::Autolock m(mMutex);
[all...]
/frameworks/native/opengl/libs/EGL/
H A Degl_cache.h118 // mMutex is the mutex used to prevent concurrent access to the member
120 mutable Mutex mMutex; member in class:android::egl_cache_t
H A Degl_cache.cpp89 Mutex::Autolock lock(mMutex);
127 Mutex::Autolock lock(mMutex);
137 Mutex::Autolock lock(mMutex);
156 Mutex::Autolock lock(c->mMutex);
176 Mutex::Autolock lock(mMutex);
191 Mutex::Autolock lock(mMutex);

Completed in 156 milliseconds

12