Home
last modified time | relevance | path

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

123

/hardware/qcom/camera/msm8998/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
/hardware/qcom/camera/msm8998/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()
/hardware/google/gfxstream/guest/egl/
DeglDisplay.cpp80 pthread_mutex_init(&m_lock, NULL); in eglDisplay()
88 pthread_mutex_destroy(&m_lock); in ~eglDisplay()
97 pthread_mutex_lock(&m_lock); in initialize()
107 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()
175 pthread_mutex_unlock(&m_lock); in initialize()
181 pthread_mutex_unlock(&m_lock); in initialize()
[all …]
/hardware/google/gfxstream/guest/OpenglCodecCommon/
DGLSharedGroup.cpp284 AutoLock<Lock> _lock(m_lock); in isShaderOrProgramObject()
293 AutoLock<Lock> _lock(m_lock); in getBufferData()
312 AutoLock<Lock> _lock(m_lock); in addBufferData()
319 AutoLock<Lock> _lock(m_lock); in updateBufferData()
330 AutoLock<Lock> _lock(m_lock); in setBufferUsage()
363 AutoLock<Lock> _lock(m_lock); in subUpdateBufferData()
379 AutoLock<Lock> _lock(m_lock); in deleteBufferData()
390 AutoLock<Lock> _lock(m_lock); in addProgramData()
402 AutoLock<Lock> _lock(m_lock); in initProgramData()
411 AutoLock<Lock> _lock(m_lock); in refProgramData()
[all …]
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_internal_entry.h101 std::mutex m_lock;
154 std::lock_guard<std::mutex> lck(m_lock); in init()
172 std::lock_guard<std::mutex> lck(m_lock); in init()
215 std::unique_lock<std::mutex> lck(m_lock); in complete_task_assignment()
229 std::unique_lock<std::mutex> lck(m_lock); in wait()
244 std::lock_guard<std::mutex> lck(m_lock); in term()
/hardware/google/gfxstream/host/gl/glestranslator/EGL/
DEglGlobalInfo.cpp95 android::base::AutoLock mutex(m_lock); in addDisplay()
111 android::base::AutoLock mutex(m_lock); in removeDisplay()
123 android::base::AutoLock mutex(m_lock); in getDisplayFromDisplayType()
133 android::base::AutoLock mutex(m_lock); in getDisplay()
143 android::base::AutoLock mutex(m_lock); in initClientExtFuncTable()
152 android::base::AutoLock mutex(m_lock); in markSurfaceForDestroy()
159 android::base::AutoLock mutex(m_lock); in sweepDestroySurfaces()
DEglDisplay.cpp39 android::base::AutoLock mutex(m_lock); in ~EglDisplay()
50 android::base::AutoLock mutex(m_lock); in initialize()
57 android::base::AutoLock mutex(m_lock); in isInitialize()
62 android::base::AutoLock mutex(m_lock); in terminate()
343 android::base::AutoLock mutex(m_lock); in getConfig()
356 android::base::AutoLock mutex(m_lock); in getSurface()
366 android::base::AutoLock mutex(m_lock); in getContext()
384 android::base::AutoLock mutex(m_lock); in removeSurface()
396 android::base::AutoLock mutex(m_lock); in removeContext()
408 android::base::AutoLock mutex(m_lock); in removeContext()
[all …]
DEglGlobalInfo.h135 mutable android::base::Lock m_lock; variable
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp35 auto_lock l(&m_lock); in set_timestamp_reorder_mode()
41 auto_lock l(&m_lock); in enable_debug_print()
48 pthread_mutex_destroy(&m_lock); in ~omx_time_stamp_reorder()
57 pthread_mutex_init(&m_lock, NULL); in omx_time_stamp_reorder()
150 auto_lock l(&m_lock); in insert_timestamp()
217 auto_lock l(&m_lock); in remove_time_stamp()
250 auto_lock l(&m_lock); in flush_timestamp()
256 auto_lock l(&m_lock); in get_next_timestamp()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp35 auto_lock l(&m_lock); in set_timestamp_reorder_mode()
41 auto_lock l(&m_lock); in enable_debug_print()
48 pthread_mutex_destroy(&m_lock); in ~omx_time_stamp_reorder()
57 pthread_mutex_init(&m_lock, NULL); in omx_time_stamp_reorder()
150 auto_lock l(&m_lock); in insert_timestamp()
217 auto_lock l(&m_lock); in remove_time_stamp()
250 auto_lock l(&m_lock); in flush_timestamp()
256 auto_lock l(&m_lock); in get_next_timestamp()
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp35 auto_lock l(&m_lock); in set_timestamp_reorder_mode()
41 auto_lock l(&m_lock); in enable_debug_print()
48 pthread_mutex_destroy(&m_lock); in ~omx_time_stamp_reorder()
57 pthread_mutex_init(&m_lock, NULL); in omx_time_stamp_reorder()
150 auto_lock l(&m_lock); in insert_timestamp()
217 auto_lock l(&m_lock); in remove_time_stamp()
250 auto_lock l(&m_lock); in flush_timestamp()
256 auto_lock l(&m_lock); in get_next_timestamp()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp35 auto_lock l(&m_lock); in set_timestamp_reorder_mode()
41 auto_lock l(&m_lock); in enable_debug_print()
48 pthread_mutex_destroy(&m_lock); in ~omx_time_stamp_reorder()
57 pthread_mutex_init(&m_lock, NULL); in omx_time_stamp_reorder()
150 auto_lock l(&m_lock); in insert_timestamp()
217 auto_lock l(&m_lock); in remove_time_stamp()
250 auto_lock l(&m_lock); in flush_timestamp()
256 auto_lock l(&m_lock); in get_next_timestamp()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp35 auto_lock l(&m_lock); in set_timestamp_reorder_mode()
41 auto_lock l(&m_lock); in enable_debug_print()
48 pthread_mutex_destroy(&m_lock); in ~omx_time_stamp_reorder()
57 pthread_mutex_init(&m_lock, NULL); in omx_time_stamp_reorder()
150 auto_lock l(&m_lock); in insert_timestamp()
217 auto_lock l(&m_lock); in remove_time_stamp()
250 auto_lock l(&m_lock); in flush_timestamp()
256 auto_lock l(&m_lock); in get_next_timestamp()
/hardware/google/gfxstream/host/
DFrameBuffer.cpp589 AutoLock fbLock(m_lock); in ~FrameBuffer()
789 AutoLock lock(m_lock); in setPostCallback()
926 AutoLock mutex(m_lock); in setupSubWindow()
1094 AutoLock mutex(m_lock); in removeSubWindow()
1137 AutoLock mutex(m_lock); in createColorBuffer()
1149 AutoLock mutex(m_lock); in createColorBufferWithHandle()
1212 AutoLock mutex(m_lock); in createBuffer()
1218 AutoLock mutex(m_lock); in createBufferWithHandle()
1254 AutoLock mutex(m_lock); in openColorBuffer()
1287 AutoLock mutex(m_lock); in closeColorBuffer()
[all …]
/hardware/qcom/bt/msm8996/libbt-vendor/src/
Dbt_vendor_qcom.c93 pthread_mutex_t m_lock = PTHREAD_MUTEX_INITIALIZER; variable
700 if(!pthread_mutex_lock(&m_lock)) { in op()
707 pthread_mutex_unlock(&m_lock); in op()
945 if(!pthread_mutex_lock(&m_lock)) { in op()
952 pthread_mutex_unlock(&m_lock); in op()
969 if(!pthread_mutex_lock(&m_lock)) { in op()
972 pthread_mutex_unlock(&m_lock); in op()
1156 if(!pthread_mutex_lock(&m_lock)) { in cleanup()
1158 pthread_mutex_unlock(&m_lock); in cleanup()
/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
DNamedObject.cpp40 android::base::AutoLock _lock(m_globalNameSpace->m_lock); in NamedObject()
94 android::base::AutoLock _lock(m_globalNameSpace->m_lock); in ~NamedObject()
DShareGroup.cpp386 android::base::AutoLock lock(m_lock); in createShareGroup()
416 android::base::AutoLock lock(m_lock); in getShareGroup()
432 android::base::AutoLock lock(m_lock); in attachShareGroup()
468 android::base::AutoLock lock(m_lock); in deleteShareGroup()
477 android::base::AutoLock lock(m_lock); in getGlobalContext()
/hardware/google/gfxstream/guest/OpenglSystemCommon/
DHostConnection.h155 void lock() const { m_lock.lock(); } in lock()
156 void unlock() const { m_lock.unlock(); } in unlock()
227 mutable std::mutex m_lock; variable
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h105 pthread_mutex_t m_lock; variable
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h105 pthread_mutex_t m_lock; variable
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h105 pthread_mutex_t m_lock; variable
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h105 pthread_mutex_t m_lock; variable
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h104 pthread_mutex_t m_lock; variable
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraStream.cpp418 pthread_mutex_init(&m_lock, NULL); in QCameraStream()
464 pthread_mutex_destroy(&m_lock); in ~QCameraStream()
1503 pthread_mutex_lock(&m_lock); in getBufs()
1505 pthread_mutex_unlock(&m_lock); in getBufs()
1716 pthread_mutex_lock(&m_lock); in allocateBuffers()
1718 pthread_mutex_unlock(&m_lock); in allocateBuffers()
2176 pthread_mutex_lock(&m_lock); in cond_signal()
2184 pthread_mutex_unlock(&m_lock); in cond_signal()
2196 pthread_mutex_lock(&m_lock); in cond_wait()
2198 pthread_cond_wait(&m_cond, &m_lock); in cond_wait()
[all …]

123