Home
last modified time | relevance | path

Searched refs:events (Results 1 – 20 of 20) sorted by relevance

/device/generic/goldfish/sensors/
Dsensors_qemu.c259 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/
Dqemud.c305 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/
DInputEventReader.cpp72 ssize_t InputEventCircularReader::readEvent(cw_event const** events) in readEvent() argument
74 *events = mCurr; in readEvent()
DInputEventReader.h43 ssize_t readEvent(cw_event const** events);
Dsensors.cpp655 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/
Dmm_camera_thread.c123 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/
Dgps_qemu.c652 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/
Dmm_camera_thread.c222 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/
Dmm_camera_thread.c224 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/
Dmm_camera_thread.c224 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/
Dnanohubhal.cpp134 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/
Dueventd.dragon.rc33 /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/
Dchre_sensor.h278 #error Too many sensor events.
/device/google/contexthub/util/nanotool/
Dandroidcontexthub.cpp368 pfds[0].events = POLLIN; in ResetPollFds()
373 pfds[1].events = POLLIN; in ResetPollFds()
/device/google/dragon/sensor_hub/
Dsensors.cpp595 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/
Dsound_trigger_hw.c275 fds[0].events = POLLIN; in callback_thread_loop()
281 fds[1].events = POLLIN; in callback_thread_loop()
/device/google/dragon/audio/soundtrigger/
Dsound_trigger_hw.c253 fds[0].events = POLLIN; in callback_thread_loop()
259 fds[1].events = POLLIN; in callback_thread_loop()
/device/linaro/hikey/wpan/uim/
Duim.c515 p.events = POLLERR | POLLPRI; in main()
/device/google/contexthub/sensorhal/
Dhubconnection.cpp106 mPollFds[0].events = POLLIN; in HubConnection()
120 mPollFds[mNumPollFds].events = 0; in HubConnection()
1137 mPollFds[mNumPollFds].events = POLLIN; in initNanohubLock()
/device/generic/goldfish/fingerprint/
Dfingerprint.c680 .events = POLLIN, in listenerFunction()