Home
last modified time | relevance | path

Searched refs:mMutex (Results 1 – 15 of 15) 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/intel/img/hwcomposer/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/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 …]
DCameraStreamFixture.h136 Mutex::Autolock lock(mMutex); in onFrameAvailable()
145 Mutex::Autolock lock(mMutex); in waitForFrame()
147 res = mCondition.waitRelative(mMutex, timeout); in waitForFrame()
155 Mutex mMutex;
Dcamera2_utils.h72 Mutex mMutex; variable
147 Mutex mMutex; variable
237 Mutex mMutex; variable
/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.cpp130 Mutex::Autolock autoLock(mMutex); in makeComponentInstance()
146 Mutex::Autolock autoLock(mMutex); in destroyComponentInstance()
DWrsOMXPlugin.h97 Mutex mMutex; // to protect access to mComponents
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/
DOMX_VideoDec_Utils.c195 pthread_mutex_init(&(queue->mMutex), NULL); in VIDDEC_Queue_Init()
212 if (pthread_mutex_lock (&(queue->mMutex)) != 0) { in VIDDEC_Queue_Flush()
226 if (pthread_mutex_unlock (&(queue->mMutex)) != 0) { in VIDDEC_Queue_Flush()
238 if (pthread_mutex_lock (&(queue->mMutex)) != 0) { in VIDDEC_Queue_Add()
328 if (pthread_mutex_unlock (&(queue->mMutex)) != 0) { in VIDDEC_Queue_Add()
340 if (pthread_mutex_lock (&(queue->mMutex)) != 0) { in VIDDEC_Queue_Remove()
381 if (pthread_mutex_unlock (&(queue->mMutex)) != 0) { in VIDDEC_Queue_Remove()
392 if (pthread_mutex_lock (&(queue->mMutex)) != 0) { in VIDDEC_Queue_Get_Tail()
415 if (pthread_mutex_unlock (&(queue->mMutex)) != 0) { in VIDDEC_Queue_Get_Tail()
427 if (pthread_mutex_lock (&(queue->mMutex)) != 0) { in VIDDEC_Queue_Replace_Tail()
[all …]
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/inc/
DOMX_VideoDec_Utils.h582 pthread_mutex_t mMutex; member