Home
last modified time | relevance | path

Searched refs:Autolock (Results 1 – 25 of 156) sorted by relevance

1234567

/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 …]
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/av/media/libmedia/
Dmediaplayer.cpp80 Mutex::Autolock _l(mLock); in disconnect()
103 Mutex::Autolock _l(mLock); in setListener()
114 Mutex::Autolock _l(mLock); in attachNewPlayer()
193 Mutex::Autolock _l(mLock); in invoke()
208 Mutex::Autolock lock(mLock); in setMetadataFilter()
218 Mutex::Autolock lock(mLock); in getMetadata()
229 Mutex::Autolock _l(mLock); in setVideoSurfaceTexture()
253 Mutex::Autolock _l(mLock); in prepare()
278 Mutex::Autolock _l(mLock); in prepareAsync()
285 Mutex::Autolock _l(mLock); in start()
[all …]
Dmediametadataretriever.cpp37 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.cpp38 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/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);
/frameworks/av/media/libstagefright/chromium_http/
DChromiumHTTPDataSource.cpp62 Mutex::Autolock autoLock(mLock); in connect()
112 Mutex::Autolock autoLock(mLock); in onConnectionEstablished()
127 Mutex::Autolock autoLock(mLock); in onConnectionFailed()
137 Mutex::Autolock autoLock(mLock); in disconnect()
159 Mutex::Autolock autoLock(mLock); in initCheck()
165 Mutex::Autolock autoLock(mLock); in readAt()
223 Mutex::Autolock autoLock(mLock); in onReadCompleted()
234 Mutex::Autolock autoLock(mLock); in getSize()
260 Mutex::Autolock autoLock(mLock); in onDisconnectComplete()
271 Mutex::Autolock autoLock(mLock); in DrmInitialization()
[all …]
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp160 Mutex::Autolock lock(mServiceLock); in connect()
213 Mutex::Autolock lock(mServiceLock); in removeClient()
303 Mutex::Autolock lock(mSoundLock); in loadSound()
312 Mutex::Autolock lock(mSoundLock); in releaseSound()
326 Mutex::Autolock lock(mSoundLock); in playSound()
413 Mutex::Autolock ilock(mICameraLock); in lock()
414 Mutex::Autolock lock(mLock); in lock()
429 Mutex::Autolock iLock(mICameraLock); in unlock()
430 Mutex::Autolock lock(mLock); in unlock()
452 Mutex::Autolock iLock(mICameraLock); in connect()
[all …]
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()
/frameworks/ex/variablespeed/jni/
Dvariablespeed.cc114 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()
378 android::Mutex::Autolock autoLock(callbackLock_); in GetTimeScaler()
[all …]
/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/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()
Dcommon_clock.cpp43 Mutex::Autolock lock(&lock_); in init()
68 Mutex::Autolock lock(&lock_); in localToCommon()
80 Mutex::Autolock lock(&lock_); in commonToLocal()
98 Mutex::Autolock lock(&lock_); in setBasis()
106 Mutex::Autolock lock(&lock_); in resetBasis()
114 Mutex::Autolock lock(&lock_); in setSlew()
/frameworks/native/services/surfaceflinger/
DEventThread.cpp61 Mutex::Autolock _l(mLock); in registerDisplayEventConnection()
69 Mutex::Autolock _l(mLock); in unregisterDisplayEventConnection()
77 Mutex::Autolock _l(mLock); in removeDisplayEventConnection()
84 Mutex::Autolock _l(mLock); in setVsyncRate()
95 Mutex::Autolock _l(mLock); in requestNextVsync()
103 Mutex::Autolock _l(mLock); in onScreenReleased()
112 Mutex::Autolock _l(mLock); in onScreenAcquired()
122 Mutex::Autolock _l(mLock); in onVSyncReceived()
134 Mutex::Autolock _l(mLock); in threadLoop()
273 Mutex::Autolock _l(mLock); in dump()
/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()
116 Mutex::Autolock lock(mMutex); in setFrameRate()
131 Mutex::Autolock lock(mMutex); in getFrameRate()
153 Mutex::Autolock lock(mMutex); in reset()
167 Mutex::Autolock lock(mMutex); in getFormat()
216 Mutex::Autolock lock(mMutex); in read()
311 Mutex::Autolock lock(mMutex); in signalBufferReturned()
357 Mutex::Autolock lock(mMutex); in onFrameAvailable()
[all …]
/frameworks/native/include/utils/
DMutex.h63 class Autolock {
65 inline Autolock(Mutex& mutex) : mLock(mutex) { mLock.lock(); } in Autolock() function
66 inline Autolock(Mutex* mutex) : mLock(*mutex) { mLock.lock(); } in Autolock() function
67 inline ~Autolock() { mLock.unlock(); } in ~Autolock()
131 typedef Mutex::Autolock AutoMutex;
/frameworks/native/libs/gui/
DSurfaceTexture.cpp165 Mutex::Autolock lock(mMutex); in setBufferCountServer()
172 Mutex::Autolock lock(mMutex); in setDefaultBufferSize()
185 Mutex::Autolock lock(mMutex); in updateTexImage()
334 Mutex::Autolock lock(mMutex); in detachFromContext()
391 Mutex::Autolock lock(mMutex); in attachToContext()
523 Mutex::Autolock lock(mMutex); in getTransformMatrix()
528 Mutex::Autolock lock(mMutex); in setFilteringEnabled()
630 Mutex::Autolock lock(mMutex); in getTimestamp()
637 Mutex::Autolock lock(mMutex); in setFrameAvailableListener()
658 Mutex::Autolock lock(mMutex); in getCurrentBuffer()
[all …]
/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/base/libs/hwui/
DResourceCache.cpp40 Mutex::Autolock _l(mLock); in ResourceCache()
45 Mutex::Autolock _l(mLock); in ~ResourceCache()
50 Mutex::Autolock _l(mLock); in incrementRefcount()
80 Mutex::Autolock _l(mLock); in decrementRefcount()
113 Mutex::Autolock _l(mLock); in recycle()
131 Mutex::Autolock _l(mLock); in destructor()
148 Mutex::Autolock _l(mLock); in destructor()
165 Mutex::Autolock _l(mLock); in destructor()
179 Mutex::Autolock _l(mLock); in destructor()
/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()
/frameworks/native/opengl/libs/EGL/
Degl_display.cpp87 Mutex::Autolock _l(lock); in addObject()
92 Mutex::Autolock _l(lock); in removeObject()
97 Mutex::Autolock _l(lock); in getObject()
116 Mutex::Autolock _l(lock); in getDisplay()
136 Mutex::Autolock _l(lock); in initialize()
263 Mutex::Autolock _l(lock); in terminate()
325 Mutex::Autolock _l(lock); in loseCurrentImpl()
351 Mutex::Autolock _l(lock); in makeCurrent()
386 Mutex::Autolock _l(mLock); in incWakeCount()
413 Mutex::Autolock _l(mLock); in decWakeCount()
[all …]
/frameworks/av/media/libstagefright/mpeg2ts/
DAnotherPacketSource.cpp68 Mutex::Autolock autoLock(mLock); in dequeueAccessUnit()
96 Mutex::Autolock autoLock(mLock); in read()
148 Mutex::Autolock autoLock(mLock); in queueAccessUnit()
156 Mutex::Autolock autoLock(mLock); in queueDiscontinuity()
186 Mutex::Autolock autoLock(mLock); in signalEOS()
192 Mutex::Autolock autoLock(mLock); in hasBufferAvailable()
202 Mutex::Autolock autoLock(mLock); in getBufferedDurationUs()
238 Mutex::Autolock autoLock(mLock); in nextBufferTime()
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
DMediaBufferPuller.cpp46 Mutex::Autolock autolock(mLock); in hasMediaSourceReturnedError()
50 Mutex::Autolock autolock(mLock); in start()
57 Mutex::Autolock autolock(mLock); in stop()
79 Mutex::Autolock autolock(mLock); in getBufferNonBlocking()
90 Mutex::Autolock autolock(mLock); in getBufferBlocking()
105 Mutex::Autolock autolock(mLock); in putBuffer()

1234567