/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
D | mm_camera_thread.c | 79 len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_sig() 115 read_len = read(poll_cb->pfds[0], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_proc_pipe() 117 __func__, poll_cb->pfds[0], (int)read_len, (int)sizeof(cmd_evt), cmd_evt.cmd); in mm_camera_poll_proc_pipe() 122 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->pfds[0]; in mm_camera_poll_proc_pipe() 221 poll_cb->poll_fds[poll_cb->num_fds++].fd = poll_cb->pfds[0]; in mm_camera_poll_thread() 305 poll_cb->pfds[0] = 0; in mm_camera_poll_thread_launch() 306 poll_cb->pfds[1] = 0; in mm_camera_poll_thread_launch() 307 rc = pipe(poll_cb->pfds); in mm_camera_poll_thread_launch() 317 poll_cb->pfds[0], poll_cb->pfds[1],poll_cb->timeoutms); in mm_camera_poll_thread_launch() 350 if(poll_cb->pfds[0]) { in mm_camera_poll_thread_release() [all …]
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_thread.c | 98 len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_sig_async() 143 len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_sig() 213 read_len = read(poll_cb->pfds[0], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_proc_pipe() 215 __func__, poll_cb->pfds[0], (int)read_len, (int)sizeof(cmd_evt), cmd_evt.cmd); in mm_camera_poll_proc_pipe() 221 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->pfds[0]; in mm_camera_poll_proc_pipe() 348 poll_cb->poll_fds[poll_cb->num_fds++].fd = poll_cb->pfds[0]; in mm_camera_poll_thread() 498 poll_cb->pfds[0] = -1; in mm_camera_poll_thread_launch() 499 poll_cb->pfds[1] = -1; in mm_camera_poll_thread_launch() 500 rc = pipe(poll_cb->pfds); in mm_camera_poll_thread_launch() 510 poll_cb->pfds[0], poll_cb->pfds[1],poll_cb->timeoutms); in mm_camera_poll_thread_launch() [all …]
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_thread.c | 97 ssize_t len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_sig_async() 143 ssize_t len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_sig() 215 read_len = read(poll_cb->pfds[0], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_proc_pipe() 217 __func__, poll_cb->pfds[0], (int)read_len, (int)sizeof(cmd_evt), cmd_evt.cmd); in mm_camera_poll_proc_pipe() 223 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->pfds[0]; in mm_camera_poll_proc_pipe() 350 poll_cb->poll_fds[poll_cb->num_fds++].fd = poll_cb->pfds[0]; in mm_camera_poll_thread() 512 poll_cb->pfds[0] = -1; in mm_camera_poll_thread_launch() 513 poll_cb->pfds[1] = -1; in mm_camera_poll_thread_launch() 514 rc = pipe(poll_cb->pfds); in mm_camera_poll_thread_launch() 524 poll_cb->pfds[0], poll_cb->pfds[1],poll_cb->timeoutms); in mm_camera_poll_thread_launch() [all …]
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_thread.c | 97 ssize_t len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_sig_async() 143 ssize_t len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_sig() 215 read_len = read(poll_cb->pfds[0], &cmd_evt, sizeof(cmd_evt)); in mm_camera_poll_proc_pipe() 217 __func__, poll_cb->pfds[0], (int)read_len, (int)sizeof(cmd_evt), cmd_evt.cmd); in mm_camera_poll_proc_pipe() 223 poll_cb->poll_fds[poll_cb->num_fds].fd = poll_cb->pfds[0]; in mm_camera_poll_proc_pipe() 350 poll_cb->poll_fds[poll_cb->num_fds++].fd = poll_cb->pfds[0]; in mm_camera_poll_thread() 512 poll_cb->pfds[0] = -1; in mm_camera_poll_thread_launch() 513 poll_cb->pfds[1] = -1; in mm_camera_poll_thread_launch() 514 rc = pipe(poll_cb->pfds); in mm_camera_poll_thread_launch() 524 poll_cb->pfds[0], poll_cb->pfds[1],poll_cb->timeoutms); in mm_camera_poll_thread_launch() [all …]
|
/device/google/contexthub/util/nanotool/ |
D | androidcontexthub.cpp | 365 int AndroidContextHub::ResetPollFds(struct pollfd *pfds, size_t count) { in ResetPollFds() argument 366 memset(pfds, 0, sizeof(struct pollfd) * count); in ResetPollFds() 367 pfds[0].fd = sensor_fd_; in ResetPollFds() 368 pfds[0].events = POLLIN; in ResetPollFds() 372 pfds[1].fd = comms_fd_; in ResetPollFds() 373 pfds[1].events = POLLIN; in ResetPollFds()
|
D | androidcontexthub.h | 63 int ResetPollFds(struct pollfd *pfds, size_t count);
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 150 int32_t pfds[2]; member
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 158 int32_t pfds[2]; member
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 154 int32_t pfds[2]; member
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 158 int32_t pfds[2]; member
|