Home
last modified time | relevance | path

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

12345678910>>...13

/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/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/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
68 std::lock_guard<std::mutex> lock(mMutex); in onRefresh() local
78 std::lock_guard<std::mutex> lock(mMutex); in onVsync() local
/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/google/camera/common/hal/google_camera_hal/
Drealtime_process_block.cc81 std::lock_guard<std::mutex> lock(result_processor_lock_); in SetResultProcessor() local
95 std::lock_guard lock(configure_shared_mutex_); in ConfigureStreams() local
117 std::lock_guard lock(configure_shared_mutex_); in GetConfiguredHalStreams() local
142 std::lock_guard<std::mutex> lock(result_processor_lock_); in ProcessRequests() local
157 std::shared_lock lock(configure_shared_mutex_); in ProcessRequests() local
178 std::shared_lock lock(configure_shared_mutex_); 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
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
Drgbird_result_request_processor.cc74 std::lock_guard<std::mutex> lock(callback_lock_); in SetResultCallback() local
91 std::lock_guard<std::mutex> lock(face_detect_lock_); in SaveFdForHdrplus() local
109 std::lock_guard<std::mutex> lock(lens_shading_lock_); in SaveLsForHdrplus() local
121 std::lock_guard<std::mutex> lock(lens_shading_lock_); in HandleLsResultForHdrplus() local
197 std::lock_guard<std::mutex> lock(face_detect_lock_); in HandleFdResultForHdrplus() local
219 std::lock_guard<std::mutex> lock(depth_requests_mutex_); in AddPendingRequests() local
399 std::lock_guard<std::mutex> lock(depth_requests_mutex_); in VerifyAndSubmitDepthRequest() local
486 std::lock_guard<std::mutex> lock(depth_requests_mutex_); in TrySubmitDepthProcessBlockRequest() local
555 std::lock_guard<std::mutex> lock(depth_requests_mutex_); in TrySubmitDepthProcessBlockRequest() local
611 std::lock_guard<std::mutex> lock(callback_lock_); in ProcessResult() local
[all …]
Dcamera_device_session.cc112 std::lock_guard<std::mutex> lock(request_record_lock_); in UpdatePendingRequest() local
176 std::shared_lock lock(session_callback_lock_); in ProcessCaptureResult() local
211 std::lock_guard<std::mutex> lock(request_record_lock_); in ProcessCaptureResult() local
216 std::shared_lock lock(session_callback_lock_); in ProcessCaptureResult() local
238 std::lock_guard<std::mutex> lock(request_record_lock_); in Notify() local
264 std::shared_lock lock(session_callback_lock_); in Notify() local
292 std::lock_guard lock(session_callback_lock_); in InitializeCallbacks() local
568 std::shared_lock lock(session_callback_lock_); in UnregisterThermalCallback() local
578 std::lock_guard lock(session_callback_lock_); in SetSessionCallback() local
609 std::lock_guard<std::mutex> lock(session_lock_); in NotifyThrottling() local
[all …]
Drealtime_zsl_result_processor.cc57 std::lock_guard<std::mutex> lock(callback_lock_); in SetResultCallback() local
73 std::lock_guard<std::mutex> lock(lens_shading_lock_); in SaveLsForHdrplus() local
85 std::lock_guard<std::mutex> lock(lens_shading_lock_); in HandleLsResultForHdrplus() local
114 std::lock_guard<std::mutex> lock(face_detect_lock_); in SaveFdForHdrplus() local
126 std::lock_guard<std::mutex> lock(face_detect_lock_); in HandleFdResultForHdrplus() local
164 std::lock_guard<std::mutex> lock(callback_lock_); in ProcessResult() local
242 std::lock_guard<std::mutex> lock(callback_lock_); in Notify() local
Dbasic_result_processor.cc42 std::lock_guard<std::mutex> lock(callback_lock_); in ~BasicResultProcessor() local
59 std::lock_guard<std::mutex> lock(callback_lock_); in SetResultCallback() local
81 std::lock_guard<std::mutex> lock(callback_lock_); in ProcessResult() local
98 std::lock_guard<std::mutex> lock(callback_lock_); in Notify() local
Dinternal_stream_manager.cc77 std::lock_guard<std::mutex> lock(stream_mutex_); in RegisterNewInternalStream() local
131 std::lock_guard<std::mutex> lock(stream_mutex_); in AllocateBuffers() local
239 std::lock_guard<std::mutex> lock(stream_mutex_); in AllocateSharedBuffers() local
335 std::lock_guard<std::mutex> lock(stream_mutex_); in FreeStream() local
363 std::lock_guard<std::mutex> lock(stream_mutex_); in GetStreamBuffer() local
399 std::lock_guard<std::mutex> lock(stream_mutex_); in IsPendingBufferEmpty() local
420 std::lock_guard<std::mutex> lock(stream_mutex_); in GetMostRecentStreamBuffer() local
477 std::lock_guard<std::mutex> lock(stream_mutex_); in ReturnZslStreamBuffers() local
506 std::lock_guard<std::mutex> lock(stream_mutex_); in ReturnStreamBuffer() local
527 std::lock_guard<std::mutex> lock(stream_mutex_); in ReturnFilledBuffer() local
[all …]
/hardware/google/camera/common/hal/utils/
Dzsl_buffer_manager.cc39 std::unique_lock<std::mutex> lock(zsl_buffers_lock_); in ~ZslBufferManager() local
48 std::unique_lock<std::mutex> lock(zsl_buffers_lock_); in AllocateBuffers() local
121 std::unique_lock<std::mutex> lock(zsl_buffers_lock_); in GetEmptyBuffer() local
243 std::unique_lock<std::mutex> lock(zsl_buffers_lock_); in ReturnEmptyBuffer() local
270 std::unique_lock<std::mutex> lock(zsl_buffers_lock_); in ReturnFilledBuffer() local
309 std::unique_lock<std::mutex> lock(zsl_buffers_lock_); in ReturnMetadata() local
392 std::unique_lock<std::mutex> lock(zsl_buffers_lock_); in GetMostRecentZslBuffers() local
451 std::unique_lock<std::mutex> lock(zsl_buffers_lock_); in ReturnZslBuffer() local
463 std::lock_guard<std::mutex> lock(pending_zsl_buffers_mutex); in IsPendingBufferEmpty() local
476 std::lock_guard<std::mutex> lock(pending_zsl_buffers_mutex); in AddPendingBuffers() local
[all …]
Dresult_dispatcher.cc58 std::unique_lock<std::mutex> lock(notify_callback_lock); in ~ResultDispatcher() local
68 std::lock_guard<std::mutex> lock(result_lock_); in RemovePendingRequest() local
75 std::lock_guard<std::mutex> lock(result_lock_); in AddPendingRequest() local
228 std::lock_guard<std::mutex> lock(result_lock_); in AddShutter() local
255 std::lock_guard<std::mutex> lock(result_lock_); in AddError() local
290 std::lock_guard<std::mutex> lock(result_lock_); in AddFinalResultMetadata() local
341 std::lock_guard<std::mutex> lock(result_lock_); in AddBuffer() local
376 std::unique_lock<std::mutex> lock(notify_callback_lock); in NotifyCallbackThreadLoop() local
391 std::lock_guard<std::mutex> lock(result_lock_); in PrintTimeoutMessages() local
417 std::lock_guard<std::mutex> lock(result_lock_); in GetReadyShutterMessage() local
[all …]
Dvendor_tag_utils.cc123 std::lock_guard<std::mutex> lock(api_mutex_); in AddTags() local
173 std::lock_guard<std::mutex> lock(api_mutex_); in Reset() local
180 std::lock_guard<std::mutex> lock(api_mutex_); in GetCount() local
185 std::lock_guard<std::mutex> lock(api_mutex_); in GetAllTags() local
198 std::lock_guard<std::mutex> lock(api_mutex_); in GetSectionName() local
209 std::lock_guard<std::mutex> lock(api_mutex_); in GetTagName() local
220 std::lock_guard<std::mutex> lock(api_mutex_); in GetTagType() local
235 std::lock_guard<std::mutex> lock(api_mutex_); in GetTagInfo() local
252 std::lock_guard<std::mutex> lock(api_mutex_); in GetTag() local
Dhal_camera_metadata.cc97 std::unique_lock<std::mutex> lock(metadata_lock_); in ~HalCameraMetadata() local
109 std::unique_lock<std::mutex> lock(metadata_lock_); in ReleaseCameraMetadata() local
122 std::unique_lock<std::mutex> lock(metadata_lock_); in GetCameraMetadataSize() local
223 std::unique_lock<std::mutex> lock(metadata_lock_); in Set() local
237 std::unique_lock<std::mutex> lock(metadata_lock_); in Set() local
251 std::unique_lock<std::mutex> lock(metadata_lock_); in Set() local
265 std::unique_lock<std::mutex> lock(metadata_lock_); in Set() local
279 std::unique_lock<std::mutex> lock(metadata_lock_); in Set() local
294 std::unique_lock<std::mutex> lock(metadata_lock_); in Set() local
307 std::unique_lock<std::mutex> lock(metadata_lock_); in Set() local
[all …]
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
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/av/media/eco/
DECOSession.cpp121 std::scoped_lock<std::mutex> lock(mSessionLock); in run() local
367 std::scoped_lock<std::mutex> lock(mSessionLock); in getIsCameraRecording() local
393 std::scoped_lock<std::mutex> lock(mSessionLock); in addStatsProvider() local
421 std::scoped_lock<std::mutex> lock(mSessionLock); in removeStatsProvider() local
438 std::scoped_lock<std::mutex> lock(mSessionLock); in addInfoListener() local
499 std::scoped_lock<std::mutex> lock(mSessionLock); in removeInfoListener() local
515 std::unique_lock<std::mutex> lock(mStatsQueueLock); in pushNewStats() local
523 std::scoped_lock<std::mutex> lock(mSessionLock); in getWidth() local
529 std::scoped_lock<std::mutex> lock(mSessionLock); in getHeight() local
535 std::scoped_lock<std::mutex> lock(mSessionLock); in getNumOfListeners() local
[all …]
/hardware/ti/am57x/libhwcomposer/
Ddisplay.cpp41 std::unique_lock<std::mutex> lock(this->mutex); in setup_composition_pipes() local
61 std::unique_lock<std::mutex> lock(display->mutex); in page_flip_handler() local
106 std::unique_lock<std::mutex> lock(display->mutex); in vblank_handler() local
120 std::unique_lock<std::mutex> lock(this->mutex); in set_vsync_state() local
156 std::unique_lock<std::mutex> lock(this->mutex); in update_display() local
193 std::unique_lock<std::mutex> lock(this->mutex); in blank() local
220 std::unique_lock<std::mutex> lock(this->mutex); in get_display_configs() local
239 std::unique_lock<std::mutex> lock(this->mutex); in get_display_attributes() local
/hardware/interfaces/automotive/evs/1.0/default/
DEvsCamera.cpp86 std::lock_guard <std::mutex> lock(mAccessLock); in forceShutdown() local
119 std::lock_guard<std::mutex> lock(mAccessLock); in setMaxFramesInFlight() local
144 std::lock_guard<std::mutex> lock(mAccessLock); in startVideoStream() local
178 std::lock_guard <std::mutex> lock(mAccessLock); in doneWithFrame() local
214 std::unique_lock <std::mutex> lock(mAccessLock); in stopVideoStream() local
238 std::lock_guard<std::mutex> lock(mAccessLock); in getExtendedInfo() local
252 std::lock_guard<std::mutex> lock(mAccessLock); in setExtendedInfo() local
388 std::lock_guard<std::mutex> lock(mAccessLock); in generateFrames() local
447 std::lock_guard<std::mutex> lock(mAccessLock); in generateFrames() local
/hardware/interfaces/tv/tuner/1.0/default/
DFilter.cpp135 std::lock_guard<std::mutex> lock(mFilterThreadLock); in stop() local
204 std::lock_guard<std::mutex> lock(mFilterThreadLock); in filterThreadLoop() local
249 std::lock_guard<std::mutex> lock(mFilterEventLock); in filterThreadLoop() local
285 std::lock_guard<std::mutex> lock(mFilterStatusLock); in maySendFilterStatusCallback() local
316 std::lock_guard<std::mutex> lock(mFilterOutputLock); in updateFilterOutput() local
321 std::lock_guard<std::mutex> lock(mRecordFilterOutputLock); in updateRecordOutput() local
326 std::lock_guard<std::mutex> lock(mFilterOutputLock); in startFilterHandler() local
388 std::lock_guard<std::mutex> lock(mFilterEventLock); in startPesFilterHandler() local
459 std::lock_guard<std::mutex> lock(mFilterEventLock); in startMediaFilterHandler() local
544 std::lock_guard<std::mutex> lock(mRecordFilterOutputLock); in startRecordFilterHandler() local
[all …]
/hardware/interfaces/automotive/occupant_awareness/aidl/mock/
DOccupantAwareness.cpp37 std::lock_guard<std::mutex> lock(mMutex); in startDetection() local
53 std::lock_guard<std::mutex> lock(mMutex); in stopDetection() local
107 std::lock_guard<std::mutex> lock(mMutex); in getState() local
118 std::lock_guard<std::mutex> lock(mMutex); in setCallback() local
124 std::lock_guard<std::mutex> lock(mMutex); in getLatestDetection() local
160 std::lock_guard<std::mutex> lock(mMutex); in workerThreadFunction() local
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.cpp352 std::unique_lock<std::recursive_timed_mutex> lock(mStateMutex); in createVirtualDisplay() local
383 std::unique_lock<std::recursive_timed_mutex> lock(mStateMutex); in destroyVirtualDisplay() local
413 std::unique_lock<std::recursive_timed_mutex> lock(mStateMutex, in dump() local
474 std::unique_lock<std::recursive_timed_mutex> lock(mStateMutex); in registerCallback() local
576 std::unique_lock<std::recursive_mutex> lock(mStateMutex); in acceptChanges() local
601 std::unique_lock<std::recursive_mutex> lock(mStateMutex); in createLayer() local
612 std::unique_lock<std::recursive_mutex> lock(mStateMutex); in destroyLayer() local
635 std::unique_lock<std::recursive_mutex> lock(mStateMutex); in getActiveConfig() local
651 std::unique_lock<std::recursive_mutex> lock(mStateMutex); in getAttribute() local
667 std::unique_lock<std::recursive_mutex> lock(mStateMutex); in getChangedCompositionTypes() local
[all …]
/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedTorchState.cpp28 std::lock_guard<std::mutex> lock(mutex_); in SetTorchMode() local
43 std::lock_guard<std::mutex> lock(mutex_); in AcquireFlashHw() local
49 std::lock_guard<std::mutex> lock(mutex_); in ReleaseFlashHw() local
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
DHWC2On1Adapter.cpp318 std::unique_lock<std::recursive_timed_mutex> lock(mStateMutex); in createVirtualDisplay() local
339 std::unique_lock<std::recursive_timed_mutex> lock(mStateMutex); in destroyVirtualDisplay() local
368 std::unique_lock<std::recursive_timed_mutex> lock(mStateMutex, in dump() local
427 std::unique_lock<std::recursive_timed_mutex> lock(mStateMutex); in registerCallback() local
535 std::unique_lock<std::recursive_mutex> lock(mStateMutex); in acceptChanges() local
563 std::unique_lock<std::recursive_mutex> lock(mStateMutex); in createLayer() local
574 std::unique_lock<std::recursive_mutex> lock(mStateMutex); in destroyLayer() local
597 std::unique_lock<std::recursive_mutex> lock(mStateMutex); in getActiveConfig() local
612 std::unique_lock<std::recursive_mutex> lock(mStateMutex); in getAttribute() local
627 std::unique_lock<std::recursive_mutex> lock(mStateMutex); in getChangedCompositionTypes() local
[all …]

12345678910>>...13