/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/intel/img/hwcomposer/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/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 | CameraStreamFixture.h | 136 Mutex::Autolock lock(mMutex); in onFrameAvailable() 145 Mutex::Autolock lock(mMutex); in waitForFrame() 147 res = mCondition.waitRelative(mMutex, timeout); in waitForFrame() 155 Mutex mMutex;
|
D | camera2_utils.h | 72 Mutex mMutex; variable 147 Mutex mMutex; variable 237 Mutex mMutex; variable
|
/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.cpp | 130 Mutex::Autolock autoLock(mMutex); in makeComponentInstance() 146 Mutex::Autolock autoLock(mMutex); in destroyComponentInstance()
|
D | WrsOMXPlugin.h | 97 Mutex mMutex; // to protect access to mComponents
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/ |
D | OMX_VideoDec_Utils.c | 195 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/ |
D | OMX_VideoDec_Utils.h | 582 pthread_mutex_t mMutex; member
|