Home
last modified time | relevance | path

Searched refs:mMutex (Results 1 – 23 of 23) sorted by relevance

/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dsync.h10 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/
Dsync.h25 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/
DLocSharedLock.h43 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()
DLocThread.cpp37 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()
DLocTimer.cpp94 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/
DLocSharedLock.h44 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()
DLocThread.cpp37 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()
DLocTimer.cpp94 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/
DHdcpControl.cpp32 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()
DHdcpControl.h71 Mutex mMutex; variable
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
DHdcpControl.cpp32 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()
DHdcpControl.h71 Mutex mMutex; variable
/hardware/libhardware/tests/camera2/
Dcamera2_utils.cpp70 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 …]
Dcamera2_utils.h72 Mutex mMutex; variable
147 Mutex mMutex; variable
237 Mutex mMutex; variable
DCameraStreamFixture.h218 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/
Dcamera_test_bufferqueue.h31 Mutex::Autolock lock(mMutex); in waitForFrame()
33 mCondition.wait(mMutex); in waitForFrame()
39 Mutex::Autolock lock(mMutex); in onFrameAvailable()
47 Mutex mMutex; variable
Dcamera_test_surfacetexture.h45 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/
DDebugUtils.cpp56 android::AutoMutex locker(mMutex); in grow()
DDebugUtils.h98 mutable android::Mutex mMutex; variable
/hardware/intel/common/libstagefrighthw/
DWrsOMXPlugin.h97 Mutex mMutex; // to protect access to mComponents
DWrsOMXPlugin.cpp134 Mutex::Autolock autoLock(mMutex); in makeComponentInstance()
152 Mutex::Autolock autoLock(mMutex); in destroyComponentInstance()
/hardware/qcom/camera/QCamera2/HAL3/
DQCamera3HWI.h431 pthread_mutex_t mMutex; variable
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/inc/
DOMX_VideoDec_Utils.h582 pthread_mutex_t mMutex; member