/device/asus/flo/camera/QCamera2/stack/common/ |
D | cam_semaphore.h | 44 pthread_mutex_t mutex; member 50 pthread_mutex_init(&(s->mutex), NULL); in cam_sem_init() 57 pthread_mutex_lock(&(s->mutex)); in cam_sem_post() 60 pthread_mutex_unlock(&(s->mutex)); in cam_sem_post() 66 pthread_mutex_lock(&(s->mutex)); in cam_sem_wait() 68 rc = pthread_cond_wait(&(s->cond), &(s->mutex)); in cam_sem_wait() 70 pthread_mutex_unlock(&(s->mutex)); in cam_sem_wait() 76 pthread_mutex_destroy(&(s->mutex)); in cam_sem_destroy()
|
/device/lge/hammerhead/camera/QCamera2/stack/common/ |
D | cam_semaphore.h | 44 pthread_mutex_t mutex; member 50 pthread_mutex_init(&(s->mutex), NULL); in cam_sem_init() 57 pthread_mutex_lock(&(s->mutex)); in cam_sem_post() 60 pthread_mutex_unlock(&(s->mutex)); in cam_sem_post() 66 pthread_mutex_lock(&(s->mutex)); in cam_sem_wait() 68 rc = pthread_cond_wait(&(s->cond), &(s->mutex)); in cam_sem_wait() 70 pthread_mutex_unlock(&(s->mutex)); in cam_sem_wait() 76 pthread_mutex_destroy(&(s->mutex)); in cam_sem_destroy()
|
/device/moto/shamu/camera/QCamera2/stack/common/ |
D | cam_semaphore.h | 44 pthread_mutex_t mutex; member 50 pthread_mutex_init(&(s->mutex), NULL); in cam_sem_init() 57 pthread_mutex_lock(&(s->mutex)); in cam_sem_post() 60 pthread_mutex_unlock(&(s->mutex)); in cam_sem_post() 66 pthread_mutex_lock(&(s->mutex)); in cam_sem_wait() 68 rc = pthread_cond_wait(&(s->cond), &(s->mutex)); in cam_sem_wait() 70 pthread_mutex_unlock(&(s->mutex)); in cam_sem_wait() 76 pthread_mutex_destroy(&(s->mutex)); in cam_sem_destroy()
|
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_thread.c | 90 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig_async() 99 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig_async() 103 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig_async() 135 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig() 144 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig() 151 pthread_cond_wait(&poll_cb->cond_v, &poll_cb->mutex); in mm_camera_poll_sig() 154 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig() 171 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig_done() 175 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig_done() 485 pthread_mutex_init(&poll_cb->mutex, NULL); in mm_camera_poll_thread_launch() [all …]
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_thread.c | 93 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig_async() 102 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig_async() 106 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig_async() 138 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig() 147 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig() 154 pthread_cond_wait(&poll_cb->cond_v, &poll_cb->mutex); in mm_camera_poll_sig() 157 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig() 174 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig_done() 178 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig_done() 512 pthread_mutex_init(&poll_cb->mutex, NULL); in mm_camera_poll_thread_launch() [all …]
|
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_thread.c | 93 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig_async() 102 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig_async() 106 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig_async() 138 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig() 147 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig() 154 pthread_cond_wait(&poll_cb->cond_v, &poll_cb->mutex); in mm_camera_poll_sig() 157 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig() 174 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig_done() 178 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig_done() 514 pthread_mutex_init(&poll_cb->mutex, NULL); in mm_camera_poll_thread_launch() [all …]
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
D | mm_camera_thread.c | 74 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig() 87 pthread_cond_wait(&poll_cb->cond_v, &poll_cb->mutex); in mm_camera_poll_sig() 90 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig() 97 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig_done() 101 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig_done() 319 pthread_mutex_init(&poll_cb->mutex, NULL); in mm_camera_poll_thread_launch() 323 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_thread_launch() 327 pthread_cond_wait(&poll_cb->cond_v, &poll_cb->mutex); in mm_camera_poll_thread_launch() 329 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_thread_launch() 357 pthread_mutex_destroy(&poll_cb->mutex); in mm_camera_poll_thread_release()
|
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/ |
D | QCameraMjpegDecode.cpp | 107 pthread_mutex_t mutex; member 213 os_mutex_init(&thread_ctrl_blks[i].mutex); in mjpegDecode() 449 os_mutex_lock(&p_thread_arg->mutex); in decoder_test() 452 … rc = mjpegd_cond_timedwait(&p_thread_arg->cond, &p_thread_arg->mutex, p_args->abort_time); in decoder_test() 456 os_mutex_unlock(&p_thread_arg->mutex); in decoder_test() 467 os_mutex_unlock(&p_thread_arg->mutex); in decoder_test() 470 os_mutex_lock(&p_thread_arg->mutex); in decoder_test() 473 os_cond_wait(&p_thread_arg->cond, &p_thread_arg->mutex); in decoder_test() 475 os_mutex_unlock(&p_thread_arg->mutex); in decoder_test() 566 os_mutex_lock(&p_thread_arg->mutex); in decoder_event_handler() [all …]
|
/device/lge/hammerhead/camera/hdr/include/ |
D | morpho_easy_hdr.h | 121 int (* mutex_destroy)(void *p, void *mutex); 122 int (* mutex_lock )(void *p, void *mutex); 123 int (* mutex_trylock)(void *p, void *mutex); 124 int (* mutex_unlock )(void *p, void *mutex);
|
/device/asus/flo/camera/hdr/include/ |
D | morpho_easy_hdr.h | 121 int (* mutex_destroy)(void *p, void *mutex); 122 int (* mutex_lock )(void *p, void *mutex); 123 int (* mutex_trylock)(void *p, void *mutex); 124 int (* mutex_unlock )(void *p, void *mutex);
|
/device/generic/goldfish/fingerprint/ |
D | fingerprint.c | 42 pthread_mutex_t mutex; member 72 pthread_mutex_destroy(&dev->listener.mutex); in destroyListenerThread() 98 pthread_mutex_lock(&dev->listener.mutex); in listener_send_notice() 129 pthread_mutex_unlock(&dev->listener.mutex); in listener_send_notice() 224 pthread_mutex_init(&dev->listener.mutex, NULL); in createListenerThread() 240 pthread_mutex_lock(&dev->listener.mutex); in setListenerState() 242 pthread_mutex_unlock(&dev->listener.mutex); in setListenerState()
|
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 137 pthread_mutex_t mutex; member
|
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 137 pthread_mutex_t mutex; member
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 157 pthread_mutex_t mutex; member
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 161 pthread_mutex_t mutex; member
|