Searched refs:mMutex (Results 1 - 25 of 50) sorted by last modified time

12

/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 DThreadPool.h54 pthread_mutex_t mMutex; member in struct:__anon1601
H A Ditfstruct.h38 pthread_mutex_t mMutex; member in struct:Object_interface
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);
H A Dsles_allinclusive.h273 pthread_mutex_t mMutex; // protects mSNDFILE only member in struct:SndFile
/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/wilhelm/src/itf/
H A DIEngine.c226 memset(&thiz->mSndFile.mMutex, 0, sizeof(pthread_mutex_t));
H A DIObject.c772 ok = pthread_mutex_init(&thiz->mMutex, (const pthread_mutexattr_t *) NULL);
797 ok = pthread_mutex_unlock(&thiz->mMutex);
799 ok = pthread_mutex_destroy(&thiz->mMutex);
/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 DrsMutex.h36 pthread_mutex_t mMutex; member in class:android::renderscript::Mutex
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 DrsSignal.h41 pthread_mutex_t mMutex; member in class:android::renderscript::Signal
/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 DrsMutex.h36 pthread_mutex_t mMutex; member in class:android::renderscript::Mutex
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 DrsSignal.h41 pthread_mutex_t mMutex; member in class:android::renderscript::Signal
/frameworks/native/include/gui/
H A DBufferQueue.h518 // mMutex is the mutex used to prevent concurrent access to the member
521 mutable Mutex mMutex; member in class:android::BufferQueue
H A DConsumerBase.h109 // This method must be called with mMutex locked.
121 // This method must be called with mMutex locked.
134 // This method must be called with mMutex locked.
208 // mMutex is the mutex used to prevent concurrent access to the member
214 mutable Mutex mMutex; member in class:android::ConsumerBase
H A DSurfaceTextureClient.h207 // mMutex is the mutex used to prevent concurrent access to the member
210 mutable Mutex mMutex; member in class:android::SurfaceTextureClient
/frameworks/native/include/utils/
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);
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);
/frameworks/native/libs/gui/
H A DBufferItemConsumer.cpp45 Mutex::Autolock _l(mMutex);
55 Mutex::Autolock _l(mMutex);
83 Mutex::Autolock _l(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 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 DCpuConsumer.cpp51 Mutex::Autolock _l(mMutex);
66 Mutex::Autolock _l(mMutex);
118 Mutex::Autolock _l(mMutex);

Completed in 146 milliseconds

12