Home
last modified time | relevance | path

Searched refs:m_lock (Results 1 – 21 of 21) sorted by relevance

/device/generic/goldfish/opengl/shared/OpenglCodecCommon/
DSmartPtr.h28 m_lock = new mutex_t;
29 mutex_init(m_lock);
31 else m_lock = NULL;
42 m_lock = new mutex_t;
43 mutex_init(m_lock);
45 else m_lock = NULL;
54 m_lock = new mutex_t;
55 mutex_init(m_lock);
57 else m_lock = NULL;
59 if (rhs.m_lock) mutex_lock(rhs.m_lock);
[all …]
DGLSharedGroup.cpp245 android::AutoMutex _lock(m_lock); in getBufferData()
251 android::AutoMutex _lock(m_lock); in addBufferData()
257 android::AutoMutex _lock(m_lock); in updateBufferData()
269 android::AutoMutex _lock(m_lock); in subUpdateBufferData()
280 android::AutoMutex _lock(m_lock); in deleteBufferData()
290 android::AutoMutex _lock(m_lock); in addProgramData()
303 android::AutoMutex _lock(m_lock); in initProgramData()
313 android::AutoMutex _lock(m_lock); in isProgramInitialized()
324 android::AutoMutex _lock(m_lock); in deleteProgramData()
333 android::AutoMutex _lock(m_lock); in attachShader()
[all …]
DGLSharedGroup.h105 mutable android::Mutex m_lock; variable
/device/lge/hammerhead/camera/QCamera2/util/
DQCameraQueue.cpp47 pthread_mutex_init(&m_lock, NULL); in QCameraQueue()
68 pthread_mutex_init(&m_lock, NULL); in QCameraQueue()
88 pthread_mutex_destroy(&m_lock); in ~QCameraQueue()
102 pthread_mutex_lock(&m_lock); in init()
104 pthread_mutex_unlock(&m_lock); in init()
119 pthread_mutex_lock(&m_lock); in isEmpty()
123 pthread_mutex_unlock(&m_lock); in isEmpty()
150 pthread_mutex_lock(&m_lock); in enqueue()
159 pthread_mutex_unlock(&m_lock); in enqueue()
187 pthread_mutex_lock(&m_lock); in enqueueWithPriority()
[all …]
DQCameraQueue.h64 pthread_mutex_t m_lock; variable
/device/moto/shamu/camera/QCamera2/util/
DQCameraQueue.cpp47 pthread_mutex_init(&m_lock, NULL); in QCameraQueue()
68 pthread_mutex_init(&m_lock, NULL); in QCameraQueue()
88 pthread_mutex_destroy(&m_lock); in ~QCameraQueue()
102 pthread_mutex_lock(&m_lock); in init()
104 pthread_mutex_unlock(&m_lock); in init()
119 pthread_mutex_lock(&m_lock); in isEmpty()
123 pthread_mutex_unlock(&m_lock); in isEmpty()
150 pthread_mutex_lock(&m_lock); in enqueue()
159 pthread_mutex_unlock(&m_lock); in enqueue()
187 pthread_mutex_lock(&m_lock); in enqueueWithPriority()
[all …]
DQCameraQueue.h66 pthread_mutex_t m_lock; variable
/device/asus/flo/camera/QCamera2/util/
DQCameraQueue.cpp47 pthread_mutex_init(&m_lock, NULL); in QCameraQueue()
67 pthread_mutex_init(&m_lock, NULL); in QCameraQueue()
86 pthread_mutex_destroy(&m_lock); in ~QCameraQueue()
101 pthread_mutex_lock(&m_lock); in isEmpty()
105 pthread_mutex_unlock(&m_lock); in isEmpty()
131 pthread_mutex_lock(&m_lock); in enqueue()
134 pthread_mutex_unlock(&m_lock); in enqueue()
161 pthread_mutex_lock(&m_lock); in enqueueWithPriority()
170 pthread_mutex_unlock(&m_lock); in enqueueWithPriority()
192 pthread_mutex_lock(&m_lock); in dequeue()
[all …]
DQCameraQueue.h60 pthread_mutex_t m_lock; variable
/device/generic/goldfish/opengl/system/egl/
DeglDisplay.cpp71 pthread_mutex_init(&m_lock, NULL); in eglDisplay()
76 pthread_mutex_destroy(&m_lock); in ~eglDisplay()
81 pthread_mutex_lock(&m_lock); in initialize()
97 pthread_mutex_unlock(&m_lock); in initialize()
121 pthread_mutex_unlock(&m_lock); in initialize()
131 pthread_mutex_unlock(&m_lock); in initialize()
143 pthread_mutex_unlock(&m_lock); in initialize()
165 pthread_mutex_unlock(&m_lock); in initialize()
173 pthread_mutex_unlock(&m_lock); in initialize()
180 pthread_mutex_unlock(&m_lock); in initialize()
[all …]
DeglDisplay.h66 pthread_mutex_t m_lock;
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_queue.c41 pthread_mutex_init(&queue->m_lock, NULL); in mm_camera_queue_init()
57 pthread_mutex_destroy(&queue->m_lock); in mm_qcamera_queue_release()
69 pthread_mutex_lock(&queue->m_lock); in mm_qcamera_queue_isempty()
73 pthread_mutex_unlock(&queue->m_lock); in mm_qcamera_queue_isempty()
94 pthread_mutex_lock(&queue->m_lock); in mm_qcamera_queue_enqueue()
97 pthread_mutex_unlock(&queue->m_lock); in mm_qcamera_queue_enqueue()
113 pthread_mutex_lock(&queue->m_lock); in mm_qcamera_queue_dequeue()
125 pthread_mutex_unlock(&queue->m_lock); in mm_qcamera_queue_dequeue()
145 pthread_mutex_lock(&queue->m_lock); in mm_qcamera_queue_flush()
165 pthread_mutex_unlock(&queue->m_lock); in mm_qcamera_queue_flush()
/device/moto/shamu/camera/QCamera2/HAL/
DQCameraStream.cpp545 pthread_mutex_init(&m_lock, NULL); in start()
954 pthread_mutex_lock(&m_lock); in getBufs()
956 pthread_mutex_unlock(&m_lock); in getBufs()
1162 pthread_mutex_lock(&m_lock); in cond_signal()
1167 pthread_mutex_unlock(&m_lock); in cond_signal()
1179 pthread_mutex_lock(&m_lock); in cond_wait()
1181 pthread_cond_wait(&m_cond, &m_lock); in cond_wait()
1183 pthread_mutex_unlock(&m_lock); in cond_wait()
DQCameraStream.h187 pthread_mutex_t m_lock; variable
DQCamera2HWI.cpp1068 pthread_mutex_init(&m_lock, NULL); in QCamera2HardwareInterface()
1108 pthread_mutex_destroy(&m_lock); in ~QCamera2HardwareInterface()
3774 pthread_mutex_lock(&m_lock); in lockAPI()
3794 pthread_cond_wait(&m_cond, &m_lock); in waitAPIResult()
3832 pthread_mutex_unlock(&m_lock); in unlockAPI()
3848 pthread_mutex_lock(&m_lock); in signalAPIResult()
3865 pthread_mutex_unlock(&m_lock); in signalAPIResult()
DQCamera2HWI.h522 pthread_mutex_t m_lock; variable
/device/asus/flo/camera/QCamera2/HAL/
DQCamera2HWI.cpp945 pthread_mutex_init(&m_lock, NULL); in QCamera2HardwareInterface()
975 pthread_mutex_destroy(&m_lock); in ~QCamera2HardwareInterface()
2603 pthread_mutex_lock(&m_lock); in lockAPI()
2622 pthread_cond_wait(&m_cond, &m_lock); in waitAPIResult()
2639 pthread_mutex_unlock(&m_lock); in unlockAPI()
2654 pthread_mutex_lock(&m_lock); in signalAPIResult()
2657 pthread_mutex_unlock(&m_lock); in signalAPIResult()
DQCamera2HWI.h407 pthread_mutex_t m_lock; variable
/device/lge/hammerhead/camera/QCamera2/HAL/
DQCamera2HWI.cpp945 pthread_mutex_init(&m_lock, NULL); in QCamera2HardwareInterface()
975 pthread_mutex_destroy(&m_lock); in ~QCamera2HardwareInterface()
2603 pthread_mutex_lock(&m_lock); in lockAPI()
2622 pthread_cond_wait(&m_cond, &m_lock); in waitAPIResult()
2639 pthread_mutex_unlock(&m_lock); in unlockAPI()
2654 pthread_mutex_lock(&m_lock); in signalAPIResult()
2657 pthread_mutex_unlock(&m_lock); in signalAPIResult()
DQCamera2HWI.h407 pthread_mutex_t m_lock; variable
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h199 pthread_mutex_t m_lock; member