Searched refs:mMutex (Results 1 - 25 of 70) 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, NULL);
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, NULL);
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);
42 status_t err = mCond.wait(mMutex);
H A DEventControlThread.h42 Mutex mMutex; member in class:android::EventControlThread
H A DDispSync.cpp65 Mutex::Autolock lock(mMutex);
72 Mutex::Autolock lock(mMutex);
88 Mutex::Autolock lock(mMutex);
95 err = mCond.wait(mMutex);
110 err = mCond.waitRelative(mMutex, targetTime - now);
148 Mutex::Autolock lock(mMutex);
175 Mutex::Autolock lock(mMutex);
190 Mutex::Autolock lock(mMutex);
273 Mutex mMutex; member in class:android::DispSyncThread
314 Mutex::Autolock lock(mMutex);
[all...]
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 DSurfaceFlingerConsumer.cpp37 Mutex::Autolock lock(mMutex);
99 Mutex::Autolock lock(mMutex);
172 Mutex::Autolock lock(mMutex);
179 Mutex::Autolock lock(mMutex);
/frameworks/av/media/libmedia/
H A DJetPlayer.cpp60 //Mutex::Autolock lock(&mMutex);
98 Mutex::Autolock l(mMutex);
102 mCondition.wait(mMutex);
119 Mutex::Autolock l(mMutex);
127 Mutex::Autolock lock(mMutex);
170 Mutex::Autolock l(mMutex);
178 mMutex.lock(); // [[[[[[[[ LOCK ---------------------------------------
181 mMutex.unlock();
195 mCondition.wait(mMutex);
220 mMutex
[all...]
/frameworks/av/media/libstagefright/
H A DSurfaceMediaSource.cpp87 Mutex::Autolock lock(mMutex);
94 Mutex::Autolock lock(mMutex);
110 Mutex::Autolock lock(mMutex);
119 Mutex::Autolock lock(mMutex);
135 Mutex::Autolock lock(mMutex);
143 Mutex::Autolock lock(mMutex);
185 Mutex::Autolock lock(mMutex);
195 Mutex::Autolock lock(mMutex);
204 Mutex::Autolock lock(mMutex);
223 mMediaBuffersAvailableCondition.wait(mMutex);
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMidiFile.cpp88 Mutex::Autolock l(mMutex);
91 mCondition.wait(mMutex);
121 Mutex::Autolock lock(mMutex);
152 Mutex::Autolock lock(mMutex);
180 Mutex::Autolock lock(mMutex);
210 Mutex::Autolock lock(mMutex);
238 Mutex::Autolock lock(mMutex);
259 Mutex::Autolock lock(mMutex);
279 Mutex::Autolock lock(mMutex);
319 Mutex::Autolock lock(mMutex);
[all...]
/frameworks/native/libs/gui/
H A DBufferItemConsumer.cpp51 Mutex::Autolock _l(mMutex);
62 Mutex::Autolock _l(mMutex);
90 Mutex::Autolock _l(mMutex);
104 Mutex::Autolock _l(mMutex);
109 Mutex::Autolock _l(mMutex);
H A DBufferQueueConsumer.cpp41 Mutex::Autolock lock(mCore->mMutex);
183 Mutex::Autolock lock(mCore->mMutex);
218 Mutex::Autolock lock(mCore->mMutex);
290 Mutex::Autolock lock(mCore->mMutex);
350 Mutex::Autolock lock(mCore->mMutex);
368 Mutex::Autolock lock(mCore->mMutex);
391 Mutex::Autolock lock(mCore->mMutex);
433 Mutex::Autolock lock(mCore->mMutex);
441 Mutex::Autolock lock(mCore->mMutex);
448 Mutex::Autolock lock(mCore->mMutex);
[all...]
H A DConsumerBase.cpp80 Mutex::Autolock lock(mMutex);
106 Mutex::Autolock lock(mMutex);
117 Mutex::Autolock lock(mMutex);
140 Mutex::Autolock lock(mMutex);
161 Mutex::Autolock lock(mMutex);
170 Mutex::Autolock _l(mMutex);
204 Mutex::Autolock lock(mMutex);
H A DStreamSplitter.cpp57 : mIsAbandoned(false), mMutex(), mReleaseCondition(),
79 Mutex::Autolock lock(mMutex);
97 Mutex::Autolock lock(mMutex);
103 Mutex::Autolock lock(mMutex);
113 mReleaseCondition.wait(mMutex);
189 Mutex::Autolock lock(mMutex);
271 Mutex::Autolock lock(mSplitter->mMutex);
/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.c48 ok = pthread_mutex_trylock(&thiz->mMutex);
60 ok = pthread_mutex_timedlock(&thiz->mMutex, &ts);
93 ok = pthread_mutex_lock(&thiz->mMutex);
127 ok = pthread_mutex_lock(&thiz->mMutex);
145 ok = pthread_mutex_unlock(&thiz->mMutex);
152 ok = pthread_mutex_unlock(&thiz->mMutex);
242 ok = pthread_mutex_unlock(&thiz->mMutex);
300 ok = pthread_cond_wait(&thiz->mCond, &thiz->mMutex);
311 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/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);
275 Mutex::Autolock _l(mMutex);
322 } // end of mMutex lock
328 Mutex::Autolock _l(mMutex);
364 Mutex::Autolock _l(mMutex);
369 Mutex::Autolock _l(mMutex);
[all...]
/frameworks/av/cmds/screenrecord/
H A DFrameOutput.h74 Mutex mMutex; member in class:android::FrameOutput
/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

Completed in 302 milliseconds

123