Home
last modified time | relevance | path

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

/device/generic/goldfish/sensors/
Dsensors_qemu.c250 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/
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/lge/hammerhead/libsensors/
Dsensors.cpp191 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/
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/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c219 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/
Dgps_qemu.c654 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/
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/hammerhead/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()
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/
Dsound_trigger_hw.c275 fds[0].events = POLLIN; in callback_thread_loop()
281 fds[1].events = POLLIN; in callback_thread_loop()
/device/asus/flo/power/
Dpower_flo.c201 pfd.events = POLLIN; in uevent_init()
/device/lge/hammerhead/power/
Dpower_hammerhead.c201 pfd.events = POLLIN; in uevent_init()
/device/generic/goldfish/fingerprint/
Dfingerprint.c570 .events = POLLIN, in listenerFunction()