Home
last modified time | relevance | path

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

12345678910>>...22

/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraParametersIntf.cpp56 Mutex::Autolock lock(mLock); in ~QCameraParametersIntf() local
67 Mutex::Autolock lock(mLock); in allocate() local
82 Mutex::Autolock lock(mLock); in init() local
89 Mutex::Autolock lock(mLock); in deinit() local
96 Mutex::Autolock lock(mLock); in updateParameters() local
103 Mutex::Autolock lock(mLock); in commitParameters() local
110 Mutex::Autolock lock(mLock); in getParameters() local
117 Mutex::Autolock lock(mLock); in getPreviewFpsRange() local
125 Mutex::Autolock lock(mLock); in getTsMakeupInfo() local
133 Mutex::Autolock lock(mLock); in getPreviewHalPixelFormat() local
[all …]
/hardware/interfaces/graphics/composer/aidl/vts/
DGraphicsComposerCallback.cpp29 std::scoped_lock lock(mMutex); in setVsyncAllowed() local
34 std::scoped_lock lock(mMutex); in setRefreshRateChangedDebugDataEnabledCallbackAllowed() local
39 std::scoped_lock lock(mMutex); in getDisplays() local
44 std::scoped_lock lock(mMutex); in getInvalidHotplugCount() local
49 std::scoped_lock lock(mMutex); in getInvalidRefreshCount() local
54 std::scoped_lock lock(mMutex); in getInvalidVsyncCount() local
59 std::scoped_lock lock(mMutex); in getInvalidVsyncPeriodChangeCount() local
64 std::scoped_lock lock(mMutex); in getInvalidSeamlessPossibleCount() local
69 std::scoped_lock lock(mMutex); in getVsyncIdleCount() local
74 std::scoped_lock lock(mMutex); in getVsyncIdleTime() local
[all …]
/hardware/interfaces/graphics/composer/2.4/utils/vts/
DGraphicsComposerCallback.cpp22 std::lock_guard<std::mutex> lock(mMutex); in setVsyncAllowed() local
27 std::lock_guard<std::mutex> lock(mMutex); in getDisplays() local
32 std::lock_guard<std::mutex> lock(mMutex); in getInvalidHotplugCount() local
37 std::lock_guard<std::mutex> lock(mMutex); in getInvalidRefreshCount() local
42 std::lock_guard<std::mutex> lock(mMutex); in getInvalidVsyncCount() local
47 std::lock_guard<std::mutex> lock(mMutex); in getInvalidVsync_2_4Count() local
52 std::lock_guard<std::mutex> lock(mMutex); in getInvalidVsyncPeriodChangeCount() local
57 std::lock_guard<std::mutex> lock(mMutex); in getInvalidSeamlessPossibleCount() local
63 std::lock_guard<std::mutex> lock(mMutex); in takeLastVsyncPeriodChangeTimeline() local
72 std::lock_guard<std::mutex> lock(mMutex); in onHotplug() local
[all …]
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3StreamMem.cpp83 Mutex::Autolock lock(mLock); in getCnt() local
125 Mutex::Autolock lock(mLock); in getFd() local
145 Mutex::Autolock lock(mLock); in getSize() local
167 Mutex::Autolock lock(mLock); in invalidateCache() local
189 Mutex::Autolock lock(mLock); in cleanInvalidateCache() local
211 Mutex::Autolock lock(mLock); in cleanCache() local
262 Mutex::Autolock lock(mLock); in getPtr() local
282 Mutex::Autolock lock(mLock); in valid() local
306 Mutex::Autolock lock(mLock); in registerBuffer() local
325 Mutex::Autolock lock(mLock); in unregisterBuffer() local
[all …]
DQCamera3Mem.cpp109 Mutex::Autolock lock(mLock); in cacheOpsInternal() local
158 Mutex::Autolock lock(mLock); in getFd() local
183 Mutex::Autolock lock(mLock); in getSize() local
207 Mutex::Autolock lock(mLock); in getCnt() local
230 Mutex::Autolock lock(mLock); in getBufDef() local
421 Mutex::Autolock lock(mLock); in markFrameNumber() local
456 Mutex::Autolock lock(mLock); in getFrameNumber() local
487 Mutex::Autolock lock(mLock); in getOldestFrameNumber() local
525 Mutex::Autolock lock(mLock); in getBufferIndex() local
798 Mutex::Autolock lock(mLock); in registerBuffer() local
[all …]
/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedTorchState.cpp28 std::lock_guard<std::mutex> lock(mutex_); in SetTorchMode() local
49 std::lock_guard<std::mutex> lock(mutex_); in TurnOnTorchWithStrengthLevel() local
70 std::lock_guard<std::mutex> lock(mutex_); in AcquireFlashHw() local
76 std::lock_guard<std::mutex> lock(mutex_); in ReleaseFlashHw() local
82 std::lock_guard<std::mutex> lock(mutex_); in GetTorchStrengthLevel() local
87 std::lock_guard<std::mutex> lock(mutex_); in InitializeTorchDefaultLevel() local
92 std::lock_guard<std::mutex> lock(mutex_); in InitializeSupportTorchStrengthLevel() local
/hardware/google/gfxstream/host/
DRenderChannelImpl.cpp76 AutoLock lock(mLock); in setWantedEvents() local
82 AutoLock lock(mLock); in state() local
88 AutoLock lock(mLock); in tryWrite() local
97 AutoLock lock(mLock); in waitUntilWritable() local
103 AutoLock lock(mLock); in tryRead() local
113 AutoLock lock(mLock); in readBefore() local
122 AutoLock lock(mLock); in waitUntilReadable() local
128 AutoLock lock(mLock); in stop() local
136 AutoLock lock(mLock); in writeToGuest() local
146 AutoLock lock(mLock); in readFromGuest() local
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/vts/
DGraphicsComposerCallback.cpp27 std::lock_guard<std::mutex> lock(mMutex); in setVsyncAllowed() local
32 std::lock_guard<std::mutex> lock(mMutex); in getDisplays() local
37 std::lock_guard<std::mutex> lock(mMutex); in getInvalidHotplugCount() local
42 std::lock_guard<std::mutex> lock(mMutex); in getInvalidRefreshCount() local
47 std::lock_guard<std::mutex> lock(mMutex); in getInvalidVsyncCount() local
52 std::lock_guard<std::mutex> lock(mMutex); in onHotplug() local
73 std::lock_guard<std::mutex> lock(mMutex); in onRefresh() local
84 std::lock_guard<std::mutex> lock(mMutex); in onVsync() local
/hardware/google/aemu/base/include/aemu/base/synchronization/
DConditionVariable.h77 void wait(StaticLock* lock, Predicate pred) { in wait()
84 void wait(AutoLock* lock, Predicate pred) { in wait()
173 inline void ConditionVariable::signalAndUnlock(StaticLock* lock) { in signalAndUnlock()
177 inline void ConditionVariable::signalAndUnlock(AutoLock* lock) { in signalAndUnlock()
182 inline void ConditionVariable::broadcastAndUnlock(StaticLock* lock) { in broadcastAndUnlock()
186 inline void ConditionVariable::broadcastAndUnlock(AutoLock* lock) { in broadcastAndUnlock()
191 inline void ConditionVariable::signalAndUnlock(StaticLock* lock) REQUIRES(lock) RELEASE(lock) { in signalAndUnlock()
195 inline void ConditionVariable::signalAndUnlock(AutoLock* lock) REQUIRES(lock->mLock) RELEASE(lock->… in signalAndUnlock()
199 inline void ConditionVariable::broadcastAndUnlock(StaticLock* lock) REQUIRES(lock) RELEASE(lock) { in broadcastAndUnlock()
203 inline void ConditionVariable::broadcastAndUnlock(AutoLock* lock) REQUIRES(lock->mLock) RELEASE(loc… in broadcastAndUnlock()
/hardware/google/gfxstream/guest/android-emu/aemu/base/synchronization/
DAndroidConditionVariable.h81 void wait(StaticLock<IsRecursive>* lock, Predicate pred) { in wait()
88 void wait(AutoLock<Lockable>* lock, Predicate pred) { in wait()
187 inline void ConditionVariable::signalAndUnlock(StaticLock<IsRecursive>* lock) { in signalAndUnlock()
192 inline void ConditionVariable::signalAndUnlock(AutoLock<Lockable>* lock) { in signalAndUnlock()
198 inline void ConditionVariable::broadcastAndUnlock(StaticLock<IsRecursive>* lock) { in broadcastAndUnlock()
203 inline void ConditionVariable::broadcastAndUnlock(AutoLock<Lockable>* lock) { in broadcastAndUnlock()
210 inline void ConditionVariable::signalAndUnlock(StaticLock<IsRecursive>* lock) { in signalAndUnlock()
215 inline void ConditionVariable::signalAndUnlock(AutoLock<Lockable>* lock) { in signalAndUnlock()
220 inline void ConditionVariable::broadcastAndUnlock(StaticLock<IsRecursive>* lock) { in broadcastAndUnlock()
225 inline void ConditionVariable::broadcastAndUnlock(AutoLock<Lockable>* lock) { in broadcastAndUnlock()
/hardware/interfaces/automotive/sv/1.0/default/
DSurroundView2dSession.cpp50 std::lock_guard<std::mutex> lock(mAccessLock); in startStream() local
72 std::unique_lock <std::mutex> lock(mAccessLock); in stopStream() local
97 std::unique_lock <std::mutex> lock(mAccessLock); in doneWithFrames() local
109 std::unique_lock <std::mutex> lock(mAccessLock); in get2dMappingInfo() local
124 std::unique_lock <std::mutex> lock(mAccessLock); in set2dConfig() local
136 std::unique_lock <std::mutex> lock(mAccessLock); in get2dConfig() local
147 std::unique_lock <std::mutex> lock(mAccessLock); in projectCameraPoints() local
197 std::lock_guard<std::mutex> lock(mAccessLock); in generateFrames() local
216 std::lock_guard<std::mutex> lock(mAccessLock); in generateFrames() local
DSurroundView3dSession.cpp57 std::lock_guard<std::mutex> lock(mAccessLock); in startStream() local
84 std::unique_lock <std::mutex> lock(mAccessLock); in stopStream() local
108 std::unique_lock <std::mutex> lock(mAccessLock); in doneWithFrames() local
119 std::unique_lock <std::mutex> lock(mAccessLock); in setViews() local
131 std::unique_lock <std::mutex> lock(mAccessLock); in set3dConfig() local
144 std::unique_lock <std::mutex> lock(mAccessLock); in get3dConfig() local
265 std::lock_guard<std::mutex> lock(mAccessLock); in generateFrames() local
287 std::lock_guard<std::mutex> lock(mAccessLock); in generateFrames() local
/hardware/interfaces/automotive/evs/aidl/impl/default/src/
DEvsGlDisplay.cpp65 std::lock_guard lock(mLock); in EvsGlDisplay() local
82 std::lock_guard lock(mLock); in forceShutdown() local
173 std::lock_guard lock(mLock); in renderFrames() local
187 std::unique_lock lock(mLock); in renderFrames() local
214 std::lock_guard lock(mLock); in renderFrames() local
230 std::lock_guard lock(mLock); in renderFrames() local
270 std::lock_guard lock(mLock); in setDisplayState() local
310 std::lock_guard lock(mLock); in getDisplayState() local
323 std::unique_lock lock(mLock); in getTargetBuffer() local
372 std::unique_lock lock(mLock); in returnTargetBufferForDisplay() local
/hardware/google/gchips/gralloc4/src/hidl_common/
DRegisteredHandlePool.cpp23 std::lock_guard<std::mutex> lock(mutex); in add() local
31 std::lock_guard<std::mutex> lock(mutex); in remove() local
39 std::lock_guard<std::mutex> lock(mutex); in get() local
45 std::lock_guard<std::mutex> lock(mutex); in isRegistered() local
51 std::lock_guard<std::mutex> lock(mutex); in for_each() local
/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
DShareGroup.cpp49 ObjectDataAutoLock lock(this); in ShareGroup() local
71 ObjectDataAutoLock lock(this); in preSave() local
80 ObjectDataAutoLock lock(this); in onSave() local
108 android::base::AutoLock lock(m_restoreLock); in postLoadRestore() local
141 android::base::AutoLock lock(m_namespaceLock); in ~ShareGroup() local
160 android::base::AutoLock lock(m_namespaceLock); in genName() local
189 android::base::AutoLock lock(m_namespaceLock); in getGlobalName() local
202 android::base::AutoLock lock(m_namespaceLock); in getLocalName() local
213 android::base::AutoLock lock(m_namespaceLock); in getNamedObject() local
225 android::base::AutoLock lock(m_namespaceLock); in deleteName() local
[all …]
/hardware/google/camera/common/hal/utils/
Drealtime_process_block.cc88 std::lock_guard<std::mutex> lock(result_processor_lock_); in SetResultProcessor() local
102 std::lock_guard lock(configure_shared_mutex_); in ConfigureStreams() local
124 std::lock_guard lock(configure_shared_mutex_); in GetConfiguredHalStreams() local
149 std::lock_guard<std::mutex> lock(result_processor_lock_); in ProcessRequests() local
164 std::shared_lock lock(configure_shared_mutex_); in ProcessRequests() local
185 std::shared_lock lock(configure_shared_mutex_); in Flush() local
196 std::lock_guard<std::mutex> lock(result_processor_lock_); in NotifyHwlPipelineResult() local
215 std::lock_guard<std::mutex> lock(result_processor_lock_); in NotifyHwlPipelineBatchResult() local
240 std::lock_guard<std::mutex> lock(result_processor_lock_); in NotifyHwlPipelineMessage() local
Dhdrplus_process_block.cc81 std::lock_guard<std::mutex> lock(result_processor_lock_); in SetResultProcessor() local
95 std::lock_guard<std::mutex> lock(configure_lock_); in ConfigureStreams() local
117 std::lock_guard<std::mutex> lock(configure_lock_); in GetConfiguredHalStreams() local
142 std::lock_guard<std::mutex> lock(result_processor_lock_); in ProcessRequests() local
157 std::lock_guard<std::mutex> lock(configure_lock_); in ProcessRequests() local
178 std::lock_guard<std::mutex> lock(configure_lock_); in Flush() local
189 std::lock_guard<std::mutex> lock(result_processor_lock_); in NotifyHwlPipelineResult() local
208 std::lock_guard<std::mutex> lock(result_processor_lock_); in NotifyHwlPipelineMessage() local
Dzsl_buffer_manager.cc41 std::unique_lock<std::mutex> lock(zsl_buffers_lock_); in ~ZslBufferManager() local
50 std::unique_lock<std::mutex> lock(zsl_buffers_lock_); in AllocateBuffers() local
123 std::unique_lock<std::mutex> lock(zsl_buffers_lock_); in GetEmptyBuffer() local
252 std::unique_lock<std::mutex> lock(zsl_buffers_lock_); in ReturnEmptyBuffer() local
279 std::unique_lock<std::mutex> lock(zsl_buffers_lock_); in ReturnFilledBuffer() local
320 std::unique_lock<std::mutex> lock(zsl_buffers_lock_); in ReturnMetadata() local
425 std::unique_lock<std::mutex> lock(zsl_buffers_lock_); in GetMostRecentZslBuffers() local
485 std::unique_lock<std::mutex> lock(zsl_buffers_lock_); in ReturnZslBuffer() local
497 std::lock_guard<std::mutex> lock(pending_zsl_buffers_mutex); in IsPendingBufferEmpty() local
510 std::lock_guard<std::mutex> lock(pending_zsl_buffers_mutex); in AddPendingBuffers() local
[all …]
Dresult_dispatcher.cc87 std::unique_lock<std::mutex> lock(notify_callback_lock_); in ~ResultDispatcher() local
97 std::lock_guard<std::mutex> lock(result_lock_); in RemovePendingRequest() local
104 std::lock_guard<std::mutex> lock(result_lock_); in AddPendingRequest() local
258 std::unique_lock<std::mutex> lock(notify_callback_lock_); in AddResult() local
278 std::unique_lock<std::mutex> lock(notify_callback_lock_); in AddBatchResult() local
290 std::lock_guard<std::mutex> lock(result_lock_); in AddShutter() local
312 std::unique_lock<std::mutex> lock(notify_callback_lock_); in AddShutter() local
321 std::lock_guard<std::mutex> lock(result_lock_); in AddError() local
360 std::lock_guard<std::mutex> lock(result_lock_); in AddFinalResultMetadata() local
416 std::lock_guard<std::mutex> lock(result_lock_); in AddBuffer() local
[all …]
/hardware/interfaces/audio/aidl/common/
DStreamWorker.cpp35 std::unique_lock<std::mutex> lock(mWorkerLock); in start() local
46 std::lock_guard<std::mutex> lock(mWorkerLock); in stop() local
71 std::unique_lock<std::mutex> lock(mWorkerLock); in switchWorkerStateSync() local
106 std::lock_guard<std::mutex> lock(mWorkerLock); in workerThread() local
143 std::lock_guard<std::mutex> lock(mWorkerLock); in workerThread() local
155 std::lock_guard<std::mutex> lock(mWorkerLock); in workerThread() local
167 std::lock_guard<std::mutex> lock(mWorkerLock); in workerThread() local
/hardware/google/camera/common/hal/utils/profiling/
Dtracked_profiler.cc57 std::lock_guard<std::mutex> lock(tracked_api_mutex_); in AcceptNextState() local
120 std::lock_guard<std::mutex> lock(tracked_api_mutex_); in AcceptFirstFrameStart() local
132 std::lock_guard<std::mutex> lock(tracked_api_mutex_); in AcceptFirstFrameEnd() local
152 std::lock_guard<std::mutex> lock(tracked_api_mutex_); in DeleteProfiler() local
170 std::lock_guard<std::mutex> lock(tracked_api_mutex_); in IdleStart() local
/hardware/interfaces/camera/common/default/
DHandleImporter.cpp66 Mutex::Autolock lock(mLock); in lockYCbCr() local
101 Mutex::Autolock lock(mLock); in importBuffer() local
114 Mutex::Autolock lock(mLock); in freeBuffer() local
148 void* HandleImporter::lock(buffer_handle_t& buf, uint64_t cpuUsage, size_t size) { in lock() function in android::hardware::camera::common::helper::HandleImporter
153 void* HandleImporter::lock(buffer_handle_t& buf, uint64_t cpuUsage, in lock() function in android::hardware::camera::common::helper::HandleImporter
155 Mutex::Autolock lock(mLock); in lock() local
179 Mutex::Autolock lock(mLock); in getMonoPlanarStrideBytes() local
208 Mutex::Autolock lock(mLock); in isSmpte2086Present() local
224 Mutex::Autolock lock(mLock); in isSmpte2094_10Present() local
241 Mutex::Autolock lock(mLock); in isSmpte2094_40Present() local
/hardware/google/camera/common/hal/google_camera_hal/
Dbasic_result_processor.cc42 std::lock_guard<std::mutex> lock(callback_lock_); in ~BasicResultProcessor() local
60 std::lock_guard<std::mutex> lock(callback_lock_); in SetResultCallback() local
83 std::lock_guard<std::mutex> lock(callback_lock_); in ProcessResult() local
101 std::lock_guard<std::mutex> lock(callback_lock_); in ProcessBatchResult() local
123 std::lock_guard<std::mutex> lock(callback_lock_); in Notify() local
Drgbird_result_request_processor.cc75 std::lock_guard<std::mutex> lock(callback_lock_); in SetResultCallback() local
92 std::lock_guard<std::mutex> lock(face_detect_lock_); in SaveFdForHdrplus() local
110 std::lock_guard<std::mutex> lock(lens_shading_lock_); in SaveLsForHdrplus() local
122 std::lock_guard<std::mutex> lock(lens_shading_lock_); in HandleLsResultForHdrplus() local
198 std::lock_guard<std::mutex> lock(face_detect_lock_); in HandleFdResultForHdrplus() local
220 std::lock_guard<std::mutex> lock(depth_requests_mutex_); in AddPendingRequests() local
400 std::lock_guard<std::mutex> lock(depth_requests_mutex_); in VerifyAndSubmitDepthRequest() local
487 std::lock_guard<std::mutex> lock(depth_requests_mutex_); in TrySubmitDepthProcessBlockRequest() local
556 std::lock_guard<std::mutex> lock(depth_requests_mutex_); in TrySubmitDepthProcessBlockRequest() local
612 std::lock_guard<std::mutex> lock(callback_lock_); in ProcessResult() local
[all …]
/hardware/interfaces/media/bufferpool/aidl/default/
DAccessor.cpp90 std::lock_guard<std::mutex> lock(mLock); in add() local
97 std::lock_guard<std::mutex> lock(mLock); in remove() local
116 std::lock_guard<std::mutex> lock(mLock); in addCookieToConnection() local
133 std::lock_guard<std::mutex> lock(mLock); in onDead() local
196 std::lock_guard<std::mutex> lock(mBufferPool.mMutex); in flush() local
206 std::unique_lock<std::mutex> lock(mBufferPool.mMutex); in allocate() local
233 std::lock_guard<std::mutex> lock(mBufferPool.mMutex); in fetch() local
266 std::lock_guard<std::mutex> lock(mBufferPool.mMutex); in connect() local
295 std::lock_guard<std::mutex> lock(mBufferPool.mMutex); in close() local
312 std::lock_guard<std::mutex> lock(mBufferPool.mMutex); in cleanUp() local
[all …]

12345678910>>...22