/frameworks/base/include/utils/ |
D | threads.h | 191 class Mutex { 198 Mutex(); 199 Mutex(const char* name); 200 Mutex(int type, const char* name = NULL); 201 ~Mutex(); 214 inline Autolock(Mutex& mutex) : mLock(mutex) { mLock.lock(); } in Autolock() 215 inline Autolock(Mutex* mutex) : mLock(*mutex) { mLock.lock(); } in Autolock() 218 Mutex& mLock; 225 Mutex(const Mutex&); 226 Mutex& operator = (const Mutex&); [all …]
|
D | Singleton.h | 32 Mutex::Autolock _l(sLock); in getInstance() 48 static Mutex sLock; 61 template< class TYPE > Mutex Singleton< TYPE >::sLock; \
|
/frameworks/base/media/libmediaplayerservice/ |
D | MediaRecorderClient.cpp | 58 Mutex::Autolock lock(mLock); in setCamera() 69 Mutex::Autolock lock(mLock); in setPreviewSurface() 83 Mutex::Autolock lock(mLock); in setVideoSource() 97 Mutex::Autolock lock(mLock); in setAudioSource() 108 Mutex::Autolock lock(mLock); in setOutputFormat() 119 Mutex::Autolock lock(mLock); in setVideoEncoder() 130 Mutex::Autolock lock(mLock); in setAudioEncoder() 141 Mutex::Autolock lock(mLock); in setOutputFile() 152 Mutex::Autolock lock(mLock); in setOutputFile() 163 Mutex::Autolock lock(mLock); in setVideoSize() [all …]
|
D | VorbisPlayer.cpp | 69 Mutex::Autolock l(mMutex); in onFirstRef() 138 Mutex::Autolock l(mMutex); in setdatasource() 232 Mutex::Autolock l(mMutex); in start() 249 Mutex::Autolock l(mMutex); in stop() 261 Mutex::Autolock l(mMutex); in seekTo() 278 Mutex::Autolock l(mMutex); in pause() 298 Mutex::Autolock l(mMutex); in getCurrentPosition() 314 Mutex::Autolock l(mMutex); in getDuration() 331 Mutex::Autolock l(mMutex); in release() 347 Mutex::Autolock l(mMutex); in reset() [all …]
|
D | MidiFile.cpp | 91 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 …]
|
D | VorbisMetadataRetriever.cpp | 37 Mutex::Autolock lock(mLock); in setDataSource() 48 Mutex::Autolock lock(mLock); in setDataSource() 59 Mutex::Autolock lock(mLock); in extractMetadata()
|
D | MidiMetadataRetriever.cpp | 41 Mutex::Autolock lock(mLock); in setDataSource() 52 Mutex::Autolock lock(mLock); in setDataSource() 63 Mutex::Autolock lock(mLock); in extractMetadata()
|
D | MetadataRetrieverClient.cpp | 93 Mutex::Autolock lock(mLock); in disconnect() 136 Mutex::Autolock lock(mLock); in setDataSource() 161 Mutex::Autolock lock(mLock); in setDataSource() 209 Mutex::Autolock lock(mLock); in setMode() 222 Mutex::Autolock lock(mLock); in getMode() 239 Mutex::Autolock lock(mLock); in captureFrame() 281 Mutex::Autolock lock(mLock); in extractAlbumArt() 319 Mutex::Autolock lock(mLock); in extractMetadata()
|
/frameworks/base/media/libmedia/ |
D | mediaplayer.cpp | 38 Mutex MediaPlayer::sServiceLock; 46 Mutex::Autolock _l(sServiceLock); in getMediaPlayerService() 69 Mutex::Autolock _l(sServiceLock); in addObitRecipient() 75 Mutex::Autolock _l(sServiceLock); in removeObitRecipient() 115 Mutex::Autolock _l(mLock); in disconnect() 137 Mutex::Autolock _l(mLock); in setListener() 148 Mutex::Autolock _l(mLock); in setDataSource() 201 Mutex::Autolock _l(mLock); in invoke() 214 Mutex::Autolock lock(mLock); in setMetadataFilter() 224 Mutex::Autolock lock(mLock); in getMetadata() [all …]
|
D | JetPlayer.cpp | 108 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 …]
|
D | mediametadataretriever.cpp | 31 Mutex MediaMetadataRetriever::sServiceLock; 37 Mutex::Autolock lock(sServiceLock); in getService() 86 Mutex::Autolock _l(mLock); in disconnect() 175 Mutex::Autolock lock(MediaMetadataRetriever::sServiceLock); in binderDied() 182 Mutex::Autolock lock(sServiceLock); in ~DeathNotifier()
|
/frameworks/base/libs/surfaceflinger/ |
D | Barrier.h | 36 Mutex::Autolock _l(lock); in open() 41 Mutex::Autolock _l(lock); in close() 45 Mutex::Autolock _l(lock); in wait() 52 mutable Mutex lock;
|
/frameworks/base/libs/utils/ |
D | Threads.cpp | 284 Mutex::Mutex() 294 Mutex::Mutex(const char* name) 305 Mutex::Mutex(int type, const char* name) 316 Mutex::~Mutex() 321 status_t Mutex::lock() 328 void Mutex::unlock() 334 status_t Mutex::tryLock() 492 status_t Condition::wait(Mutex& mutex) 500 status_t Condition::waitRelative(Mutex& mutex, nsecs_t reltime) 608 Mutex::Autolock _l(mLock); in run() [all …]
|
/frameworks/base/camera/libcameraservice/ |
D | CameraHardwareStub.cpp | 118 Mutex::Autolock lock(mLock); in setCallbacks() 127 Mutex::Autolock lock(mLock); in enableMsgType() 133 Mutex::Autolock lock(mLock); in disableMsgType() 139 Mutex::Autolock lock(mLock); in msgTypeEnabled() 196 Mutex::Autolock lock(mLock); in startPreview() 210 Mutex::Autolock lock(mLock); in stopPreview() 219 Mutex::Autolock lock(mLock); in stopPreview() 262 Mutex::Autolock lock(mLock); in autoFocus() 337 Mutex::Autolock lock(mLock); in setParameters() 367 Mutex::Autolock lock(mLock); in getParameters()
|
D | CameraService.cpp | 101 Mutex::Autolock lock(mServiceLock); in connect() 156 Mutex::Autolock lock(mServiceLock); in removeClient() 257 Mutex::Autolock _l(mLock); in lock() 271 Mutex::Autolock _l(mLock); in unlock() 303 Mutex::Autolock _l(mLock); in connect() 386 Mutex::Autolock lock(mLock); in disconnect() 432 Mutex::Autolock lock(mLock); in setPreviewDisplay() 436 Mutex::Autolock surfaceLock(mSurfaceLock); in setPreviewDisplay() 473 Mutex::Autolock lock(mLock); in setPreviewCallbackFlag() 496 Mutex::Autolock lock(mLock); in startCameraMode() [all …]
|
/frameworks/base/media/jni/soundpool/ |
D | SoundPool.cpp | 81 Mutex::Autolock lock(&mLock); in ~SoundPool() 96 Mutex::Autolock lock(&mRestartLock); in addToRestartList() 174 Mutex::Autolock lock(&mLock); in load() 185 Mutex::Autolock lock(&mLock); in load() 202 Mutex::Autolock lock(&mLock); in unload() 217 Mutex::Autolock lock(&mLock); in play() 288 Mutex::Autolock lock(&mLock); in pause() 298 Mutex::Autolock lock(&mLock); in resume() 308 Mutex::Autolock lock(&mLock); in stop() 321 Mutex::Autolock lock(&mLock); in setVolume() [all …]
|
/frameworks/base/libs/ui/ |
D | GraphicBufferAllocator.cpp | 32 Mutex GraphicBufferAllocator::sLock; 54 Mutex::Autolock _l(sLock); in dump() 81 Mutex::Autolock _l(mLock); in alloc() 100 Mutex::Autolock _l(sLock); in alloc() 121 Mutex::Autolock _l(mLock); in free() 132 Mutex::Autolock _l(sLock); in free()
|
/frameworks/base/opengl/libagl/ |
D | TokenManager.cpp | 37 Mutex::Autolock _l(mLock); in getToken() 45 Mutex::Autolock _l(mLock); in recycleTokens() 56 Mutex::Autolock _l(mLock); in isTokenValid()
|
/frameworks/base/media/jni/ |
D | android_media_MediaMetadataRetriever.cpp | 42 static Mutex sLock; 79 Mutex::Autolock lock(sLock); in android_media_MediaMetadataRetriever_setDataSource() 108 Mutex::Autolock lock(sLock); in android_media_MediaMetadataRetriever_setDataSourceFD() 138 Mutex::Autolock lock(sLock); in android_media_MediaMetadataRetriever_setMode() 150 Mutex::Autolock lock(sLock); in android_media_MediaMetadataRetriever_getMode() 164 Mutex::Autolock lock(sLock); in android_media_MediaMetadataRetriever_captureFrame() 205 Mutex::Autolock lock(sLock); in android_media_MediaMetadataRetriever_extractAlbumArt() 241 Mutex::Autolock lock(sLock); in android_media_MediaMetadataRetriever_extractMetadata() 259 Mutex::Autolock lock(sLock); in android_media_MediaMetadataRetriever_release()
|
/frameworks/base/media/libstagefright/omx/ |
D | OMXNodeInstance.cpp | 178 Mutex::Autolock autoLock(mLock); in sendCommand() 186 Mutex::Autolock autoLock(mLock); in getParameter() 194 Mutex::Autolock autoLock(mLock); in setParameter() 204 Mutex::Autolock autoLock(mLock); in getConfig() 212 Mutex::Autolock autoLock(mLock); in setConfig() 223 Mutex::Autolock autoLock(mLock); in useBuffer() 253 Mutex::Autolock autoLock(mLock); in allocateBuffer() 283 Mutex::Autolock autoLock(mLock); in allocateBufferWithBackup() 312 Mutex::Autolock autoLock(mLock); in freeBuffer() 328 Mutex::Autolock autoLock(mLock); in fillBuffer() [all …]
|
/frameworks/base/media/libstagefright/ |
D | MediaBufferGroup.cpp | 45 Mutex::Autolock autoLock(mLock); in add_buffer() 59 Mutex::Autolock autoLock(mLock); in acquire_buffer() 82 Mutex::Autolock autoLock(mLock); in signalBufferReturned()
|
D | AudioPlayer.cpp | 189 Mutex::Autolock autoLock(mLock); in fillBuffer() 220 Mutex::Autolock autoLock(mLock); in fillBuffer() 256 Mutex::Autolock autoLock(mLock); in fillBuffer() 261 Mutex::Autolock autoLock(mLock); in getRealTimeUs() 270 Mutex::Autolock autoLock(mLock); in getMediaTimeUs() 277 Mutex::Autolock autoLock(mLock); in getMediaTimeMapping() 286 Mutex::Autolock autoLock(mLock); in seekTo()
|
D | DataSource.cpp | 47 Mutex DataSource::gSnifferMutex; 54 Mutex::Autolock autoLock(gSnifferMutex); in sniff() 72 Mutex::Autolock autoLock(gSnifferMutex); in RegisterSniffer()
|
/frameworks/base/include/private/binder/ |
D | Static.h | 31 extern Mutex gProcessMutex; 35 extern Mutex gDefaultServiceManagerLock;
|
/frameworks/base/libs/binder/ |
D | Static.cpp | 29 Mutex gProcessMutex; 49 Mutex gDefaultServiceManagerLock;
|