/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_queue.c | 36 pthread_mutex_init(&queue->lock, NULL); in mm_jpeg_queue_init() 54 pthread_mutex_lock(&queue->lock); in mm_jpeg_queue_enq() 57 pthread_mutex_unlock(&queue->lock); in mm_jpeg_queue_enq() 80 pthread_mutex_lock(&queue->lock); in mm_jpeg_queue_enq_head() 83 pthread_mutex_unlock(&queue->lock); in mm_jpeg_queue_enq_head() 95 pthread_mutex_lock(&queue->lock); in mm_jpeg_queue_deq() 103 pthread_mutex_unlock(&queue->lock); in mm_jpeg_queue_deq() 117 pthread_mutex_lock(&queue->lock); in mm_jpeg_queue_get_size() 119 pthread_mutex_unlock(&queue->lock); in mm_jpeg_queue_get_size() 128 pthread_mutex_destroy(&queue->lock); in mm_jpeg_queue_deinit() [all …]
|
D | mm_jpegdec.c | 206 pthread_mutex_init(&p_session->lock, NULL); in mm_jpegdec_session_create() 274 pthread_mutex_destroy(&p_session->lock); in mm_jpegdec_session_destroy() 436 pthread_mutex_lock(&p_session->lock); in mm_jpeg_session_port_enable() 438 pthread_mutex_unlock(&p_session->lock); in mm_jpeg_session_port_enable() 450 pthread_mutex_lock(&p_session->lock); in mm_jpeg_session_port_enable() 453 pthread_cond_wait(&p_session->cond, &p_session->lock); in mm_jpeg_session_port_enable() 458 pthread_mutex_unlock(&p_session->lock); in mm_jpeg_session_port_enable() 476 pthread_mutex_lock(&p_session->lock); in mm_jpeg_session_port_disable() 478 pthread_mutex_unlock(&p_session->lock); in mm_jpeg_session_port_disable() 489 pthread_mutex_lock(&p_session->lock); in mm_jpeg_session_port_disable() [all …]
|
D | mm_jpeg.c | 213 pthread_mutex_lock(&p_session->lock); in mm_jpeg_session_change_state() 218 pthread_mutex_unlock(&p_session->lock); in mm_jpeg_session_change_state() 223 pthread_mutex_unlock(&p_session->lock); in mm_jpeg_session_change_state() 228 pthread_mutex_unlock(&p_session->lock); in mm_jpeg_session_change_state() 231 pthread_mutex_lock(&p_session->lock); in mm_jpeg_session_change_state() 234 pthread_mutex_unlock(&p_session->lock); in mm_jpeg_session_change_state() 241 pthread_mutex_unlock(&p_session->lock); in mm_jpeg_session_change_state() 248 pthread_mutex_unlock(&p_session->lock); in mm_jpeg_session_change_state() 255 pthread_cond_wait(&p_session->cond, &p_session->lock); in mm_jpeg_session_change_state() 258 pthread_mutex_unlock(&p_session->lock); in mm_jpeg_session_change_state() [all …]
|
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_queue.c | 36 pthread_mutex_init(&queue->lock, NULL); in mm_jpeg_queue_init() 54 pthread_mutex_lock(&queue->lock); in mm_jpeg_queue_enq() 57 pthread_mutex_unlock(&queue->lock); in mm_jpeg_queue_enq() 70 pthread_mutex_lock(&queue->lock); in mm_jpeg_queue_deq() 78 pthread_mutex_unlock(&queue->lock); in mm_jpeg_queue_deq() 92 pthread_mutex_lock(&queue->lock); in mm_jpeg_queue_get_size() 94 pthread_mutex_unlock(&queue->lock); in mm_jpeg_queue_get_size() 103 pthread_mutex_destroy(&queue->lock); in mm_jpeg_queue_deinit() 114 pthread_mutex_lock(&queue->lock); in mm_jpeg_queue_flush() 132 pthread_mutex_unlock(&queue->lock); in mm_jpeg_queue_flush() [all …]
|
D | mm_jpeg.c | 137 pthread_mutex_init(&q->lock, NULL); in cirq_reset() 183 pthread_mutex_lock(&q->lock); \ 191 pthread_mutex_unlock(&q->lock); \ 210 pthread_mutex_lock(&q->lock); \ 212 pthread_mutex_unlock(&q->lock); \ 218 pthread_mutex_unlock(&q->lock); \ 383 pthread_mutex_lock(&p_session->lock); in mm_jpeg_session_change_state() 388 pthread_mutex_unlock(&p_session->lock); in mm_jpeg_session_change_state() 393 pthread_mutex_unlock(&p_session->lock); in mm_jpeg_session_change_state() 402 pthread_mutex_unlock(&p_session->lock); in mm_jpeg_session_change_state() [all …]
|
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_queue.c | 36 pthread_mutex_init(&queue->lock, NULL); in mm_jpeg_queue_init() 54 pthread_mutex_lock(&queue->lock); in mm_jpeg_queue_enq() 57 pthread_mutex_unlock(&queue->lock); in mm_jpeg_queue_enq() 70 pthread_mutex_lock(&queue->lock); in mm_jpeg_queue_deq() 78 pthread_mutex_unlock(&queue->lock); in mm_jpeg_queue_deq() 92 pthread_mutex_lock(&queue->lock); in mm_jpeg_queue_get_size() 94 pthread_mutex_unlock(&queue->lock); in mm_jpeg_queue_get_size() 103 pthread_mutex_destroy(&queue->lock); in mm_jpeg_queue_deinit() 114 pthread_mutex_lock(&queue->lock); in mm_jpeg_queue_flush() 132 pthread_mutex_unlock(&queue->lock); in mm_jpeg_queue_flush() [all …]
|
D | mm_jpeg.c | 156 pthread_mutex_init(&q->lock, NULL); in cirq_reset() 202 pthread_mutex_lock(&q->lock); \ 210 pthread_mutex_unlock(&q->lock); \ 229 pthread_mutex_lock(&q->lock); \ 231 pthread_mutex_unlock(&q->lock); \ 237 pthread_mutex_unlock(&q->lock); \ 402 pthread_mutex_lock(&p_session->lock); in mm_jpeg_session_change_state() 407 pthread_mutex_unlock(&p_session->lock); in mm_jpeg_session_change_state() 412 pthread_mutex_unlock(&p_session->lock); in mm_jpeg_session_change_state() 421 pthread_mutex_unlock(&p_session->lock); in mm_jpeg_session_change_state() [all …]
|
/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_queue.c | 36 pthread_mutex_init(&queue->lock, NULL); in mm_jpeg_queue_init() 54 pthread_mutex_lock(&queue->lock); in mm_jpeg_queue_enq() 57 pthread_mutex_unlock(&queue->lock); in mm_jpeg_queue_enq() 71 pthread_mutex_lock(&queue->lock); in mm_jpeg_queue_peek() 77 pthread_mutex_unlock(&queue->lock); in mm_jpeg_queue_peek() 92 pthread_mutex_lock(&queue->lock); in mm_jpeg_queue_deq() 100 pthread_mutex_unlock(&queue->lock); in mm_jpeg_queue_deq() 114 pthread_mutex_lock(&queue->lock); in mm_jpeg_queue_get_size() 116 pthread_mutex_unlock(&queue->lock); in mm_jpeg_queue_get_size() 125 pthread_mutex_destroy(&queue->lock); in mm_jpeg_queue_deinit() [all …]
|
/device/lge/hammerhead/camera/QCamera2/stack/common/ |
D | cam_queue.h | 42 pthread_mutex_t lock; member 47 pthread_mutex_init(&queue->lock, NULL); in cam_queue_init() 64 pthread_mutex_lock(&queue->lock); in cam_queue_enq() 67 pthread_mutex_unlock(&queue->lock); in cam_queue_enq() 79 pthread_mutex_lock(&queue->lock); in cam_queue_deq() 87 pthread_mutex_unlock(&queue->lock); in cam_queue_deq() 103 pthread_mutex_lock(&queue->lock); in cam_queue_flush() 123 pthread_mutex_unlock(&queue->lock); in cam_queue_flush() 130 pthread_mutex_destroy(&queue->lock); in cam_queue_deinit()
|
/device/asus/flo/camera/QCamera2/stack/common/ |
D | cam_queue.h | 42 pthread_mutex_t lock; member 47 pthread_mutex_init(&queue->lock, NULL); in cam_queue_init() 64 pthread_mutex_lock(&queue->lock); in cam_queue_enq() 67 pthread_mutex_unlock(&queue->lock); in cam_queue_enq() 79 pthread_mutex_lock(&queue->lock); in cam_queue_deq() 87 pthread_mutex_unlock(&queue->lock); in cam_queue_deq() 103 pthread_mutex_lock(&queue->lock); in cam_queue_flush() 123 pthread_mutex_unlock(&queue->lock); in cam_queue_flush() 130 pthread_mutex_destroy(&queue->lock); in cam_queue_deinit()
|
/device/moto/shamu/camera/QCamera2/stack/common/ |
D | cam_queue.h | 42 pthread_mutex_t lock; member 47 pthread_mutex_init(&queue->lock, NULL); in cam_queue_init() 64 pthread_mutex_lock(&queue->lock); in cam_queue_enq() 67 pthread_mutex_unlock(&queue->lock); in cam_queue_enq() 79 pthread_mutex_lock(&queue->lock); in cam_queue_deq() 87 pthread_mutex_unlock(&queue->lock); in cam_queue_deq() 103 pthread_mutex_lock(&queue->lock); in cam_queue_flush() 123 pthread_mutex_unlock(&queue->lock); in cam_queue_flush() 130 pthread_mutex_destroy(&queue->lock); in cam_queue_deinit()
|
/device/htc/flounder/audio/soundtrigger/ |
D | sound_trigger_hw.c | 69 pthread_mutex_t lock; member 95 static struct flounder_sound_trigger_device g_stdev = { .lock = PTHREAD_MUTEX_INITIALIZER }; 263 pthread_mutex_lock(&stdev->lock); in callback_thread_loop() 286 pthread_mutex_unlock(&stdev->lock); in callback_thread_loop() 290 pthread_mutex_lock(&stdev->lock); in callback_thread_loop() 299 pthread_mutex_unlock(&stdev->lock); in callback_thread_loop() 331 pthread_mutex_unlock(&stdev->lock); in callback_thread_loop() 344 pthread_mutex_unlock(&stdev->lock); in callback_thread_loop() 373 pthread_mutex_lock(&stdev->lock); in stdev_load_sound_model() 396 pthread_mutex_unlock(&stdev->lock); in stdev_load_sound_model() [all …]
|
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg_inlines.h | 62 pthread_mutex_lock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_get_session() 64 pthread_mutex_unlock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_get_session() 87 pthread_mutex_lock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_get_new_session_idx() 92 pthread_mutex_unlock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_get_new_session_idx() 95 pthread_mutex_unlock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_get_new_session_idx() 119 pthread_mutex_lock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_remove_session_idx() 121 pthread_mutex_unlock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_remove_session_idx()
|
D | mm_jpeg.h | 138 pthread_mutex_t lock; member 158 pthread_mutex_init(&q->lock, NULL); in cirq_reset() 204 pthread_mutex_lock(&q->lock); \ 212 pthread_mutex_unlock(&q->lock); \ 231 pthread_mutex_lock(&q->lock); \ 233 pthread_mutex_unlock(&q->lock); \ 239 pthread_mutex_unlock(&q->lock); \ 252 pthread_mutex_t lock; member 293 pthread_mutex_t lock; member 357 pthread_mutex_t lock; /* job lock */ member
|
/device/htc/flounder/power/ |
D | power_flounder.c | 51 pthread_mutex_t lock; member 138 pthread_mutex_lock(&flounder->lock); in boostpulse_open() 168 pthread_mutex_unlock(&flounder->lock); in boostpulse_open() 178 pthread_mutex_lock(&flounder->lock); in set_feature() 180 pthread_mutex_unlock(&flounder->lock); in set_feature() 213 pthread_mutex_lock(&flounder->lock); in flounder_power_hint() 220 pthread_mutex_unlock(&flounder->lock); in flounder_power_hint() 250 lock: PTHREAD_MUTEX_INITIALIZER,
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
D | mm_camera_data.c | 52 pthread_mutex_init(&queue->lock, NULL); in mm_camera_queue_init() 70 pthread_mutex_lock(&queue->lock); in mm_camera_queue_enq() 73 pthread_mutex_unlock(&queue->lock); in mm_camera_queue_enq() 86 pthread_mutex_lock(&queue->lock); in mm_camera_queue_deq() 94 pthread_mutex_unlock(&queue->lock); in mm_camera_queue_deq() 107 pthread_mutex_destroy(&queue->lock); in mm_camera_queue_deinit() 118 pthread_mutex_lock(&queue->lock); in mm_camera_queue_flush() 138 pthread_mutex_unlock(&queue->lock); in mm_camera_queue_flush()
|
/device/generic/goldfish/audio/ |
D | audio_hw.c | 45 pthread_mutex_t lock; member 189 pthread_mutex_lock(&adev->lock); in out_write() 192 pthread_mutex_unlock(&adev->lock); in out_write() 341 pthread_mutex_lock(&adev->lock); in in_read() 347 pthread_mutex_unlock(&adev->lock); in in_read() 381 pthread_mutex_lock(&adev->lock); in adev_open_output_stream() 425 pthread_mutex_unlock(&adev->lock); in adev_open_output_stream() 435 pthread_mutex_lock(&adev->lock); in adev_close_output_stream() 440 pthread_mutex_unlock(&adev->lock); in adev_close_output_stream() 500 pthread_mutex_lock(&adev->lock); in adev_set_mic_mute() [all …]
|
/device/moto/shamu/camera/QCamera2/HAL3/ |
D | QCamera3Mem.cpp | 101 Mutex::Autolock lock(mLock); in cacheOpsInternal() local 150 Mutex::Autolock lock(mLock); in getFd() local 175 Mutex::Autolock lock(mLock); in getSize() local 199 Mutex::Autolock lock(mLock); in getCnt() local 221 Mutex::Autolock lock(mLock); in getBufDef() local 667 Mutex::Autolock lock(mLock); in registerBuffer() local 774 Mutex::Autolock lock(mLock); in unregisterBuffer() local 809 Mutex::Autolock lock(mLock); in unregisterBuffers() local 845 Mutex::Autolock lock(mLock); in markFrameNumber() local 877 Mutex::Autolock lock(mLock); in getFrameNumber() local [all …]
|
/device/generic/goldfish/sensors/ |
D | sensors_qemu.c | 135 pthread_mutex_t lock; member 257 pthread_mutex_unlock(&dev->lock); in sensor_device_poll_event_locked() 263 pthread_mutex_lock(&dev->lock); in sensor_device_poll_event_locked() 385 pthread_mutex_destroy(&dev->lock); in sensor_device_close() 411 pthread_mutex_lock(&dev->lock); in sensor_device_poll() 444 pthread_mutex_unlock(&dev->lock); in sensor_device_poll() 468 pthread_mutex_lock(&dev->lock); in sensor_device_activate() 492 pthread_mutex_unlock(&dev->lock); in sensor_device_activate() 508 pthread_mutex_lock(&dev->lock); in sensor_device_set_delay() 510 pthread_mutex_unlock(&dev->lock); in sensor_device_set_delay() [all …]
|
/device/generic/goldfish/camera/fake-pipeline2/ |
D | JpegCompressor.cpp | 38 Mutex::Autolock lock(mMutex); in ~JpegCompressor() local 46 Mutex::Autolock lock(mMutex); in start() local 74 Mutex::Autolock lock(mMutex); in compressSynchronous() local 206 Mutex::Autolock lock(mBusyMutex); in isStreamInUse() local 217 Mutex::Autolock lock(mBusyMutex); in waitForDone() local 240 Mutex::Autolock lock(mBusyMutex); in cleanUp() local
|
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/ |
D | QualcommUsbCamera.cpp | 268 Mutex::Autolock autoLock(camHal->lock); in usbcam_set_preview_window() 306 Mutex::Autolock autoLock(camHal->lock); in usbcam_set_CallBacks() 331 Mutex::Autolock autoLock(camHal->lock); in usbcam_enable_msg_type() 351 Mutex::Autolock autoLock(camHal->lock); in usbcam_disable_msg_type() 370 Mutex::Autolock autoLock(camHal->lock); in usbcam_msg_type_enabled() 384 Mutex::Autolock autoLock(camHal->lock); in usbcam_start_preview() 436 Mutex::Autolock autoLock(camHal->lock); in usbcam_stop_preview() 458 Mutex::Autolock autoLock(camHal->lock); in usbcam_preview_enabled() 540 Mutex::Autolock autoLock(camHal->lock); in usbcam_take_picture() 602 Mutex::Autolock autoLock(camHal->lock); in usbcam_set_parameters() [all …]
|
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg.h | 55 pthread_mutex_t lock; member 72 pthread_mutex_t lock; member 104 pthread_mutex_t lock; member 142 pthread_mutex_t lock; /* job lock */ member
|
/device/htc/flounder/audio/visualizer/ |
D | nv_offload_visualizer.c | 151 pthread_mutex_t lock; variable 188 pthread_mutex_init(&lock, NULL); in init_once() 294 pthread_mutex_lock(&lock); in effects_capture_thread_loop() 322 pthread_cond_wait(&cond, &lock); in effects_capture_thread_loop() 327 pthread_mutex_unlock(&lock); in effects_capture_thread_loop() 329 pthread_mutex_lock(&lock); in effects_capture_thread_loop() 357 pthread_mutex_unlock(&lock); in effects_capture_thread_loop() 379 pthread_mutex_lock(&lock); in visualizer_hal_start_output() 409 pthread_mutex_unlock(&lock); in visualizer_hal_start_output() 427 pthread_mutex_lock(&lock); in visualizer_hal_stop_output() [all …]
|
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg.h | 56 pthread_mutex_t lock; member 73 pthread_mutex_t lock; member 105 pthread_mutex_t lock; member 144 pthread_mutex_t lock; /* job lock */ member
|
/device/generic/goldfish/fingerprint/ |
D | fingerprint.c | 62 pthread_mutex_t lock; member 131 pthread_mutex_lock(&dev->lock); in listener_send_notice() 141 pthread_mutex_unlock(&dev->lock); in listener_send_notice() 262 pthread_mutex_lock(&dev->lock); in fingerprint_authenticate() 264 pthread_mutex_unlock(&dev->lock); in fingerprint_authenticate() 326 pthread_mutex_lock(&dev->lock); in set_notify_callback() 328 pthread_mutex_unlock(&dev->lock); in set_notify_callback() 362 pthread_mutex_init(&dev->lock, NULL); in fingerprint_open()
|