Home
last modified time | relevance | path

Searched refs:Mutex (Results 1 – 25 of 193) sorted by relevance

12345678

/frameworks/base/include/utils/
Dthreads.h209 class Mutex {
216 Mutex();
217 Mutex(const char* name);
218 Mutex(int type, const char* name = NULL);
219 ~Mutex();
232 inline Autolock(Mutex& mutex) : mLock(mutex) { mLock.lock(); } in Autolock()
233 inline Autolock(Mutex* mutex) : mLock(*mutex) { mLock.lock(); } in Autolock()
236 Mutex& mLock;
243 Mutex(const Mutex&);
244 Mutex& operator = (const Mutex&);
[all …]
DSingleton.h32 Mutex::Autolock _l(sLock); in getInstance()
48 static Mutex sLock;
63 template<> Mutex Singleton< TYPE >::sLock(Mutex::PRIVATE); \
/frameworks/base/media/libmediaplayerservice/
DMediaRecorderClient.cpp65 Mutex::Autolock lock(mLock); in setCamera()
76 Mutex::Autolock lock(mLock); in setPreviewSurface()
90 Mutex::Autolock lock(mLock); in setVideoSource()
104 Mutex::Autolock lock(mLock); in setAudioSource()
115 Mutex::Autolock lock(mLock); in setOutputFormat()
126 Mutex::Autolock lock(mLock); in setVideoEncoder()
137 Mutex::Autolock lock(mLock); in setAudioEncoder()
148 Mutex::Autolock lock(mLock); in setOutputFile()
159 Mutex::Autolock lock(mLock); in setOutputFile()
170 Mutex::Autolock lock(mLock); in setVideoSize()
[all …]
DMidiFile.cpp91 Mutex::Autolock l(mMutex); in MidiFile()
121 Mutex::Autolock lock(mMutex); in setDataSource()
152 Mutex::Autolock lock(mMutex); in setDataSource()
180 Mutex::Autolock lock(mMutex); in prepare()
210 Mutex::Autolock lock(mMutex); in start()
235 Mutex::Autolock lock(mMutex); in stop()
255 Mutex::Autolock lock(mMutex); in seekTo()
275 Mutex::Autolock lock(mMutex); in pause()
314 Mutex::Autolock lock(mMutex); in getDuration()
356 Mutex::Autolock l(mMutex); in release()
[all …]
DMidiMetadataRetriever.cpp41 Mutex::Autolock lock(mLock); in setDataSource()
53 Mutex::Autolock lock(mLock); in setDataSource()
64 Mutex::Autolock lock(mLock); in extractMetadata()
/frameworks/base/media/libmedia/
Dmediaplayer.cpp74 Mutex::Autolock _l(mLock); in disconnect()
96 Mutex::Autolock _l(mLock); in setListener()
107 Mutex::Autolock _l(mLock); in setDataSource()
163 Mutex::Autolock _l(mLock); in invoke()
176 Mutex::Autolock _l(mLock); in suspend()
181 Mutex::Autolock _l(mLock); in resume()
188 Mutex::Autolock lock(mLock); in setMetadataFilter()
198 Mutex::Autolock lock(mLock); in getMetadata()
208 Mutex::Autolock _l(mLock); in setVideoSurface()
235 Mutex::Autolock _l(mLock); in prepare()
[all …]
Dmediametadataretriever.cpp31 Mutex MediaMetadataRetriever::sServiceLock;
37 Mutex::Autolock lock(sServiceLock); in getService()
86 Mutex::Autolock _l(mLock); in disconnect()
98 Mutex::Autolock _l(mLock); in setDataSource()
114 Mutex::Autolock _l(mLock); in setDataSource()
129 Mutex::Autolock _l(mLock); in getFrameAtTime()
140 Mutex::Autolock _l(mLock); in extractMetadata()
151 Mutex::Autolock _l(mLock); in extractAlbumArt()
160 Mutex::Autolock lock(MediaMetadataRetriever::sServiceLock); in binderDied()
167 Mutex::Autolock lock(sServiceLock); in ~DeathNotifier()
DIMediaDeathNotifier.cpp28 Mutex IMediaDeathNotifier::sServiceLock;
38 Mutex::Autolock _l(sServiceLock); in getMediaPlayerService()
65 Mutex::Autolock _l(sServiceLock); in addObitRecipient()
73 Mutex::Autolock _l(sServiceLock); in removeObitRecipient()
84 Mutex::Autolock _l(sServiceLock); in binderDied()
104 Mutex::Autolock _l(sServiceLock); in ~DeathNotifier()
DJetPlayer.cpp108 Mutex::Autolock l(mMutex); in init()
128 Mutex::Autolock l(mMutex); in setEventCallback()
136 Mutex::Autolock lock(mMutex); in release()
190 Mutex::Autolock l(mMutex); in render()
350 Mutex::Autolock lock(mMutex); in loadFromFile()
375 Mutex::Autolock lock(mMutex); in loadFromFD()
395 Mutex::Autolock lock(mMutex); in closeFile()
404 Mutex::Autolock lock(mMutex); in play()
426 Mutex::Autolock lock(mMutex); in pause()
447 Mutex::Autolock lock(mMutex); in queueSegment()
[all …]
/frameworks/base/media/jni/soundpool/
DSoundPool.cpp83 Mutex::Autolock lock(&mLock); in ~SoundPool()
98 Mutex::Autolock lock(&mRestartLock); in addToRestartList()
176 Mutex::Autolock lock(&mLock); in load()
187 Mutex::Autolock lock(&mLock); in load()
204 Mutex::Autolock lock(&mLock); in unload()
219 Mutex::Autolock lock(&mLock); in play()
290 Mutex::Autolock lock(&mLock); in pause()
300 Mutex::Autolock lock(&mLock); in autoPause()
310 Mutex::Autolock lock(&mLock); in resume()
320 Mutex::Autolock lock(&mLock); in autoResume()
[all …]
/frameworks/base/services/surfaceflinger/
DBarrier.h32 Mutex::Autolock _l(lock); in open()
37 Mutex::Autolock _l(lock); in close()
41 Mutex::Autolock _l(lock); in wait()
48 mutable Mutex lock;
/frameworks/base/media/libstagefright/mpeg2ts/
DAnotherPacketSource.cpp55 Mutex::Autolock autoLock(mLock); in read()
98 Mutex::Autolock autoLock(mLock); in queueAccessUnit()
107 Mutex::Autolock autoLock(mLock); in queueDiscontinuity()
114 Mutex::Autolock autoLock(mLock); in clear()
122 Mutex::Autolock autoLock(mLock); in signalEOS()
128 Mutex::Autolock autoLock(mLock); in hasBufferAvailable()
/frameworks/base/services/camera/libcameraservice/
DCameraHardwareStub.cpp119 Mutex::Autolock lock(mLock); in setCallbacks()
128 Mutex::Autolock lock(mLock); in enableMsgType()
134 Mutex::Autolock lock(mLock); in disableMsgType()
140 Mutex::Autolock lock(mLock); in msgTypeEnabled()
197 Mutex::Autolock lock(mLock); in startPreview()
211 Mutex::Autolock lock(mLock); in stopPreview()
220 Mutex::Autolock lock(mLock); in stopPreview()
263 Mutex::Autolock lock(mLock); in autoFocus()
338 Mutex::Autolock lock(mLock); in setParameters()
369 Mutex::Autolock lock(mLock); in getParameters()
DCameraService.cpp125 Mutex::Autolock lock(mServiceLock); in connect()
171 Mutex::Autolock lock(mServiceLock); in removeClient()
256 Mutex::Autolock lock(mSoundLock); in loadSound()
265 Mutex::Autolock lock(mSoundLock); in releaseSound()
279 Mutex::Autolock lock(mSoundLock); in playSound()
387 Mutex::Autolock lock(mLock); in lock()
402 Mutex::Autolock lock(mLock); in unlock()
420 Mutex::Autolock lock(mLock); in connect()
444 Mutex::Autolock lock(mLock); in disconnect()
486 Mutex::Autolock lock(mLock); in setPreviewDisplay()
[all …]
/frameworks/base/media/libstagefright/omx/
DOMXMaster.cpp69 Mutex::Autolock autoLock(mLock); in addPlugin()
94 Mutex::Autolock autoLock(mLock); in clearPlugins()
112 Mutex::Autolock autoLock(mLock); in makeComponentInstance()
137 Mutex::Autolock autoLock(mLock); in destroyComponentInstance()
155 Mutex::Autolock autoLock(mLock); in enumerateComponents()
174 Mutex::Autolock autoLock(mLock); in getRolesOfComponent()
DOMXNodeInstance.cpp201 Mutex::Autolock autoLock(mLock); in sendCommand()
209 Mutex::Autolock autoLock(mLock); in getParameter()
217 Mutex::Autolock autoLock(mLock); in setParameter()
227 Mutex::Autolock autoLock(mLock); in getConfig()
235 Mutex::Autolock autoLock(mLock); in setConfig()
246 Mutex::Autolock autoLock(mLock); in useBuffer()
279 Mutex::Autolock autoLock(mLock); in allocateBuffer()
312 Mutex::Autolock autoLock(mLock); in allocateBufferWithBackup()
343 Mutex::Autolock autoLock(mLock); in freeBuffer()
359 Mutex::Autolock autoLock(mLock); in fillBuffer()
[all …]
/frameworks/base/media/libstagefright/
DThreadedSource.cpp59 Mutex::Autolock autoLock(mLock); in start()
74 Mutex::Autolock autoLock(mLock); in stop()
92 Mutex::Autolock autoLock(mLock); in read()
142 Mutex::Autolock autoLock(mLock); in onMessageReceived()
156 Mutex::Autolock autoLock(mLock); in onMessageReceived()
172 Mutex::Autolock autoLock(mLock); in onMessageReceived()
DAudioPlayer.cpp251 Mutex::Autolock autoLock(mLock); in isSeeking()
258 Mutex::Autolock autoLock(mLock); in reachedEOS()
298 Mutex::Autolock autoLock(mLock); in fillBuffer()
339 Mutex::Autolock autoLock(mLock); in fillBuffer()
387 Mutex::Autolock autoLock(mLock); in fillBuffer()
394 Mutex::Autolock autoLock(mLock); in getRealTimeUs()
403 Mutex::Autolock autoLock(mLock); in getMediaTimeUs()
419 Mutex::Autolock autoLock(mLock); in getMediaTimeMapping()
428 Mutex::Autolock autoLock(mLock); in seekTo()
DNuCachedSource2.cpp189 Mutex::Autolock autoLock(mLock); in NuCachedSource2()
248 Mutex::Autolock autoLock(mLock); in fetchInternal()
292 Mutex::Autolock autoLock(mLock); in onFetch()
319 Mutex::Autolock autoLock(mLock); in onRead()
363 Mutex::Autolock autoSerializer(mSerializer); in readAt()
367 Mutex::Autolock autoLock(mLock); in readAt()
406 Mutex::Autolock autoLock(mLock); in cachedSize()
411 Mutex::Autolock autoLock(mLock); in approxDataRemaining()
429 Mutex::Autolock autoLock(mLock); in readInternal()
497 Mutex::Autolock autoLock(mLock); in clearCacheAndResume()
[all …]
DMediaBufferGroup.cpp45 Mutex::Autolock autoLock(mLock); in add_buffer()
59 Mutex::Autolock autoLock(mLock); in acquire_buffer()
82 Mutex::Autolock autoLock(mLock); in signalBufferReturned()
/frameworks/base/libs/utils/
DThreads.cpp368 Mutex::Mutex()
378 Mutex::Mutex(const char* name)
389 Mutex::Mutex(int type, const char* name)
400 Mutex::~Mutex()
405 status_t Mutex::lock()
412 void Mutex::unlock()
418 status_t Mutex::tryLock()
576 status_t Condition::wait(Mutex& mutex)
584 status_t Condition::waitRelative(Mutex& mutex, nsecs_t reltime)
692 Mutex::Autolock _l(mLock); in run()
[all …]
/frameworks/base/media/libstagefright/foundation/
DALooperRoster.cpp35 Mutex::Autolock autoLock(mLock); in registerHandler()
54 Mutex::Autolock autoLock(mLock); in unregisterHandler()
75 Mutex::Autolock autoLock(mLock); in postMessage()
104 Mutex::Autolock autoLock(mLock); in deliverMessage()
130 Mutex::Autolock autoLock(mLock); in findLooper()
DALooper.cpp84 Mutex::Autolock autoLock(mLock); in start()
99 Mutex::Autolock autoLock(mLock); in start()
121 Mutex::Autolock autoLock(mLock); in stop()
147 Mutex::Autolock autoLock(mLock); in post()
176 Mutex::Autolock autoLock(mLock); in loop()
/frameworks/base/opengl/libagl/
DTokenManager.cpp37 Mutex::Autolock _l(mLock); in getToken()
45 Mutex::Autolock _l(mLock); in recycleTokens()
56 Mutex::Autolock _l(mLock); in isTokenValid()
/frameworks/base/media/libstagefright/rtsp/
DARTSPController.cpp44 Mutex::Autolock autoLock(mLock); in connect()
70 Mutex::Autolock autoLock(mLock); in disconnect()
89 Mutex::Autolock autoLock(mLock); in seekAsync()
138 Mutex::Autolock autoLock(mLock); in onMessageReceived()
149 Mutex::Autolock autoLock(mLock); in onMessageReceived()

12345678