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

123

/frameworks/native/libs/gui/tests/
H A DFrameWaiter.h31 Mutex::Autolock lock(mMutex);
33 mCondition.wait(mMutex);
39 Mutex::Autolock lock(mMutex);
46 Mutex mMutex; member in class:android::FrameWaiter
H A DDisconnectWaiter.h40 Mutex::Autolock lock(mMutex);
42 mFrameCondition.wait(mMutex);
48 Mutex::Autolock lock(mMutex);
54 Mutex::Autolock lock(mMutex);
56 mDisconnectCondition.wait(mMutex);
63 Mutex::Autolock lock(mMutex);
69 Mutex mMutex; member in class:android::DisconnectWaiter
H A DSurfaceTextureGLThreadToGL.h112 Mutex::Autolock lock(mMutex);
115 mFrameAvailableCondition.wait(mMutex);
125 Mutex::Autolock lock(mMutex);
134 Mutex::Autolock lock(mMutex);
139 mFrameFinishCondition.wait(mMutex);
149 Mutex mMutex; member in class:android::SurfaceTextureGLThreadToGLTest::FrameCondition
/frameworks/rs/
H A DrsMutex.cpp27 pthread_mutex_destroy(&mMutex);
31 int status = pthread_mutex_init(&mMutex, nullptr);
41 status = pthread_mutex_lock(&mMutex);
51 status = pthread_mutex_unlock(&mMutex);
H A DrsSignal.cpp29 pthread_mutex_destroy(&mMutex);
34 int status = pthread_mutex_init(&mMutex, nullptr);
43 pthread_mutex_destroy(&mMutex);
53 status = pthread_mutex_lock(&mMutex);
66 status = pthread_mutex_unlock(&mMutex);
76 status = pthread_mutex_lock(&mMutex);
84 status = pthread_cond_wait(&mCondition, &mMutex);
87 status = pthread_cond_timeout_np(&mCondition, &mMutex, timeout / 1000000);
90 status = pthread_cond_wait(&mCondition, &mMutex);
106 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/services/surfaceflinger/
H A DEventControlThread.cpp28 Mutex::Autolock lock(mMutex);
34 Mutex::Autolock lock(mMutex);
46 status_t err = mCond.wait(mMutex);
H A DEventControlThread.h42 Mutex mMutex; member in class:android::EventControlThread
H A DFrameTracker.cpp42 Mutex::Autolock lock(mMutex);
47 Mutex::Autolock lock(mMutex);
52 Mutex::Autolock lock(mMutex);
58 Mutex::Autolock lock(mMutex);
63 Mutex::Autolock lock(mMutex);
69 Mutex::Autolock lock(mMutex);
74 Mutex::Autolock lock(mMutex);
105 Mutex::Autolock lock(mMutex);
120 Mutex::Autolock lock(mMutex);
146 Mutex::Autolock lock(mMutex);
[all...]
H A DDispSync.cpp80 Mutex::Autolock lock(mMutex);
92 Mutex::Autolock lock(mMutex);
107 Mutex::Autolock lock(mMutex);
120 err = mCond.wait(mMutex);
138 err = mCond.wait(mMutex);
142 err = mCond.waitRelative(mMutex, targetTime - now);
183 Mutex::Autolock lock(mMutex);
210 Mutex::Autolock lock(mMutex);
226 Mutex::Autolock lock(mMutex);
360 Mutex mMutex; member in class:android::DispSyncThread
[all...]
H A DSurfaceFlingerConsumer.cpp40 Mutex::Autolock lock(mMutex);
114 Mutex::Autolock lock(mMutex);
215 Mutex::Autolock lock(mMutex);
237 Mutex::Autolock lock(mMutex);
244 Mutex::Autolock lock(mMutex);
/frameworks/av/services/camera/libcameraservice/utils/
H A DAutoConditionLock.cpp21 WaitableMutexWrapper::WaitableMutexWrapper(Mutex* mutex) : mMutex{mutex}, mState{false} {}
27 mManager{manager}, mAutoLock{manager->mMutex}, mAcquired(false) {}
41 if (manager == nullptr || manager->mMutex == nullptr) {
54 status_t ret = manager->mCondition.waitRelative(*(manager->mMutex), waitTime);
71 if (manager == nullptr || manager->mMutex == nullptr) {
81 status_t ret = manager->mCondition.wait(*(manager->mMutex));
/frameworks/av/media/libmedia/
H A DJetPlayer.cpp59 //Mutex::Autolock lock(&mMutex);
103 Mutex::Autolock l(mMutex);
107 mCondition.wait(mMutex);
124 Mutex::Autolock l(mMutex);
132 Mutex::Autolock lock(mMutex);
172 Mutex::Autolock l(mMutex);
180 mMutex.lock(); // [[[[[[[[ LOCK ---------------------------------------
183 mMutex.unlock();
197 mCondition.wait(mMutex);
222 mMutex
[all...]
/frameworks/native/libs/gui/
H A DConsumerBase.cpp81 Mutex::Autolock lock(mMutex);
107 Mutex::Autolock lock(mMutex);
122 Mutex::Autolock lock(mMutex);
133 Mutex::Autolock lock(mMutex);
156 Mutex::Autolock lock(mMutex);
179 Mutex::Autolock _l(mMutex);
186 Mutex::Autolock lock(mMutex);
192 Mutex::Autolock lock(mMutex);
211 Mutex::Autolock _l(mMutex);
220 Mutex::Autolock _l(mMutex);
[all...]
H A DBufferItemConsumer.cpp51 Mutex::Autolock _l(mMutex);
66 Mutex::Autolock _l(mMutex);
94 Mutex::Autolock _l(mMutex);
H A DStreamSplitter.cpp58 : mIsAbandoned(false), mMutex(), mReleaseCondition(),
80 Mutex::Autolock lock(mMutex);
98 Mutex::Autolock lock(mMutex);
104 Mutex::Autolock lock(mMutex);
114 mReleaseCondition.wait(mMutex);
190 Mutex::Autolock lock(mMutex);
272 Mutex::Autolock lock(mSplitter->mMutex);
/frameworks/av/media/libstagefright/
H A DSurfaceMediaSource.cpp89 Mutex::Autolock lock(mMutex);
96 Mutex::Autolock lock(mMutex);
112 Mutex::Autolock lock(mMutex);
121 Mutex::Autolock lock(mMutex);
137 Mutex::Autolock lock(mMutex);
145 Mutex::Autolock lock(mMutex);
187 Mutex::Autolock lock(mMutex);
197 Mutex::Autolock lock(mMutex);
206 Mutex::Autolock lock(mMutex);
225 mMediaBuffersAvailableCondition.wait(mMutex);
[all...]
H A DMediaSync.cpp50 mMutex(),
87 Mutex::Autolock lock(mMutex);
149 Mutex::Autolock lock(mMutex);
194 Mutex::Autolock lock(mMutex);
259 Mutex::Autolock lock(mMutex);
300 Mutex::Autolock lock(mMutex);
339 Mutex::Autolock lock(mMutex);
344 Mutex::Autolock lock(mMutex);
361 Mutex::Autolock lock(mMutex);
372 Mutex::Autolock lock(mMutex);
[all...]
/frameworks/wilhelm/src/
H A Dlocks.c47 ok = pthread_mutex_trylock(&thiz->mMutex);
59 ok = pthread_mutex_timedlock(&thiz->mMutex, &ts);
92 ok = pthread_mutex_lock(&thiz->mMutex);
126 ok = pthread_mutex_lock(&thiz->mMutex);
144 ok = pthread_mutex_unlock(&thiz->mMutex);
151 ok = pthread_mutex_unlock(&thiz->mMutex);
241 ok = pthread_mutex_unlock(&thiz->mMutex);
299 ok = pthread_cond_wait(&thiz->mCond, &thiz->mMutex);
310 ok = pthread_cond_wait(&thiz->mCond, &thiz->mMutex);
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...]
/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/gui/
H A DRingBufferConsumer.cpp57 Mutex::Autolock _l(mMutex);
73 Mutex::Autolock _l(mMutex);
106 } // end scope of mMutex autolock
123 Mutex::Autolock _l(mMutex);
157 Mutex::Autolock _l(mMutex);
273 Mutex::Autolock _l(mMutex);
320 } // end of mMutex lock
326 Mutex::Autolock _l(mMutex);
362 Mutex::Autolock _l(mMutex);
367 Mutex::Autolock _l(mMutex);
[all...]
/frameworks/av/cmds/screenrecord/
H A DFrameOutput.h74 Mutex mMutex; member in class:android::FrameOutput
/frameworks/av/media/libstagefright/filters/
H A DGraphicBufferListener.h56 mutable Mutex mMutex; member in struct:android::GraphicBufferListener

Completed in 281 milliseconds

123