/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
D | sync.h | 10 pthread_mutex_t mMutex; 13 pthread_mutex_init(&mMutex, NULL); in Mutex() 16 pthread_mutex_destroy(&mMutex); in ~Mutex() 19 return pthread_mutex_trylock(&mMutex); in tryLock() 22 return pthread_mutex_lock(&mMutex); in lock() 25 pthread_mutex_unlock(&mMutex); in unlock() 33 pthread_mutex_t mMutex; variable 37 pthread_mutex_init(&mMutex, NULL); in Condition() 42 pthread_mutex_destroy(&mMutex); in ~Condition() 46 return pthread_cond_wait(&mCondition, &mMutex); in wait()
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | sync.h | 25 pthread_mutex_t mMutex; 28 pthread_mutex_init(&mMutex, NULL); in Mutex() 31 pthread_mutex_destroy(&mMutex); in ~Mutex() 34 return pthread_mutex_trylock(&mMutex); in tryLock() 37 return pthread_mutex_lock(&mMutex); in lock() 40 pthread_mutex_unlock(&mMutex); in unlock() 48 pthread_mutex_t mMutex; variable 52 pthread_mutex_init(&mMutex, NULL); in Condition() 57 pthread_mutex_destroy(&mMutex); in ~Condition() 61 return pthread_cond_wait(&mCondition, &mMutex); in wait() [all …]
|
/hardware/qcom/gps/msm8998/location/ |
D | LocationAPIClientBase.cpp | 51 pthread_mutex_init(&mMutex, &attr); in LocationAPIClientBase() 116 pthread_mutex_lock(&mMutex); in ~LocationAPIClientBase() 123 pthread_mutex_unlock(&mMutex); in ~LocationAPIClientBase() 125 pthread_mutex_destroy(&mMutex); in ~LocationAPIClientBase() 132 pthread_mutex_lock(&mMutex); in locAPIStartTracking() 145 pthread_mutex_unlock(&mMutex); in locAPIStartTracking() 156 pthread_mutex_lock(&mMutex); in locAPIStopTracking() 164 pthread_mutex_unlock(&mMutex); in locAPIStopTracking() 171 pthread_mutex_lock(&mMutex); in locAPIUpdateTrackingOptions() 179 pthread_mutex_unlock(&mMutex); in locAPIUpdateTrackingOptions() [all …]
|
/hardware/qcom/gps/msm8996/utils/ |
D | LocSharedLock.h | 44 pthread_mutex_t mMutex; variable 45 inline ~LocSharedLock() { pthread_mutex_destroy(&mMutex); } in ~LocSharedLock() 48 inline LocSharedLock() : mRef(1) { pthread_mutex_init(&mMutex, NULL); } in LocSharedLock() 54 inline void lock() { pthread_mutex_lock(&mMutex); } in lock() 56 inline void unlock() { pthread_mutex_unlock(&mMutex); } in unlock()
|
D | LocThread.cpp | 37 pthread_mutex_t mMutex; member in LocThreadDelegate 68 mMutex(PTHREAD_MUTEX_INITIALIZER), mRefCount(2) { in LocThreadDelegate() 163 pthread_mutex_lock(&mMutex); in destroy() 166 pthread_mutex_unlock(&mMutex); in destroy()
|
D | LocTimer.cpp | 94 static pthread_mutex_t mMutex; member in LocTimerContainer 201 pthread_mutex_t LocTimerContainer::mMutex = PTHREAD_MUTEX_INITIALIZER; member in LocTimerContainer 240 pthread_mutex_lock(&mMutex); in get() 250 pthread_mutex_unlock(&mMutex); in get() 585 static pthread_mutex_t mMutex; member in LocTimerWrapper 592 pthread_mutex_lock(&mMutex); in destroy() 596 pthread_mutex_unlock(&mMutex); in destroy() 608 pthread_mutex_t LocTimerWrapper::mMutex = PTHREAD_MUTEX_INITIALIZER; member in LocTimerWrapper
|
/hardware/qcom/gps/msm8998/utils/ |
D | LocSharedLock.h | 44 pthread_mutex_t mMutex; variable 45 inline ~LocSharedLock() { pthread_mutex_destroy(&mMutex); } in ~LocSharedLock() 48 inline LocSharedLock() : mRef(1) { pthread_mutex_init(&mMutex, NULL); } in LocSharedLock() 54 inline void lock() { pthread_mutex_lock(&mMutex); } in lock() 56 inline void unlock() { pthread_mutex_unlock(&mMutex); } in unlock()
|
D | LocThread.cpp | 38 pthread_mutex_t mMutex; member in LocThreadDelegate 69 mMutex(PTHREAD_MUTEX_INITIALIZER), mRefCount(2) { in LocThreadDelegate() 165 pthread_mutex_lock(&mMutex); in destroy() 168 pthread_mutex_unlock(&mMutex); in destroy()
|
D | LocTimer.cpp | 94 static pthread_mutex_t mMutex; member in LocTimerContainer 201 pthread_mutex_t LocTimerContainer::mMutex = PTHREAD_MUTEX_INITIALIZER; member in LocTimerContainer 240 pthread_mutex_lock(&mMutex); in get() 250 pthread_mutex_unlock(&mMutex); in get() 590 static pthread_mutex_t mMutex; member in LocTimerWrapper 597 pthread_mutex_lock(&mMutex); in destroy() 601 pthread_mutex_unlock(&mMutex); in destroy() 613 pthread_mutex_t LocTimerWrapper::mMutex = PTHREAD_MUTEX_INITIALIZER; member in LocTimerWrapper
|
/hardware/qcom/gps/msm8909/utils/ |
D | LocSharedLock.h | 44 pthread_mutex_t mMutex; variable 45 inline ~LocSharedLock() { pthread_mutex_destroy(&mMutex); } in ~LocSharedLock() 48 inline LocSharedLock() : mRef(1) { pthread_mutex_init(&mMutex, NULL); } in LocSharedLock() 54 inline void lock() { pthread_mutex_lock(&mMutex); } in lock() 56 inline void unlock() { pthread_mutex_unlock(&mMutex); } in unlock()
|
D | LocThread.cpp | 37 pthread_mutex_t mMutex; member in LocThreadDelegate 68 mMutex(PTHREAD_MUTEX_INITIALIZER), mRefCount(2) { in LocThreadDelegate() 163 pthread_mutex_lock(&mMutex); in destroy() 166 pthread_mutex_unlock(&mMutex); in destroy()
|
D | LocTimer.cpp | 94 static pthread_mutex_t mMutex; member in LocTimerContainer 201 pthread_mutex_t LocTimerContainer::mMutex = PTHREAD_MUTEX_INITIALIZER; member in LocTimerContainer 240 pthread_mutex_lock(&mMutex); in get() 250 pthread_mutex_unlock(&mMutex); in get() 587 static pthread_mutex_t mMutex; member in LocTimerWrapper 594 pthread_mutex_lock(&mMutex); in destroy() 598 pthread_mutex_unlock(&mMutex); in destroy() 610 pthread_mutex_t LocTimerWrapper::mMutex = PTHREAD_MUTEX_INITIALIZER; member in LocTimerWrapper
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/ |
D | HdcpControl.cpp | 32 mMutex(), in HdcpControl() 51 Mutex::Autolock lock(mMutex); in startHdcp() 97 …status_t err = mCompletedCondition.waitRelative(mMutex, milliseconds(HDCP_AUTHENTICATION_TIMEOUT_M… in startHdcp() 120 Mutex::Autolock lock(mMutex); in startHdcpAsync() 149 Mutex::Autolock lock(mMutex); in stopHdcp() 343 Mutex::Autolock lock(mMutex); in threadLoop() 344 status_t err = mStoppedCondition.waitRelative(mMutex, milliseconds(mActionDelay)); in threadLoop()
|
D | HdcpControl.h | 71 Mutex mMutex; variable
|
/hardware/intel/img/hwcomposer/merrifield/ips/common/ |
D | HdcpControl.cpp | 32 mMutex(), in HdcpControl() 50 Mutex::Autolock lock(mMutex); in startHdcp() 96 …status_t err = mCompletedCondition.waitRelative(mMutex, milliseconds(HDCP_AUTHENTICATION_TIMEOUT_M… in startHdcp() 119 Mutex::Autolock lock(mMutex); in startHdcpAsync() 148 Mutex::Autolock lock(mMutex); in stopHdcp() 330 Mutex::Autolock lock(mMutex); in threadLoop() 331 status_t err = mStoppedCondition.waitRelative(mMutex, milliseconds(mActionDelay)); in threadLoop()
|
D | HdcpControl.h | 71 Mutex mMutex; variable
|
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
D | SocketComm.cpp | 57 std::lock_guard<std::mutex> lock(mMutex); in connect() 114 std::lock_guard<std::mutex> lock(mMutex); in read() 133 std::lock_guard<std::mutex> lock(mMutex); in read() 143 std::lock_guard<std::mutex> lock(mMutex); in stop() 171 std::lock_guard<std::mutex> lock(mMutex); in write()
|
D | PipeComm.cpp | 71 std::lock_guard<std::mutex> lock(mMutex); in read() 83 std::lock_guard<std::mutex> lock(mMutex); in write()
|
D | PipeComm.h | 64 std::mutex mMutex;
|
D | SocketComm.h | 81 std::mutex mMutex; variable
|
/hardware/interfaces/graphics/mapper/2.0/default/ |
D | GrallocMapper.cpp | 44 std::lock_guard<std::mutex> lock(mMutex); in add() 51 std::lock_guard<std::mutex> lock(mMutex); in pop() 58 std::lock_guard<std::mutex> lock(mMutex); in get() 63 std::mutex mMutex; member in android::hardware::graphics::mapper::V2_0::implementation::__anonbcbd848f0111::RegisteredHandlePool
|
/hardware/interfaces/graphics/composer/2.1/vts/functional/ |
D | VtsHalGraphicsComposerV2_1TargetTest.cpp | 56 std::lock_guard<std::mutex> lock(mMutex); in setVsyncAllowed() 61 std::lock_guard<std::mutex> lock(mMutex); in getDisplays() 66 std::lock_guard<std::mutex> lock(mMutex); in getInvalidHotplugCount() 71 std::lock_guard<std::mutex> lock(mMutex); in getInvalidRefreshCount() 76 std::lock_guard<std::mutex> lock(mMutex); in getInvalidVsyncCount() 82 std::lock_guard<std::mutex> lock(mMutex); in onHotplug() 98 std::lock_guard<std::mutex> lock(mMutex); in onRefresh() 108 std::lock_guard<std::mutex> lock(mMutex); in onVsync() 117 mutable std::mutex mMutex; member in android::hardware::graphics::composer::V2_1::tests::__anonde29188e0111::GraphicsComposerCallback
|
/hardware/intel/common/libstagefrighthw/ |
D | WrsOMXPlugin.h | 97 Mutex mMutex; // to protect access to mComponents
|
D | WrsOMXPlugin.cpp | 134 Mutex::Autolock autoLock(mMutex); in makeComponentInstance() 152 Mutex::Autolock autoLock(mMutex); in destroyComponentInstance()
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | HWC2On1Adapter.h | 137 : mMutex(), in DeferredFence() 150 mutable std::mutex mMutex;
|