Home
last modified time | relevance | path

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

12345678910>>...15

/frameworks/native/include/utils/
DMutex.h42 class Mutex {
49 Mutex();
50 Mutex(const char* name);
51 Mutex(int type, const char* name = NULL);
52 ~Mutex();
65 inline Autolock(Mutex& mutex) : mLock(mutex) { mLock.lock(); } in Autolock()
66 inline Autolock(Mutex* mutex) : mLock(*mutex) { mLock.lock(); } in Autolock()
69 Mutex& mLock;
76 Mutex(const Mutex&);
77 Mutex& operator = (const Mutex&);
[all …]
DSingleton.h33 Mutex::Autolock _l(sLock); in getInstance()
43 Mutex::Autolock _l(sLock); in hasInstance()
54 static Mutex sLock;
68 template<> Mutex Singleton< TYPE >::sLock(Mutex::PRIVATE); \
/frameworks/av/media/libmediaplayerservice/
DMediaRecorderClient.cpp62 Mutex::Autolock lock(mLock); in querySurfaceMediaSource()
76 Mutex::Autolock lock(mLock); in setCamera()
87 Mutex::Autolock lock(mLock); in setPreviewSurface()
101 Mutex::Autolock lock(mLock); in setVideoSource()
115 Mutex::Autolock lock(mLock); in setAudioSource()
126 Mutex::Autolock lock(mLock); in setOutputFormat()
137 Mutex::Autolock lock(mLock); in setVideoEncoder()
148 Mutex::Autolock lock(mLock); in setAudioEncoder()
159 Mutex::Autolock lock(mLock); in setOutputFile()
170 Mutex::Autolock lock(mLock); in setOutputFile()
[all …]
DHDCP.cpp54 Mutex::Autolock autoLock(mLock); in ~HDCP()
68 Mutex::Autolock autoLock(mLock); in setObserver()
80 Mutex::Autolock autoLock(mLock); in initAsync()
90 Mutex::Autolock autoLock(mLock); in shutdownAsync()
102 Mutex::Autolock autoLock(mLock); in encrypt()
119 Mutex::Autolock autoLock(mLock); in observe()
DMidiFile.cpp88 Mutex::Autolock l(mMutex); in MidiFile()
119 Mutex::Autolock lock(mMutex); in setDataSource()
150 Mutex::Autolock lock(mMutex); in setDataSource()
178 Mutex::Autolock lock(mMutex); in prepare()
208 Mutex::Autolock lock(mMutex); in start()
233 Mutex::Autolock lock(mMutex); in stop()
253 Mutex::Autolock lock(mMutex); in seekTo()
273 Mutex::Autolock lock(mMutex); in pause()
312 Mutex::Autolock lock(mMutex); in getDuration()
354 Mutex::Autolock l(mMutex); in release()
[all …]
/frameworks/rs/
DrsMutex.cpp23 Mutex::Mutex() { in Mutex() function in Mutex
26 Mutex::~Mutex() { in ~Mutex()
30 bool Mutex::init() { in init()
39 bool Mutex::lock() { in lock()
49 bool Mutex::unlock() { in unlock()
/frameworks/support/renderscript/v8/rs_support/
DrsMutex.cpp23 Mutex::Mutex() { in Mutex() function in Mutex
26 Mutex::~Mutex() { in ~Mutex()
30 bool Mutex::init() { in init()
39 bool Mutex::lock() { in lock()
49 bool Mutex::unlock() { in unlock()
/frameworks/av/drm/libdrmframework/plugins/common/util/include/
DSessionMap.h37 Mutex::Autolock lock(mLock); in ~SessionMap()
51 Mutex::Autolock lock(mLock); in addValue()
67 Mutex::Autolock lock(mLock); in getValue()
77 Mutex::Autolock lock(mLock); in getSize()
90 Mutex::Autolock lock(mLock); in getValueAt()
105 Mutex::Autolock lock(mLock); in removeValue()
118 Mutex::Autolock lock(mLock); in isCreated()
123 Mutex::Autolock lock(mLock);
132 Mutex mLock;
/frameworks/ex/variablespeed/jni/
Dno_synchronization.h29 class Mutex {
31 Mutex() {} in Mutex() function
32 virtual ~Mutex() {} in ~Mutex()
37 DISALLOW_COPY_AND_ASSIGN(Mutex);
42 explicit MutexLock(Mutex* mu) : mu_(mu) {} in MutexLock()
46 Mutex* const mu_;
Dvariablespeed.cc111 android::Mutex publishEngineLock_;
114 android::Mutex::Autolock autoLock(publishEngineLock_); in GetEngine()
309 android::Mutex::Autolock autoLock(playBufferLock_); in ~AudioEngine()
341 android::Mutex::Autolock autoLock(lock_); in RequestStart()
346 android::Mutex::Autolock autoLock(lock_); in ClearRequestStart()
351 android::Mutex::Autolock autoLock(lock_); in GetWasStartRequested()
356 android::Mutex::Autolock autoLock(lock_); in RequestStop()
361 android::Mutex::Autolock autoLock(decodeBufferLock_); in GetCurrentPosition()
365 android::Mutex::Autolock autoLock2(callbackLock_); in GetCurrentPosition()
371 android::Mutex::Autolock autoLock(lock_); in GetTotalDuration()
[all …]
/frameworks/av/media/libmedia/
Dmediaplayer.cpp79 Mutex::Autolock _l(mLock); in disconnect()
101 Mutex::Autolock _l(mLock); in setListener()
112 Mutex::Autolock _l(mLock); in attachNewPlayer()
191 Mutex::Autolock _l(mLock); in invoke()
206 Mutex::Autolock lock(mLock); in setMetadataFilter()
216 Mutex::Autolock lock(mLock); in getMetadata()
227 Mutex::Autolock _l(mLock); in setVideoSurfaceTexture()
251 Mutex::Autolock _l(mLock); in prepare()
276 Mutex::Autolock _l(mLock); in prepareAsync()
283 Mutex::Autolock _l(mLock); in start()
[all …]
Dmediametadataretriever.cpp31 Mutex MediaMetadataRetriever::sServiceLock;
37 Mutex::Autolock lock(sServiceLock); in getService()
86 Mutex::Autolock _l(mLock); in disconnect()
99 Mutex::Autolock _l(mLock); in setDataSource()
115 Mutex::Autolock _l(mLock); in setDataSource()
130 Mutex::Autolock _l(mLock); in getFrameAtTime()
141 Mutex::Autolock _l(mLock); in extractMetadata()
152 Mutex::Autolock _l(mLock); in extractAlbumArt()
161 Mutex::Autolock lock(MediaMetadataRetriever::sServiceLock); in binderDied()
168 Mutex::Autolock lock(sServiceLock); in ~DeathNotifier()
DSoundPool.cpp84 Mutex::Autolock lock(&mLock); in ~SoundPool()
99 Mutex::Autolock lock(&mRestartLock); in addToRestartList()
108 Mutex::Autolock lock(&mRestartLock); in addToStopList()
137 Mutex::Autolock lock(&mLock); in run()
152 Mutex::Autolock lock(&mLock); in run()
209 Mutex::Autolock lock(&mLock); in load()
220 Mutex::Autolock lock(&mLock); in load()
237 Mutex::Autolock lock(&mLock); in unload()
250 Mutex::Autolock lock(&mLock); in play()
323 Mutex::Autolock lock(&mLock); in pause()
[all …]
DJetPlayer.cpp101 Mutex::Autolock l(mMutex); in init()
122 Mutex::Autolock l(mMutex); in setEventCallback()
130 Mutex::Autolock lock(mMutex); in release()
174 Mutex::Autolock l(mMutex); in render()
332 Mutex::Autolock lock(mMutex); in loadFromFile()
357 Mutex::Autolock lock(mMutex); in loadFromFD()
377 Mutex::Autolock lock(mMutex); in closeFile()
386 Mutex::Autolock lock(mMutex); in play()
408 Mutex::Autolock lock(mMutex); in pause()
429 Mutex::Autolock lock(mMutex); in queueSegment()
[all …]
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()
/frameworks/av/drm/drmserver/
DDrmManager.cpp53 Mutex::Autolock _l(mLock); in addUniqueId()
91 Mutex::Autolock _l(mLock); in removeUniqueId()
128 Mutex::Autolock _l(mLock); in unloadPlugIns()
138 Mutex::Autolock _l(mListenerLock); in setDrmServiceListener()
148 Mutex::Autolock _l(mLock); in addClient()
160 Mutex::Autolock _l(mLock); in removeClient()
169 Mutex::Autolock _l(mLock); in getConstraints()
179 Mutex::Autolock _l(mLock); in getMetadata()
189 Mutex::Autolock _l(mLock); in installDrmEngine()
204 Mutex::Autolock _l(mLock); in canHandle()
[all …]
/frameworks/av/media/libstagefright/chromium_http/
DChromiumHTTPDataSource.cpp62 Mutex::Autolock autoLock(mLock); in connect()
113 Mutex::Autolock autoLock(mLock); in onConnectionEstablished()
128 Mutex::Autolock autoLock(mLock); in onConnectionFailed()
138 Mutex::Autolock autoLock(mLock); in disconnect()
160 Mutex::Autolock autoLock(mLock); in initCheck()
166 Mutex::Autolock autoLock(mLock); in readAt()
224 Mutex::Autolock autoLock(mLock); in onReadCompleted()
235 Mutex::Autolock autoLock(mLock); in getSize()
261 Mutex::Autolock autoLock(mLock); in onDisconnectComplete()
272 Mutex::Autolock autoLock(mLock); in DrmInitialization()
[all …]
/frameworks/av/media/libstagefright/
DSurfaceMediaSource.cpp88 Mutex::Autolock lock(mMutex); in getTimestamp()
95 Mutex::Autolock lock(mMutex); in setFrameAvailableListener()
108 Mutex::Autolock lock(mMutex); in dump()
117 Mutex::Autolock lock(mMutex); in setFrameRate()
133 Mutex::Autolock lock(mMutex); in getFrameRate()
141 Mutex::Autolock lock(mMutex); in start()
183 Mutex::Autolock lock(mMutex); in setMaxAcquiredBufferCount()
193 Mutex::Autolock lock(mMutex); in setUseAbsoluteTimestamps()
202 Mutex::Autolock lock(mMutex); in stop()
232 Mutex::Autolock lock(mMutex); in getFormat()
[all …]
/frameworks/native/libs/utils/
DThreads.cpp388 Mutex::Mutex()
398 Mutex::Mutex(const char* name)
409 Mutex::Mutex(int type, const char* name)
420 Mutex::~Mutex()
425 status_t Mutex::lock()
432 void Mutex::unlock()
438 status_t Mutex::tryLock()
596 status_t Condition::wait(Mutex& mutex)
604 status_t Condition::waitRelative(Mutex& mutex, nsecs_t reltime)
715 Mutex::Autolock _l(mLock); in run()
[all …]
/frameworks/native/libs/ui/
DGraphicBufferAllocator.cpp34 Mutex GraphicBufferAllocator::sLock;
56 Mutex::Autolock _l(sLock); in dump()
99 Mutex::Autolock lock(sMutex); in queueCaptiveBuffer()
112 Mutex::Autolock lock(sMutex); in waitForLiberation()
118 Mutex::Autolock lock(sMutex); in maybeWaitForLiberation()
133 Mutex::Autolock lock(sMutex); in threadLoop()
149 Mutex::Autolock _l(GraphicBufferAllocator::sLock); in threadLoop()
156 Mutex::Autolock lock(sMutex); in threadLoop()
182 static Mutex sMutex;
189 Mutex BufferLiberatorThread::sMutex;
[all …]
/frameworks/av/services/camera/libcameraservice/
DCameraClient.cpp97 Mutex* lock = mCameraService->getClientLockById(mCameraId); in ~CameraClient()
146 Mutex::Autolock lock(mLock); in lock()
161 Mutex::Autolock lock(mLock); in unlock()
183 Mutex::Autolock lock(mLock); in connect()
218 Mutex::Autolock lock(mLock); in disconnect()
262 Mutex::Autolock lock(mLock); in setPreviewWindow()
333 Mutex::Autolock lock(mLock); in setPreviewCallbackFlag()
359 Mutex::Autolock lock(mLock); in startCameraMode()
432 Mutex::Autolock lock(mLock); in stopPreview()
445 Mutex::Autolock lock(mLock); in stopRecording()
[all …]
/frameworks/base/services/common_time/
Dcommon_clock_service.cpp37 Mutex::Autolock lock(mRegistrationLock); in dump()
96 Mutex::Autolock lock(mRegistrationLock); in registerListener()
99 Mutex::Autolock lock(mCallbackLock); in registerListener()
114 Mutex::Autolock lock(mRegistrationLock); in unregisterListener()
118 Mutex::Autolock lock(mCallbackLock); in unregisterListener()
134 Mutex::Autolock lock(mRegistrationLock); in binderDied()
137 Mutex::Autolock lock(mCallbackLock); in binderDied()
150 Mutex::Autolock lock(mCallbackLock); in notifyOnTimelineChanged()
/frameworks/native/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/wilhelm/src/android/
DCallbackProtector.cpp40 Mutex::Autolock _l(mLock); in ~CallbackProtector()
60 Mutex::Autolock _l(mLock); in enterCb()
86 Mutex::Autolock _l(mLock); in exitCb()
112 Mutex::Autolock _l(mLock); in requestCbExitAndWait()
133 Mutex::Autolock _l(mLock); in requestCbExit()
/frameworks/av/media/libstagefright/foundation/
DALooperRoster.cpp36 Mutex::Autolock autoLock(mLock); in registerHandler()
55 Mutex::Autolock autoLock(mLock); in unregisterHandler()
76 Mutex::Autolock autoLock(mLock); in postMessage()
111 Mutex::Autolock autoLock(mLock); in deliverMessage()
137 Mutex::Autolock autoLock(mLock); in findLooper()
157 Mutex::Autolock autoLock(mLock); in postAndAwaitResponse()
182 Mutex::Autolock autoLock(mLock); in postReply()

12345678910>>...15