Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DSmartPtr.h29 m_lock = new mutex_t;
30 mutex_init(m_lock);
32 else m_lock = NULL;
43 m_lock = new mutex_t;
44 mutex_init(m_lock);
46 else m_lock = NULL;
55 m_lock = new mutex_t;
56 mutex_init(m_lock);
58 else m_lock = NULL;
60 if (rhs.m_lock) mutex_lock(rhs.m_lock);
[all …]
DGLSharedGroup.cpp251 android::AutoMutex _lock(m_lock); in isShaderOrProgramObject()
260 android::AutoMutex _lock(m_lock); in getBufferData()
271 android::AutoMutex _lock(m_lock); in addBufferData()
278 android::AutoMutex _lock(m_lock); in updateBufferData()
289 android::AutoMutex _lock(m_lock); in setBufferUsage()
322 android::AutoMutex _lock(m_lock); in subUpdateBufferData()
338 android::AutoMutex _lock(m_lock); in deleteBufferData()
349 android::AutoMutex _lock(m_lock); in addProgramData()
361 android::AutoMutex _lock(m_lock); in initProgramData()
371 android::AutoMutex _lock(m_lock); in isProgramInitialized()
[all …]
DGLSharedGroup.h137 mutable android::Mutex m_lock; variable
/device/google/marlin/camera/QCamera2/util/
DQCameraQueue.cpp54 pthread_mutex_init(&m_lock, NULL); in QCameraQueue()
75 pthread_mutex_init(&m_lock, NULL); in QCameraQueue()
95 pthread_mutex_destroy(&m_lock); in ~QCameraQueue()
109 pthread_mutex_lock(&m_lock); in init()
111 pthread_mutex_unlock(&m_lock); in init()
126 pthread_mutex_lock(&m_lock); in isEmpty()
130 pthread_mutex_unlock(&m_lock); in isEmpty()
157 pthread_mutex_lock(&m_lock); in enqueue()
166 pthread_mutex_unlock(&m_lock); in enqueue()
194 pthread_mutex_lock(&m_lock); in enqueueWithPriority()
[all …]
DQCameraQueue.h72 pthread_mutex_t m_lock; variable
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_queue.c42 pthread_mutex_init(&queue->m_lock, NULL); in mm_camera_queue_init()
58 pthread_mutex_destroy(&queue->m_lock); in mm_qcamera_queue_release()
70 pthread_mutex_lock(&queue->m_lock); in mm_qcamera_queue_isempty()
74 pthread_mutex_unlock(&queue->m_lock); in mm_qcamera_queue_isempty()
95 pthread_mutex_lock(&queue->m_lock); in mm_qcamera_queue_enqueue()
98 pthread_mutex_unlock(&queue->m_lock); in mm_qcamera_queue_enqueue()
114 pthread_mutex_lock(&queue->m_lock); in mm_qcamera_queue_dequeue()
126 pthread_mutex_unlock(&queue->m_lock); in mm_qcamera_queue_dequeue()
146 pthread_mutex_lock(&queue->m_lock); in mm_qcamera_queue_flush()
166 pthread_mutex_unlock(&queue->m_lock); in mm_qcamera_queue_flush()
/device/generic/goldfish-opengl/system/egl/
DeglDisplay.cpp78 pthread_mutex_init(&m_lock, NULL); in eglDisplay()
86 pthread_mutex_destroy(&m_lock); in ~eglDisplay()
95 pthread_mutex_lock(&m_lock); in initialize()
105 pthread_mutex_unlock(&m_lock); in initialize()
123 pthread_mutex_unlock(&m_lock); in initialize()
134 pthread_mutex_unlock(&m_lock); in initialize()
146 pthread_mutex_unlock(&m_lock); in initialize()
168 pthread_mutex_unlock(&m_lock); in initialize()
176 pthread_mutex_unlock(&m_lock); in initialize()
182 pthread_mutex_unlock(&m_lock); in initialize()
[all …]
DeglDisplay.h83 pthread_mutex_t m_lock;
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DHostConnection.h142 void lock() const { m_lock.lock(); } in lock()
143 void unlock() const { m_lock.unlock(); } in unlock()
183 mutable std::mutex m_lock; variable
185 mutable android::Mutex m_lock; variable
/device/google/marlin/camera/QCamera2/HAL/
DQCameraStream.cpp411 pthread_mutex_init(&m_lock, NULL); in QCameraStream()
457 pthread_mutex_destroy(&m_lock); in ~QCameraStream()
1422 pthread_mutex_lock(&m_lock); in getBufs()
1424 pthread_mutex_unlock(&m_lock); in getBufs()
1636 pthread_mutex_lock(&m_lock); in allocateBuffers()
1638 pthread_mutex_unlock(&m_lock); in allocateBuffers()
2088 pthread_mutex_lock(&m_lock); in cond_signal()
2096 pthread_mutex_unlock(&m_lock); in cond_signal()
2108 pthread_mutex_lock(&m_lock); in cond_wait()
2110 pthread_cond_wait(&m_cond, &m_lock); in cond_wait()
[all …]
DQCameraStream.h262 pthread_mutex_t m_lock; variable
DQCamera2HWI.h603 pthread_mutex_t m_lock; variable
DQCamera2HWI.cpp1693 pthread_mutex_init(&m_lock, NULL); in QCamera2HardwareInterface()
1771 pthread_mutex_destroy(&m_lock); in ~QCamera2HardwareInterface()
6569 pthread_mutex_lock(&m_lock); in lockAPI()
6589 pthread_cond_wait(&m_cond, &m_lock); in waitAPIResult()
6627 pthread_mutex_unlock(&m_lock); in unlockAPI()
6643 pthread_mutex_lock(&m_lock); in signalAPIResult()
6659 pthread_mutex_unlock(&m_lock); in signalAPIResult()
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h197 pthread_mutex_t m_lock; member