Home
last modified time | relevance | path

Searched refs:poll_cb (Results 1 – 4 of 4) sorted by relevance

/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c84 static int32_t mm_camera_poll_sig_async(mm_camera_poll_thread_t *poll_cb, in mm_camera_poll_sig_async() argument
94 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig_async()
96 poll_cb->status = FALSE; in mm_camera_poll_sig_async()
99 ssize_t len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_sig_async()
104 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig_async()
109 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig_async()
130 static int32_t mm_camera_poll_sig(mm_camera_poll_thread_t *poll_cb, in mm_camera_poll_sig() argument
140 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig()
142 poll_cb->status = FALSE; in mm_camera_poll_sig()
145 ssize_t len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_sig()
[all …]
/hardware/interfaces/sensors/1.0/default/
DSensors.h45 Return<void> poll(int32_t maxCount, poll_cb _hidl_cb) override;
DSensors.cpp160 Return<void> Sensors::poll(int32_t maxCount, poll_cb _hidl_cb) { in poll()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h866 mm_camera_poll_thread_t * poll_cb,
868 extern int32_t mm_camera_poll_thread_release(mm_camera_poll_thread_t *poll_cb);
870 mm_camera_poll_thread_t * poll_cb, uint8_t idx, uint32_t handler,
874 mm_camera_poll_thread_t * poll_cb, uint8_t idx, uint32_t handler,
877 mm_camera_poll_thread_t * poll_cb);