/device/generic/goldfish/sensors/ |
D | sensors_qemu.c | 250 sensors_event_t* events = dev->sensors; in sensor_device_poll_event_locked() local 288 events[ID_ACCELERATION].acceleration.x = params[0]; in sensor_device_poll_event_locked() 289 events[ID_ACCELERATION].acceleration.y = params[1]; in sensor_device_poll_event_locked() 290 events[ID_ACCELERATION].acceleration.z = params[2]; in sensor_device_poll_event_locked() 291 events[ID_ACCELERATION].type = SENSOR_TYPE_ACCELEROMETER; in sensor_device_poll_event_locked() 300 events[ID_ORIENTATION].orientation.azimuth = params[0]; in sensor_device_poll_event_locked() 301 events[ID_ORIENTATION].orientation.pitch = params[1]; in sensor_device_poll_event_locked() 302 events[ID_ORIENTATION].orientation.roll = params[2]; in sensor_device_poll_event_locked() 303 events[ID_ORIENTATION].orientation.status = in sensor_device_poll_event_locked() 305 events[ID_ACCELERATION].type = SENSOR_TYPE_ORIENTATION; in sensor_device_poll_event_locked() [all …]
|
/device/generic/goldfish/qemud/ |
D | qemud.c | 305 typedef void (*EventFunc)( void* user, int events ); 326 int events; /* events that occured */ member 338 struct epoll_event* events; member 349 l->events = NULL; in looper_init() 357 xfree(l->events); in looper_done() 390 xrenew( l->events, new_max ); in looper_grow() 399 ev.events = hook->wanted; in looper_grow() 424 hook->events = 0; in looper_add() 428 ev.events = 0; in looper_add() 457 looper_enable( Looper* l, int fd, int events ) in looper_enable() argument [all …]
|
/device/lge/hammerhead/libsensors/ |
D | sensors.cpp | 191 mPollFds[mpl].events = POLLIN; in sensors_poll_context_t() 196 mPollFds[compass].events = POLLIN; in sensors_poll_context_t() 201 mPollFds[dmpOrient].events = POLLPRI; in sensors_poll_context_t() 206 mPollFds[dmpSign].events = POLLPRI; in sensors_poll_context_t() 211 mPollFds[dmpPed].events = POLLPRI; in sensors_poll_context_t() 216 mPollFds[light].events = POLLIN; in sensors_poll_context_t() 221 mPollFds[proximity].events = POLLIN; in sensors_poll_context_t() 238 mPollFds[wake].events = POLLIN; in sensors_poll_context_t()
|
/device/htc/flounder/sensor_hub/libsensors/ |
D | InputEventReader.cpp | 72 ssize_t InputEventCircularReader::readEvent(cw_event const** events) in readEvent() argument 74 *events = mCurr; in readEvent()
|
D | InputEventReader.h | 43 ssize_t readEvent(cw_event const** events);
|
D | sensors.cpp | 655 mPollFds[cwmcu].events = POLLIN; in sensors_poll_context_t() 666 mPollFds[wake].events = POLLIN; in sensors_poll_context_t()
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
D | mm_camera_thread.c | 123 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 130 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 138 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 149 poll_cb->poll_fds[poll_cb->num_fds].events = 0; in mm_camera_poll_proc_pipe() 173 poll_cb->poll_fds[i].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_fn()
|
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_thread.c | 219 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 226 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 234 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 245 poll_cb->poll_fds[poll_cb->num_fds].events = 0; in mm_camera_poll_proc_pipe() 280 poll_cb->poll_fds[i].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_fn()
|
/device/generic/goldfish/gps/ |
D | gps_qemu.c | 654 ev.events = EPOLLIN; in epoll_register() 697 struct epoll_event events[2]; in gps_state_thread() local 700 nevents = epoll_wait( epoll_fd, events, 2, -1 ); in gps_state_thread() 708 if ((events[ne].events & (EPOLLERR|EPOLLHUP)) != 0) { in gps_state_thread() 712 if ((events[ne].events & EPOLLIN) != 0) { in gps_state_thread() 713 int fd = events[ne].data.fd; in gps_state_thread()
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_thread.c | 222 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 230 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 239 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 250 poll_cb->poll_fds[poll_cb->num_fds].events = 0; in mm_camera_poll_proc_pipe() 292 poll_cb->poll_fds[i].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_fn()
|
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_thread.c | 224 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 231 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 239 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 250 poll_cb->poll_fds[poll_cb->num_fds].events = 0; in mm_camera_poll_proc_pipe() 288 poll_cb->poll_fds[i].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_fn()
|
/device/htc/flounder/audio/soundtrigger/ |
D | sound_trigger_hw.c | 275 fds[0].events = POLLIN; in callback_thread_loop() 281 fds[1].events = POLLIN; in callback_thread_loop()
|
/device/asus/flo/power/ |
D | power_flo.c | 201 pfd.events = POLLIN; in uevent_init()
|
/device/lge/hammerhead/power/ |
D | power_hammerhead.c | 201 pfd.events = POLLIN; in uevent_init()
|
/device/generic/goldfish/fingerprint/ |
D | fingerprint.c | 570 .events = POLLIN, in listenerFunction()
|