/device/generic/goldfish/sensors/ |
D | sensors_qemu.c | 259 sensors_event_t* events = dev->sensors; in sensor_device_poll_event_locked() local 297 events[ID_ACCELERATION].acceleration.x = params[0]; in sensor_device_poll_event_locked() 298 events[ID_ACCELERATION].acceleration.y = params[1]; in sensor_device_poll_event_locked() 299 events[ID_ACCELERATION].acceleration.z = params[2]; in sensor_device_poll_event_locked() 300 events[ID_ACCELERATION].type = SENSOR_TYPE_ACCELEROMETER; in sensor_device_poll_event_locked() 309 events[ID_ORIENTATION].orientation.azimuth = params[0]; in sensor_device_poll_event_locked() 310 events[ID_ORIENTATION].orientation.pitch = params[1]; in sensor_device_poll_event_locked() 311 events[ID_ORIENTATION].orientation.roll = params[2]; in sensor_device_poll_event_locked() 312 events[ID_ORIENTATION].orientation.status = in sensor_device_poll_event_locked() 314 events[ID_ORIENTATION].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/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/generic/goldfish/gps/ |
D | gps_qemu.c | 652 ev.events = EPOLLIN; in epoll_register() 695 struct epoll_event events[2]; in gps_state_thread() local 698 nevents = epoll_wait( epoll_fd, events, 2, -1 ); in gps_state_thread() 706 if ((events[ne].events & (EPOLLERR|EPOLLHUP)) != 0) { in gps_state_thread() 710 if ((events[ne].events & EPOLLIN) != 0) { in gps_state_thread() 711 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/bullhead/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() 232 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 241 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 252 poll_cb->poll_fds[poll_cb->num_fds].events = 0; in mm_camera_poll_proc_pipe() 294 poll_cb->poll_fds[i].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_fn()
|
/device/huawei/angler/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() 232 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 241 poll_cb->poll_fds[poll_cb->num_fds].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_proc_pipe() 252 poll_cb->poll_fds[poll_cb->num_fds].events = 0; in mm_camera_poll_proc_pipe() 294 poll_cb->poll_fds[i].events = POLLIN|POLLRDNORM|POLLPRI; in mm_camera_poll_fn()
|
/device/google/contexthub/contexthubhal/ |
D | nanohubhal.cpp | 134 pfd->events = POLLIN; in init_inotify() 206 [IDX_NANOHUB] = { .fd = mFd, .events = POLLIN, }, in doRun() 207 [IDX_CLOSE_PIPE] = { .fd = mThreadClosingPipe[0], .events = POLLIN, }, in doRun()
|
/device/google/dragon/ |
D | ueventd.dragon.rc | 33 /sys/devices/7000c400.i2c/i2c-1/1-001e/cros-ec-dev.0/cros-ec-*/iio:device* events/in_activity_still… 34 /sys/devices/7000c400.i2c/i2c-1/1-001e/cros-ec-dev.0/cros-ec-*/iio:device* events/in_activity_doubl…
|
/device/google/contexthub/inc/ |
D | chre_sensor.h | 278 #error Too many sensor events.
|
/device/google/contexthub/util/nanotool/ |
D | androidcontexthub.cpp | 368 pfds[0].events = POLLIN; in ResetPollFds() 373 pfds[1].events = POLLIN; in ResetPollFds()
|
/device/google/dragon/sensor_hub/ |
D | sensors.cpp | 595 mPollFds[crosEcRingFd].events = POLLIN; in cros_ec_sensors_poll_context_t() 606 mPollFds[crosEcWakeFd].events = POLLIN; in cros_ec_sensors_poll_context_t()
|
/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/google/dragon/audio/soundtrigger/ |
D | sound_trigger_hw.c | 253 fds[0].events = POLLIN; in callback_thread_loop() 259 fds[1].events = POLLIN; in callback_thread_loop()
|
/device/linaro/hikey/wpan/uim/ |
D | uim.c | 515 p.events = POLLERR | POLLPRI; in main()
|
/device/google/contexthub/sensorhal/ |
D | hubconnection.cpp | 106 mPollFds[0].events = POLLIN; in HubConnection() 120 mPollFds[mNumPollFds].events = 0; in HubConnection() 1137 mPollFds[mNumPollFds].events = POLLIN; in initNanohubLock()
|
/device/generic/goldfish/fingerprint/ |
D | fingerprint.c | 680 .events = POLLIN, in listenerFunction()
|