/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/msm8996/utils/ |
D | LocSharedLock.h | 43 pthread_mutex_t mMutex; variable 44 inline ~LocSharedLock() { pthread_mutex_destroy(&mMutex); } in ~LocSharedLock() 47 inline LocSharedLock() : mRef(1) { pthread_mutex_init(&mMutex, NULL); } in LocSharedLock() 53 inline void lock() { pthread_mutex_lock(&mMutex); } in lock() 55 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/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() 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/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/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/libhardware/tests/camera2/ |
D | camera2_utils.cpp | 70 Mutex::Autolock l(mMutex); in enqueue() 79 mMutex.unlock(); in enqueue() 82 mMutex.lock(); in enqueue() 88 Mutex::Autolock l(mMutex); in getBufferCount() 96 Mutex::Autolock l(mMutex); in dequeue() 138 Mutex::Autolock l(mMutex); in waitForBuffer() 141 res = notEmpty.waitRelative(mMutex,timeout); in waitForBuffer() 259 Mutex::Autolock l(mMutex); in getNextNotification() 268 Mutex::Autolock l(mMutex); in waitForNotification() 270 mNewNotification.wait(mMutex); in waitForNotification() [all …]
|
D | camera2_utils.h | 72 Mutex mMutex; variable 147 Mutex mMutex; variable 237 Mutex mMutex; variable
|
D | CameraStreamFixture.h | 218 Mutex::Autolock lock(mMutex); in onFrameAvailable() 227 Mutex::Autolock lock(mMutex); in waitForFrame() 229 res = mCondition.waitRelative(mMutex, timeout); in waitForFrame() 237 Mutex mMutex;
|
/hardware/ti/omap4-aah/test/CameraHal/ |
D | camera_test_bufferqueue.h | 31 Mutex::Autolock lock(mMutex); in waitForFrame() 33 mCondition.wait(mMutex); in waitForFrame() 39 Mutex::Autolock lock(mMutex); in onFrameAvailable() 47 Mutex mMutex; variable
|
D | camera_test_surfacetexture.h | 45 Mutex::Autolock lock(mMutex); in waitForFrame() 47 mCondition.wait(mMutex); in waitForFrame() 53 Mutex::Autolock lock(mMutex); in onFrameAvailable() 59 Mutex mMutex; variable
|
/hardware/ti/omap4-aah/libtiutils/ |
D | DebugUtils.cpp | 56 android::AutoMutex locker(mMutex); in grow()
|
D | DebugUtils.h | 98 mutable android::Mutex mMutex; variable
|
/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/camera/QCamera2/HAL3/ |
D | QCamera3HWI.h | 431 pthread_mutex_t mMutex; variable
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/inc/ |
D | OMX_VideoDec_Utils.h | 582 pthread_mutex_t mMutex; member
|