Home
last modified time | relevance | path

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

1234567891011

/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/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/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/sensors/common/vts/utils/
DSensorsHidlEnvironmentBase.cpp38 std::lock_guard<std::mutex> lock(mEventsMutex); in catEvents() local
46 std::lock_guard<std::mutex> lock(mEventsMutex); in setCollection() local
51 std::lock_guard<std::mutex> lock(mEventsMutex); in addEvent() local
62 std::lock_guard<std::mutex> lock(mEventsMutex); in registerCallback() local
67 std::lock_guard<std::mutex> lock(mEventsMutex); in unregisterCallback() local
/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 …]
DECOService.cpp70 Mutex::Autolock lock(mServiceLock); in obtainSession() local
102 Mutex::Autolock lock(mServiceLock); in getNumOfSessions() local
113 Mutex::Autolock lock(mServiceLock); in getSessions() local
145 Mutex::Autolock lock(mServiceLock); in dump() local
/hardware/interfaces/tv/tuner/1.0/default/
DFilter.cpp105 std::lock_guard<std::mutex> lock(mFilterThreadLock); in stop() local
170 std::lock_guard<std::mutex> lock(mFilterThreadLock); in filterThreadLoop() local
213 std::lock_guard<std::mutex> lock(mFilterEventLock); in filterThreadLoop() local
236 std::lock_guard<std::mutex> lock(mFilterStatusLock); in maySendFilterStatusCallback() local
267 std::lock_guard<std::mutex> lock(mFilterOutputLock); in updateFilterOutput() local
273 std::lock_guard<std::mutex> lock(mRecordFilterOutputLock); in updateRecordOutput() local
279 std::lock_guard<std::mutex> lock(mFilterOutputLock); in startFilterHandler() local
341 std::lock_guard<std::mutex> lock(mFilterEventLock); in startPesFilterHandler() local
435 std::lock_guard<std::mutex> lock(mRecordFilterOutputLock); in startRecordFilterHandler() local
462 std::lock_guard<std::mutex> lock(mFilterEventLock); in writeSectionsAndCreateEvent() 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
DEvsDisplay.cpp63 std::lock_guard<std::mutex> lock(mAccessLock); in forceShutdown() local
110 std::lock_guard<std::mutex> lock(mAccessLock); in setDisplayState() local
140 std::lock_guard<std::mutex> lock(mAccessLock); in getDisplayState() local
155 std::lock_guard<std::mutex> lock(mAccessLock); in getTargetBuffer() local
221 std::lock_guard<std::mutex> lock(mAccessLock); in returnTargetBufferForDisplay() 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/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 …]
/hardware/interfaces/health/storage/1.0/vts/functional/
DVtsHalHealthStorageV1_0TargetTest.cpp54 std::unique_lock<std::mutex> lock(mMutex); in onFinish() local
59 std::unique_lock<std::mutex> lock(mMutex); in wait() local
65 void onFinishLocked(std::unique_lock<std::mutex>* lock) { in onFinishLocked()
71 bool waitLocked(std::unique_lock<std::mutex>* lock, std::chrono::duration<R, P> duration) { in waitLocked()
84 std::unique_lock<std::mutex> lock(mMutex); in onFinish() local
96 std::unique_lock<std::mutex> lock(mMutex); in waitForResult() local
/hardware/google/av/codec2/vndk/
DC2Store.cpp190 std::lock_guard<std::mutex> lock(_mComponentStoreSetLock); in setComponentStore() local
192 std::lock_guard<std::mutex> lock(_mComponentStoreReadLock); in setComponentStore() local
197 std::lock_guard<std::mutex> lock(gIonAllocatorMutex); in setComponentStore() local
206 std::lock_guard<std::mutex> lock(gIonAllocatorMutex); in fetchIonAllocator() local
211 std::lock_guard<std::mutex> lock(_mComponentStoreReadLock); in fetchIonAllocator() local
224 std::lock_guard<std::mutex> lock(mutex); in fetchGrallocAllocator() local
236 std::lock_guard<std::mutex> lock(mutex); in fetchBufferQueueAllocator() local
255 std::lock_guard<std::mutex> lock(gPlatformAllocatorStoreMutex); in GetCodec2PlatformAllocatorStore() local
267 std::lock_guard<std::mutex> lock(mutex); // don't interleve set-s in SetPreferredCodec2ComponentStore() local
271 std::lock_guard<std::mutex> lock(gPreferredComponentStoreMutex); in SetPreferredCodec2ComponentStore() local
[all …]
/hardware/interfaces/automotive/evs/1.0/vts/functional/
DFrameHandler.cpp81 std::unique_lock<std::mutex> lock(mLock); in blockingStopStream() local
89 std::unique_lock<std::mutex> lock(mLock); in returnHeldBuffer() local
106 std::unique_lock<std::mutex> lock(mLock); in isRunning() local
113 std::unique_lock<std::mutex> lock(mLock); in waitForFrameCount() local
119 std::unique_lock<std::mutex> lock(mLock); in getFramesCounters() local
/hardware/interfaces/audio/common/all-versions/default/
DEffectMap.cpp36 std::lock_guard<std::mutex> lock(mLock); in add() local
42 std::lock_guard<std::mutex> lock(mLock); in get() local
48 std::lock_guard<std::mutex> lock(mLock); in remove() local
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
DGralloc1On0Adapter.cpp205 std::lock_guard<std::mutex> lock(mDescriptorMutex); in createDescriptor() local
219 std::lock_guard<std::mutex> lock(mDescriptorMutex); in destroyDescriptor() local
282 std::lock_guard<std::mutex> lock(mBufferMutex); in allocate() local
334 std::lock_guard<std::mutex> lock(mBufferMutex); in retain() local
342 std::lock_guard<std::mutex> lock(mBufferMutex); in release() local
370 std::lock_guard<std::mutex> lock(mBufferMutex); in retain() local
439 gralloc1_error_t Gralloc1On0Adapter::lock( in lock() function in android::hardware::Gralloc1On0Adapter
544 std::lock_guard<std::mutex> lock(mDescriptorMutex); in getDescriptor() local
555 std::lock_guard<std::mutex> lock(mBufferMutex); in getBuffer() local
/hardware/google/pixel/usb/
DMonitorFfs.cpp134 lock_guard<mutex> lock(monitorFfs->mLock); in startMonitorFd() local
188 lock_guard<mutex> lock(monitorFfs->mLock); in startMonitorFd() local
214 lock_guard<mutex> lock(mLockFd); in reset() local
267 lock_guard<mutex> lock(mLockFd); in addInotifyFd() local
280 lock_guard<mutex> lock(mLockFd); in addEndPoint() local
/hardware/interfaces/wifi/1.3/default/
Dhidl_return_util.h46 const auto lock = hidl_sync_util::acquireGlobalLock(); in validateAndCall() local
62 auto lock = hidl_sync_util::acquireGlobalLock(); in validateAndCallWithLock() local
78 const auto lock = hidl_sync_util::acquireGlobalLock(); in validateAndCall() local
99 const auto lock = hidl_sync_util::acquireGlobalLock(); in validateAndCall() local
/hardware/google/pixel/powerstats/
DAidlStateResidencyDataProvider.cpp37 std::lock_guard<std::mutex> lock(mLock); in addEntity() local
57 std::lock_guard<std::mutex> lock(mLock); in unregisterCallbackInternal() local
98 std::lock_guard<std::mutex> lock(mLock); in registerCallback() local
171 std::lock_guard<std::mutex> lock(mLock); in getResults() local
199 std::lock_guard<std::mutex> lock(mLock); in getStateSpaces() local
/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraPerf.cpp63 std::lock_guard<std::mutex> lock(gPowerHalMutex); in serviceDied() local
471 Mutex::Autolock lock(mMutex); in acquirePerfLock() local
537 Mutex::Autolock lock(mMutex); in releasePerfLock() local
625 Mutex::Autolock lock(mMutex); in createSingleton() local
639 std::lock_guard<std::mutex> lock(gPowerHalMutex); in createSingleton() local
702 Mutex::Autolock lock(mMutex); in deleteInstance() local
729 std::lock_guard<std::mutex> lock(gPowerHalMutex); in powerHint() local
/hardware/google/av/codec2/hidl/1.0/utils/
DComponentStore.cpp143 std::lock_guard<std::mutex> lock(mStructDescriptorsMutex); in validateSupportedParams() local
182 std::lock_guard<std::mutex> lock(mComponentRosterMutex); in createComponent() local
242 std::lock_guard<std::mutex> lock(mStructDescriptorsMutex); in onInterfaceLoaded() local
256 std::lock_guard<std::mutex> lock(mStructDescriptorsMutex); in getStructDescriptors() local
297 std::lock_guard<std::mutex> lock(mComponentRosterMutex); in reportComponentDeath() local
303 std::lock_guard<std::mutex> lock(mComponentRosterMutex); in findC2Component() local
393 std::lock_guard<std::mutex> lock(mComponentRosterMutex); in debug() local
/hardware/interfaces/radio/config/1.0/vts/functional/
Dradio_config_hidl_hal_test.cpp42 std::unique_lock<std::mutex> lock(mtx_); in notify() local
51 std::unique_lock<std::mutex> lock(mtx_); in wait() local
/hardware/interfaces/radio/config/1.1/vts/functional/
Dradio_config_hidl_hal_test.cpp39 std::unique_lock<std::mutex> lock(mtx_); in notify() local
50 std::unique_lock<std::mutex> lock(mtx_); in wait() local

1234567891011