Home
last modified time | relevance | path

Searched defs:lock (Results 1 – 25 of 353) sorted by relevance

12345678910>>...15

/frameworks/av/media/libmediaplayerservice/
DMediaRecorderClient.cpp59 Mutex::Autolock lock(mLock); in setInputSurface() local
70 Mutex::Autolock lock(mLock); in querySurfaceMediaSource() local
84 Mutex::Autolock lock(mLock); in setCamera() local
95 Mutex::Autolock lock(mLock); in setPreviewSurface() local
110 Mutex::Autolock lock(mLock); in setVideoSource() local
124 Mutex::Autolock lock(mLock); in setAudioSource() local
135 Mutex::Autolock lock(mLock); in setOutputFormat() local
146 Mutex::Autolock lock(mLock); in setVideoEncoder() local
157 Mutex::Autolock lock(mLock); in setAudioEncoder() local
168 Mutex::Autolock lock(mLock); in setOutputFile() local
[all …]
DMediaPlayerService.cpp295 Mutex::Autolock lock(mLock); in createMediaRecorder() local
303 Mutex::Autolock lock(mLock); in removeMediaRecorderClient() local
331 Mutex::Autolock lock(mLock); in create() local
433 Mutex::Autolock lock(mLock); in dump() local
552 Mutex::Autolock lock(mLock); in removeClient() local
558 Mutex::Autolock lock(mLock); in hasClient() local
746 Mutex::Autolock lock(mLock); in setDataSource_pre() local
780 Mutex::Autolock lock(mLock); in setDataSource_post() local
931 Mutex::Autolock lock(mLock); in setVideoSurfaceTexture() local
980 Mutex::Autolock lock(mLock); in setMetadataFilter() local
[all …]
DMetadataRetrieverClient.cpp78 Mutex::Autolock lock(mLock); in disconnect() local
112 Mutex::Autolock lock(mLock); in setDataSource() local
139 Mutex::Autolock lock(mLock); in setDataSource() local
181 Mutex::Autolock lock(mLock); in setDataSource() local
201 Mutex::Autolock lock(mLock); in getFrameAtTime() local
219 Mutex::Autolock lock(mLock); in getImageAtIndex() local
237 Mutex::Autolock lock(mLock); in getImageRectAtIndex() local
257 Mutex::Autolock lock(mLock); in getFrameAtIndex() local
276 Mutex::Autolock lock(mLock); in extractAlbumArt() local
309 Mutex::Autolock lock(mLock); in extractMetadata() local
/frameworks/native/services/surfaceflinger/
DBufferLayerConsumer.cpp85 Mutex::Autolock lock(mMutex); in setDefaultBufferSize() local
97 Mutex::Autolock lock(mMutex); in setContentsChangedListener() local
106 Mutex::Autolock lock(mMutex); in updateTexImage() local
167 Mutex::Autolock lock(mMutex); in bindTextureImage() local
195 Mutex::Autolock lock(mMutex); in releasePendingBuffer() local
206 Mutex::Autolock lock(mMutex); in getPrevFinalReleaseFence() local
220 std::lock_guard<std::mutex> lock(mImagesMutex); in acquireBufferLocked() local
248 std::lock_guard<std::mutex> lock(mImagesMutex); in updateAndReleaseLocked() local
303 Mutex::Autolock lock(mMutex); in getTransformMatrix() local
308 Mutex::Autolock lock(mMutex); in setFilteringEnabled() local
[all …]
DSurfaceTracing.cpp46 std::scoped_lock lock(mSfLock); in addFirstEntry() local
53 std::unique_lock<std::mutex> lock(mSfLock); in traceWhenNotified() local
62 std::scoped_lock lock(mTraceLock); in addTraceToBuffer() local
72 std::scoped_lock lock(mSfLock); in notify() local
79 std::scoped_lock lock(mTraceLock); in writeToFileAsync() local
116 std::scoped_lock lock(mTraceLock); in enable() local
132 std::scoped_lock lock(mTraceLock); in disable() local
145 std::scoped_lock lock(mTraceLock); in isEnabled() local
150 std::scoped_lock lock(mTraceLock); in setBufferSize() local
156 std::scoped_lock lock(mSfLock); in setTraceFlags() local
[all …]
DFrameTracker.cpp41 Mutex::Autolock lock(mMutex); in setDesiredPresentTime() local
46 Mutex::Autolock lock(mMutex); in setFrameReadyTime() local
52 Mutex::Autolock lock(mMutex); in setFrameReadyFence() local
58 Mutex::Autolock lock(mMutex); in setActualPresentTime() local
64 Mutex::Autolock lock(mMutex); in setActualPresentFence() local
70 Mutex::Autolock lock(mMutex); in setDisplayRefreshPeriod() local
75 Mutex::Autolock lock(mMutex); in advanceFrame() local
102 Mutex::Autolock lock(mMutex); in clearStats() local
117 Mutex::Autolock lock(mMutex); in getStats() local
143 Mutex::Autolock lock(mMutex); in logAndResetStats() local
[all …]
DTransactionCompletedThread.cpp49 std::lock_guard lock(mMutex); in ~TransactionCompletedThread() local
59 std::lock_guard lock(mMutex); in ~TransactionCompletedThread() local
67 std::lock_guard lock(mMutex); in run() local
80 std::lock_guard lock(mMutex); in addCallback() local
101 std::lock_guard lock(mMutex); in registerPendingCallbackHandle() local
122 std::lock_guard lock(mMutex); in addPresentedCallbackHandles() local
163 std::lock_guard lock(mMutex); in addUnpresentedCallbackHandle() local
212 std::lock_guard<std::mutex> lock(mMutex); in addPresentFence() local
217 std::lock_guard lock(mMutex); in sendCallbacks() local
224 std::lock_guard lock(mMutex); in threadMain() local
/frameworks/base/libs/hwui/hwui/
DAnimatedImageDrawable.cpp75 std::unique_lock lock{mSwapLock}; in isDirty() local
107 std::unique_lock lock{mImageLock}; in decodeNextFrame() local
119 std::unique_lock lock{mImageLock}; in reset() local
155 std::unique_lock lock{mImageLock}; in onDraw() local
169 std::unique_lock lock{mSwapLock}; in onDraw() local
224 std::unique_lock lock{mImageLock}; in drawStaging() local
233 std::unique_lock lock{mImageLock}; in drawStaging() local
238 std::unique_lock lock{mSwapLock}; in drawStaging() local
248 std::unique_lock lock{mSwapLock}; in drawStaging() local
265 std::unique_lock lock{mImageLock}; in drawStaging() local
[all …]
/frameworks/native/libs/gui/
DBufferQueueConsumer.cpp61 std::unique_lock<std::mutex> lock(mCore->mMutex); in acquireBuffer() local
290 std::lock_guard<std::mutex> lock(mCore->mMutex); in detachBuffer() local
334 std::lock_guard<std::mutex> lock(mCore->mMutex); in attachBuffer() local
426 std::lock_guard<std::mutex> lock(mCore->mMutex); in releaseBuffer() local
491 std::lock_guard<std::mutex> lock(mCore->mMutex); in connect() local
509 std::lock_guard<std::mutex> lock(mCore->mMutex); in disconnect() local
533 std::lock_guard<std::mutex> lock(mCore->mMutex); in getReleasedBuffers() local
575 std::lock_guard<std::mutex> lock(mCore->mMutex); in setDefaultBufferSize() local
589 std::lock_guard<std::mutex> lock(mCore->mMutex); in setMaxBufferCount() local
629 std::unique_lock<std::mutex> lock(mCore->mMutex); in setMaxAcquiredBufferCount() local
[all …]
DBufferQueueProducer.cpp70 std::lock_guard<std::mutex> lock(mCore->mMutex); in requestBuffer() local
105 std::unique_lock<std::mutex> lock(mCore->mMutex); in setMaxDequeuedBufferCount() local
184 std::unique_lock<std::mutex> lock(mCore->mMutex); in setAsyncMode() local
251 std::unique_lock<std::mutex>& lock, int* found) const { in waitForFreeSlotThenRelock()
362 std::lock_guard<std::mutex> lock(mCore->mMutex); in dequeueBuffer() local
389 std::unique_lock<std::mutex> lock(mCore->mMutex); in dequeueBuffer() local
522 std::lock_guard<std::mutex> lock(mCore->mMutex); in dequeueBuffer() local
589 std::lock_guard<std::mutex> lock(mCore->mMutex); in detachBuffer() local
650 std::unique_lock<std::mutex> lock(mCore->mMutex); in detachNextBuffer() local
706 std::unique_lock<std::mutex> lock(mCore->mMutex); in attachBuffer() local
[all …]
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.cpp74 std::lock_guard<std::mutex> lock(mMutex); in miniDump() local
85 std::lock_guard<std::mutex> lock(mMutex); in incrementTotalFrames() local
94 std::lock_guard<std::mutex> lock(mMutex); in incrementMissedFrames() local
103 std::lock_guard<std::mutex> lock(mMutex); in incrementClientCompositionFrames() local
264 std::lock_guard<std::mutex> lock(mMutex); in setPostTime() local
302 std::lock_guard<std::mutex> lock(mMutex); in setLatchTime() local
320 std::lock_guard<std::mutex> lock(mMutex); in setDesiredTime() local
338 std::lock_guard<std::mutex> lock(mMutex); in setAcquireTime() local
358 std::lock_guard<std::mutex> lock(mMutex); in setAcquireFence() local
376 std::lock_guard<std::mutex> lock(mMutex); in setPresentTime() local
[all …]
/frameworks/base/cmds/statsd/src/guardrail/
DStatsdStats.cpp143 lock_guard<std::mutex> lock(mLock); in noteConfigReceived() local
181 lock_guard<std::mutex> lock(mLock); in noteConfigRemoved() local
193 lock_guard<std::mutex> lock(mLock); in noteConfigReset() local
199 lock_guard<std::mutex> lock(mLock); in noteLogLost() local
211 lock_guard<std::mutex> lock(mLock); in noteBroadcastSent() local
228 lock_guard<std::mutex> lock(mLock); in noteActiveStatusChanged() local
247 lock_guard<std::mutex> lock(mLock); in noteActivationBroadcastGuardrailHit() local
260 lock_guard<std::mutex> lock(mLock); in noteEventQueueOverflow() local
276 lock_guard<std::mutex> lock(mLock); in noteDataDropped() local
296 lock_guard<std::mutex> lock(mLock); in noteMetricsReportSent() local
[all …]
/frameworks/base/services/core/java/com/android/server/
DLockGuard.java95 private static LockInfo findOrCreateLockInfo(Object lock) { in findOrCreateLockInfo()
111 public static Object guard(Object lock) { in guard()
152 final Object lock = sKnownFixed[i]; in guard() local
165 private static void doLog(@Nullable Object lock, String message) { in doLog()
181 public static Object installLock(Object lock, String label) { in installLock()
190 public static Object installLock(Object lock, int index) { in installLock()
197 public static Object installLock(Object lock, int index, boolean doWtf) { in installLock()
210 final Object lock = new Object(); in installNewLock() local
215 private static String lockToString(Object lock) { in lockToString()
240 final Object lock = sKnown.keyAt(i); in dump() local
/frameworks/base/media/jni/soundpool/
DSoundPool.cpp86 Mutex::Autolock lock(&mLock); in ~SoundPool() local
101 Mutex::Autolock lock(&mRestartLock); in addToRestartList() local
110 Mutex::Autolock lock(&mRestartLock); in addToStopList() local
139 Mutex::Autolock lock(&mLock); in run() local
154 Mutex::Autolock lock(&mLock); in run() local
190 Mutex::Autolock lock(&mLock); in findSample() local
225 Mutex::Autolock lock(&mLock); in load() local
243 Mutex::Autolock lock(&mLock); in unload() local
255 Mutex::Autolock lock(&mLock); in play() local
340 Mutex::Autolock lock(&mLock); in pause() local
[all …]
/frameworks/base/media/jni/
DJetPlayer.cpp132 Mutex::Autolock lock(mMutex); in release() local
331 Mutex::Autolock lock(mMutex); in loadFromFile() local
350 Mutex::Autolock lock(mMutex); in loadFromFD() local
367 Mutex::Autolock lock(mMutex); in closeFile() local
376 Mutex::Autolock lock(mMutex); in play() local
398 Mutex::Autolock lock(mMutex); in pause() local
419 Mutex::Autolock lock(mMutex); in queueSegment() local
427 Mutex::Autolock lock(mMutex); in setMuteFlags() local
434 Mutex::Autolock lock(mMutex); in setMuteFlag() local
442 Mutex::Autolock lock(mMutex); in triggerClip() local
[all …]
/frameworks/native/services/surfaceflinger/Scheduler/
DIdleTimer.cpp35 std::lock_guard<std::mutex> lock(mMutex); in start() local
43 std::lock_guard<std::mutex> lock(mMutex); in stop() local
57 std::lock_guard<std::mutex> lock(mMutex); in loop() local
76 std::lock_guard<std::mutex> lock(mMutex); in loop() local
105 std::lock_guard<std::mutex> lock(mMutex); in reset() local
/frameworks/av/services/oboeservice/
DAAudioClientTracker.cpp76 std::lock_guard<std::mutex> lock(mLock); in registerClient() local
93 std::lock_guard<std::mutex> lock(mLock); in unregisterClient() local
98 std::lock_guard<std::mutex> lock(mLock); in getStreamCount() local
111 std::lock_guard<std::mutex> lock(mLock); in registerClientStream() local
128 std::lock_guard<std::mutex> lock(mLock); in unregisterClientStream() local
147 std::lock_guard<std::mutex> lock(mLock); in getStreamCount() local
153 std::lock_guard<std::mutex> lock(mLock); in registerClientStream() local
160 std::lock_guard<std::mutex> lock(mLock); in unregisterClientStream() local
174 std::lock_guard<std::mutex> lock(mLock); in binderDied() local
/frameworks/base/cmds/statsd/src/config/
DConfigManager.cpp64 lock_guard<mutex> lock(mMutex); in AddListener() local
71 lock_guard <mutex> lock(mMutex); in UpdateConfig() local
118 lock_guard<mutex> lock(mMutex); in SetConfigReceiver() local
123 lock_guard<mutex> lock(mMutex); in RemoveConfigReceiver() local
129 lock_guard<mutex> lock(mMutex); in SetActiveConfigsChangedReceiver() local
134 lock_guard<mutex> lock(mMutex); in RemoveActiveConfigsChangedReceiver() local
141 lock_guard <mutex> lock(mMutex); in RemoveConfig() local
187 lock_guard <mutex> lock(mMutex); in RemoveConfigs() local
226 lock_guard <mutex> lock(mMutex); in RemoveAllConfigs() local
254 lock_guard<mutex> lock(mMutex); in GetAllConfigKeys() local
[all …]
/frameworks/av/media/libstagefright/
DMediaSync.cpp90 Mutex::Autolock lock(mMutex); in setSurface() local
152 Mutex::Autolock lock(mMutex); in setAudioTrack() local
197 Mutex::Autolock lock(mMutex); in createInputSurface() local
262 Mutex::Autolock lock(mMutex); in getPlayTimeForPendingAudioFrames() local
303 Mutex::Autolock lock(mMutex); in updateQueuedAudioData() local
342 Mutex::Autolock lock(mMutex); in setName() local
347 Mutex::Autolock lock(mMutex); in flush() local
364 Mutex::Autolock lock(mMutex); in setVideoFrameRateHint() local
375 Mutex::Autolock lock(mMutex); in getVideoFrameRate() local
396 Mutex::Autolock lock(mMutex); in setSyncSettings() local
[all …]
/frameworks/base/libs/hwui/surfacetexture/
DSurfaceTexture.cpp89 Mutex::Autolock lock(mMutex); in setDefaultBufferSize() local
102 Mutex::Autolock lock(mMutex); in updateTexImage() local
116 Mutex::Autolock lock(mMutex); in releaseTexImage() local
163 Mutex::Autolock lock(mMutex); in detachFromContext() local
186 Mutex::Autolock lock(mMutex); in attachToContext() local
253 Mutex::Autolock lock(mMutex); in getTransformMatrix() local
258 Mutex::Autolock lock(mMutex); in setFilteringEnabled() local
403 Mutex::Autolock lock(mMutex); in getTimestamp() local
409 Mutex::Autolock lock(mMutex); in getCurrentDataSpace() local
415 Mutex::Autolock lock(mMutex); in getFrameNumber() local
[all …]
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp577 AutoMutex lock(mLock); in set() local
629 AutoMutex lock(mLock); in start() local
752 AutoMutex lock(mLock); in stop() local
798 AutoMutex lock(mLock); in stopped() local
804 AutoMutex lock(mLock); in flush() local
837 AutoMutex lock(mLock); in pause() local
879 AutoMutex lock(mLock); in setVolume() local
903 AutoMutex lock(mLock); in setAuxEffectSendLevel() local
919 AutoMutex lock(mLock); in setSampleRate() local
953 AutoMutex lock(mLock); in getSampleRate() local
[all …]
/frameworks/native/libs/renderengine/gl/
DImageManager.cpp48 std::lock_guard<std::mutex> lock(mMutex); in ~ImageManager() local
61 std::lock_guard<std::mutex> lock(barrier->mutex); in cacheAsync() local
77 std::lock_guard<std::mutex> lock(barrier->mutex); in cache() local
91 std::lock_guard<std::mutex> lock(mMutex); in queueOperation() local
102 std::lock_guard<std::mutex> lock(mMutex); in threadMain() local
108 std::lock_guard<std::mutex> lock(mMutex); in threadMain() local
/frameworks/av/drm/mediadrm/plugins/clearkey/default/
DSessionLibrary.cpp36 Mutex::Autolock lock(sSingletonLock); in get() local
47 Mutex::Autolock lock(mSessionsLock); in createSession() local
62 Mutex::Autolock lock(mSessionsLock); in findSession() local
70 Mutex::Autolock lock(mSessionsLock);\ in destroySession() local
/frameworks/av/drm/mediacas/plugins/mock/
DMockSessionLibrary.cpp30 Mutex::Autolock lock(sSingletonLock); in get() local
44 Mutex::Autolock lock(mSessionsLock); in addSession() local
61 Mutex::Autolock lock(mSessionsLock); in findSession() local
71 Mutex::Autolock lock(mSessionsLock); in destroySession() local
83 Mutex::Autolock lock(mSessionsLock); in destroyPlugin() local
/frameworks/native/libs/ui/
DFenceTime.cpp88 std::lock_guard<std::mutex> lock(mMutex); in applyTrustedSnapshot() local
115 std::lock_guard<std::mutex> lock(mMutex); in getSignalTime() local
138 std::lock_guard<std::mutex> lock(mMutex); in getSignalTime() local
160 std::lock_guard<std::mutex> lock(mMutex); in getSnapshot() local
182 std::lock_guard<std::mutex> lock(mMutex); in signalForTest() local
263 std::lock_guard<std::mutex> lock(mMutex); in push() local
282 std::lock_guard<std::mutex> lock(mMutex); in updateSignalTimes() local
307 std::lock_guard<std::mutex> lock(mMutex); in createFenceTimeForTest() local
319 std::lock_guard<std::mutex> lock(mMutex); in signalAllForTest() local

12345678910>>...15