Home
last modified time | relevance | path

Searched refs:mLock (Results 1 – 25 of 149) sorted by relevance

123456

/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraParametersIntf.cpp56 Mutex::Autolock lock(mLock); in ~QCameraParametersIntf()
67 Mutex::Autolock lock(mLock); in allocate()
82 Mutex::Autolock lock(mLock); in init()
89 Mutex::Autolock lock(mLock); in deinit()
96 Mutex::Autolock lock(mLock); in updateParameters()
103 Mutex::Autolock lock(mLock); in commitParameters()
110 Mutex::Autolock lock(mLock); in getParameters()
117 Mutex::Autolock lock(mLock); in getPreviewFpsRange()
125 Mutex::Autolock lock(mLock); in getTsMakeupInfo()
133 Mutex::Autolock lock(mLock); in getPreviewHalPixelFormat()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3StreamMem.cpp83 Mutex::Autolock lock(mLock); in getCnt()
125 Mutex::Autolock lock(mLock); in getFd()
145 Mutex::Autolock lock(mLock); in getSize()
167 Mutex::Autolock lock(mLock); in invalidateCache()
189 Mutex::Autolock lock(mLock); in cleanInvalidateCache()
211 Mutex::Autolock lock(mLock); in cleanCache()
262 Mutex::Autolock lock(mLock); in getPtr()
282 Mutex::Autolock lock(mLock); in valid()
306 Mutex::Autolock lock(mLock); in registerBuffer()
325 Mutex::Autolock lock(mLock); in unregisterBuffer()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h53 : mLock(lock) { in auto_lock()
54 if (mLock) in auto_lock()
55 pthread_mutex_lock(mLock); in auto_lock()
58 if (mLock) in ~auto_lock()
59 pthread_mutex_unlock(mLock); in ~auto_lock()
62 pthread_mutex_t *mLock;
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h54 : mLock(lock) { in auto_lock()
55 if (mLock) in auto_lock()
56 pthread_mutex_lock(mLock); in auto_lock()
59 if (mLock) in ~auto_lock()
60 pthread_mutex_unlock(mLock); in ~auto_lock()
63 pthread_mutex_t *mLock;
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h54 : mLock(lock) { in auto_lock()
55 if (mLock) in auto_lock()
56 pthread_mutex_lock(mLock); in auto_lock()
59 if (mLock) in ~auto_lock()
60 pthread_mutex_unlock(mLock); in ~auto_lock()
63 pthread_mutex_t *mLock;
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h54 : mLock(lock) { in auto_lock()
55 if (mLock) in auto_lock()
56 pthread_mutex_lock(mLock); in auto_lock()
59 if (mLock) in ~auto_lock()
60 pthread_mutex_unlock(mLock); in ~auto_lock()
63 pthread_mutex_t *mLock;
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h54 : mLock(lock) { in auto_lock()
55 if (mLock) in auto_lock()
56 pthread_mutex_lock(mLock); in auto_lock()
59 if (mLock) in ~auto_lock()
60 pthread_mutex_unlock(mLock); in ~auto_lock()
63 pthread_mutex_t *mLock;
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVehiclePropertyStore.cpp40 MuxGuard g(mLock); in registerProperty()
46 MuxGuard g(mLock); in writeValue()
64 MuxGuard g(mLock); in removeValue()
73 MuxGuard g(mLock); in removeValuesForProperty()
79 MuxGuard g(mLock); in readAllValues()
90 MuxGuard g(mLock); in readValuesForProperty()
101 MuxGuard g(mLock); in readValueOrNull()
110 MuxGuard g(mLock); in readValueOrNull()
117 MuxGuard g(mLock); in getAllConfigs()
127 MuxGuard g(mLock); in getConfigOrNull()
/hardware/interfaces/automotive/evs/1.0/vts/functional/
DFrameHandler.cpp61 mLock.lock(); in startStream()
63 mLock.unlock(); in startStream()
81 std::unique_lock<std::mutex> lock(mLock); in blockingStopStream()
89 std::unique_lock<std::mutex> lock(mLock); in returnHeldBuffer()
106 std::unique_lock<std::mutex> lock(mLock); in isRunning()
113 std::unique_lock<std::mutex> lock(mLock); in waitForFrameCount()
119 std::unique_lock<std::mutex> lock(mLock); in getFramesCounters()
175 mLock.lock(); in deliverFrame()
177 mLock.unlock(); in deliverFrame()
201 mLock.lock(); in deliverFrame()
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DRecurrentTimer.h63 std::lock_guard<std::mutex> g(mLock); in registerRecurrentEvent()
71 std::lock_guard<std::mutex> g(mLock); in unregisterRecurrentEvent()
105 std::unique_lock<std::mutex> g(mLock); in loop()
124 std::unique_lock<std::mutex> g(mLock); in loop()
132 std::lock_guard<std::mutex> g(mLock); in stop()
141 mutable std::mutex mLock;
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/common/inc/
Dvidc_debug.h82 : mLock(lock) { in auto_lock()
83 pthread_mutex_lock(&mLock); in auto_lock()
86 pthread_mutex_unlock(&mLock); in ~auto_lock()
89 pthread_mutex_t &mLock;
/hardware/interfaces/camera/device/3.2/default/
DCameraDevice.cpp61 Mutex::Autolock _l(mLock); in initStatus()
72 Mutex::Autolock _l(mLock); in setConnectionStatus()
196 mLock.lock(); in open()
202 mLock.unlock(); in open()
218 mLock.unlock(); in open()
231 mLock.unlock(); in open()
241 mLock.unlock(); in open()
250 mLock.unlock(); in open()
257 mLock.unlock(); in open()
272 mLock.unlock(); in open()
[all …]
/hardware/qcom/gps/msm8996/utils/
DLocTimer.cpp179 LocSharedLock* mLock; member in LocTimerDelegate
184 : mClient(NULL), mLock(NULL), mFutureTime(delay), mContainer(NULL) {} in LocTimerDelegate()
185 inline ~LocTimerDelegate() { if (mLock) { mLock->drop(); mLock = NULL; } } in ~LocTimerDelegate()
478 mLock(mClient->mLock->share()), in LocTimerDelegate()
532 LocTimer::LocTimer() : mTimer(NULL), mLock(new LocSharedLock()) { in LocTimer()
537 if (mLock) { in ~LocTimer()
538 mLock->drop(); in ~LocTimer()
539 mLock = NULL; in ~LocTimer()
545 mLock->lock(); in start()
559 mLock->unlock(); in start()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/common/inc/
Dvidc_debug.h108 : mLock(lock) { in auto_lock()
109 pthread_mutex_lock(&mLock); in auto_lock()
112 pthread_mutex_unlock(&mLock); in ~auto_lock()
115 pthread_mutex_t &mLock;
/hardware/qcom/gps/msm8998/utils/
DLocTimer.cpp179 LocSharedLock* mLock; member in LocTimerDelegate
184 : mClient(NULL), mLock(NULL), mFutureTime(delay), mContainer(NULL) {} in LocTimerDelegate()
185 inline ~LocTimerDelegate() { if (mLock) { mLock->drop(); mLock = NULL; } } in ~LocTimerDelegate()
480 mLock(mClient->mLock->share()), in LocTimerDelegate()
539 LocTimer::LocTimer() : mTimer(NULL), mLock(new LocSharedLock()) { in LocTimer()
544 if (mLock) { in ~LocTimer()
545 mLock->drop(); in ~LocTimer()
546 mLock = NULL; in ~LocTimer()
552 mLock->lock(); in start()
571 mLock->unlock(); in start()
[all …]
/hardware/qcom/gps/msm8909w_3100/utils/
DLocTimer.cpp178 LocSharedLock* mLock; member in LocTimerDelegate
183 : mClient(NULL), mLock(NULL), mFutureTime(delay), mContainer(NULL) {} in LocTimerDelegate()
184 inline ~LocTimerDelegate() { if (mLock) { mLock->drop(); mLock = NULL; } } in ~LocTimerDelegate()
481 mLock(mClient->mLock->share()), in LocTimerDelegate()
540 LocTimer::LocTimer() : mTimer(NULL), mLock(new LocSharedLock()) { in LocTimer()
545 if (mLock) { in ~LocTimer()
546 mLock->drop(); in ~LocTimer()
547 mLock = NULL; in ~LocTimer()
553 mLock->lock(); in start()
572 mLock->unlock(); in start()
[all …]
/hardware/qcom/sdm845/gps/msm8996/utils/
DLocTimer.cpp178 LocSharedLock* mLock; member in LocTimerDelegate
183 : mClient(NULL), mLock(NULL), mFutureTime(delay), mContainer(NULL) {} in LocTimerDelegate()
184 inline ~LocTimerDelegate() { if (mLock) { mLock->drop(); mLock = NULL; } } in ~LocTimerDelegate()
479 mLock(mClient->mLock->share()), in LocTimerDelegate()
533 LocTimer::LocTimer() : mTimer(NULL), mLock(new LocSharedLock()) { in LocTimer()
538 if (mLock) { in ~LocTimer()
539 mLock->drop(); in ~LocTimer()
540 mLock = NULL; in ~LocTimer()
546 mLock->lock(); in start()
565 mLock->unlock(); in start()
[all …]
/hardware/qcom/sdm845/gps/msm8998/utils/
DLocTimer.cpp179 LocSharedLock* mLock; member in LocTimerDelegate
184 : mClient(NULL), mLock(NULL), mFutureTime(delay), mContainer(NULL) {} in LocTimerDelegate()
185 inline ~LocTimerDelegate() { if (mLock) { mLock->drop(); mLock = NULL; } } in ~LocTimerDelegate()
480 mLock(mClient->mLock->share()), in LocTimerDelegate()
539 LocTimer::LocTimer() : mTimer(NULL), mLock(new LocSharedLock()) { in LocTimer()
544 if (mLock) { in ~LocTimer()
545 mLock->drop(); in ~LocTimer()
546 mLock = NULL; in ~LocTimer()
552 mLock->lock(); in start()
571 mLock->unlock(); in start()
[all …]
/hardware/qcom/sdm845/gps/sdm845/utils/
DLocTimer.cpp180 LocSharedLock* mLock; member in LocTimerDelegate
185 : mClient(NULL), mLock(NULL), mFutureTime(delay), mContainer(NULL) {} in LocTimerDelegate()
186 inline ~LocTimerDelegate() { if (mLock) { mLock->drop(); mLock = NULL; } } in ~LocTimerDelegate()
483 mLock(mClient->mLock->share()), in LocTimerDelegate()
542 LocTimer::LocTimer() : mTimer(NULL), mLock(new LocSharedLock()) { in LocTimer()
547 if (mLock) { in ~LocTimer()
548 mLock->drop(); in ~LocTimer()
549 mLock = NULL; in ~LocTimer()
555 mLock->lock(); in start()
574 mLock->unlock(); in start()
[all …]
/hardware/qcom/sm8150/gps/utils/
DLocTimer.cpp180 LocSharedLock* mLock; member in LocTimerDelegate
185 : mClient(NULL), mLock(NULL), mFutureTime(delay), mContainer(NULL) {} in LocTimerDelegate()
186 inline ~LocTimerDelegate() { if (mLock) { mLock->drop(); mLock = NULL; } } in ~LocTimerDelegate()
483 mLock(mClient->mLock->share()), in LocTimerDelegate()
542 LocTimer::LocTimer() : mTimer(NULL), mLock(new LocSharedLock()) { in LocTimer()
547 if (mLock) { in ~LocTimer()
548 mLock->drop(); in ~LocTimer()
549 mLock = NULL; in ~LocTimer()
555 mLock->lock(); in start()
574 mLock->unlock(); in start()
[all …]
/hardware/qcom/sdm845/gps/msm8909/utils/
DLocTimer.cpp178 LocSharedLock* mLock; member in LocTimerDelegate
183 : mClient(NULL), mLock(NULL), mFutureTime(delay), mContainer(NULL) {} in LocTimerDelegate()
184 inline ~LocTimerDelegate() { if (mLock) { mLock->drop(); mLock = NULL; } } in ~LocTimerDelegate()
481 mLock(mClient->mLock->share()), in LocTimerDelegate()
535 LocTimer::LocTimer() : mTimer(NULL), mLock(new LocSharedLock()) { in LocTimer()
540 if (mLock) { in ~LocTimer()
541 mLock->drop(); in ~LocTimer()
542 mLock = NULL; in ~LocTimer()
548 mLock->lock(); in start()
567 mLock->unlock(); in start()
[all …]
/hardware/qcom/gps/msm8909/utils/
DLocTimer.cpp178 LocSharedLock* mLock; member in LocTimerDelegate
183 : mClient(NULL), mLock(NULL), mFutureTime(delay), mContainer(NULL) {} in LocTimerDelegate()
184 inline ~LocTimerDelegate() { if (mLock) { mLock->drop(); mLock = NULL; } } in ~LocTimerDelegate()
479 mLock(mClient->mLock->share()), in LocTimerDelegate()
533 LocTimer::LocTimer() : mTimer(NULL), mLock(new LocSharedLock()) { in LocTimer()
538 if (mLock) { in ~LocTimer()
539 mLock->drop(); in ~LocTimer()
540 mLock = NULL; in ~LocTimer()
546 mLock->lock(); in start()
560 mLock->unlock(); in start()
[all …]
/hardware/qcom/sdm845/gps/msm8998/android/location_api/
DGnssMeasurementAPIClient.cpp56 pthread_mutex_init(&mLock, nullptr); in GnssMeasurementAPIClient()
71 pthread_mutex_destroy(&mLock); in ~GnssMeasurementAPIClient()
106 pthread_mutex_lock(&mLock); in gnssMeasurementSetCallback()
107 pthread_cond_wait(&mCond, &mLock); in gnssMeasurementSetCallback()
108 pthread_mutex_unlock(&mLock); in gnssMeasurementSetCallback()
123 pthread_mutex_lock(&mLock); in gnssMeasurementClose()
125 pthread_mutex_unlock(&mLock); in gnssMeasurementClose()
134 pthread_mutex_lock(&mLock); in onCapabilitiesCb()
136 pthread_mutex_unlock(&mLock); in onCapabilitiesCb()
146 pthread_mutex_lock(&mLock); in onGnssMeasurementsCb()
[all …]
/hardware/qcom/audio/legacy/alsa_sound/
DAudioStreamOutALSA.cpp126 mParent->mLock.lock(); in write()
199 mParent->mLock.unlock(); in write()
215 mParent->mLock.unlock(); in write()
222 mParent->mLock.lock(); in write()
233 mParent->mLock.unlock(); in write()
252 mParent->mLock.lock(); in write()
267 mParent->mLock.unlock(); in write()
271 mParent->mLock.unlock(); in write()
292 Mutex::Autolock autoLock(mParent->mLock); in open()
299 Mutex::Autolock autoLock(mParent->mLock); in close()
[all …]
/hardware/qcom/gps/msm8998/android/location_api/
DGnssMeasurementAPIClient.cpp56 pthread_mutex_init(&mLock, nullptr); in GnssMeasurementAPIClient()
71 pthread_mutex_destroy(&mLock); in ~GnssMeasurementAPIClient()
106 pthread_mutex_lock(&mLock); in gnssMeasurementSetCallback()
107 pthread_cond_wait(&mCond, &mLock); in gnssMeasurementSetCallback()
108 pthread_mutex_unlock(&mLock); in gnssMeasurementSetCallback()
123 pthread_mutex_lock(&mLock); in gnssMeasurementClose()
125 pthread_mutex_unlock(&mLock); in gnssMeasurementClose()
134 pthread_mutex_lock(&mLock); in onCapabilitiesCb()
136 pthread_mutex_unlock(&mLock); in onCapabilitiesCb()
146 pthread_mutex_lock(&mLock); in onGnssMeasurementsCb()
[all …]

123456