Home
last modified time | relevance | path

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

12

/device/generic/goldfish/sensors/
Dmultihal_sensors_epoll.cpp26 ev.events = EPOLLIN; in epollCtlAdd()
54 struct epoll_event events[2]; in qemuSensorListenerThread() local
57 events, 2, in qemuSensorListenerThread()
66 const struct epoll_event* ev = &events[i]; in qemuSensorListenerThread()
68 const int ev_events = ev->events; in qemuSensorListenerThread()
/device/google/cuttlefish/guest/hals/gps/
Dgps_thread.cpp124 struct epoll_event events[2]; in gps_state_thread() local
127 nevents = epoll_wait(epoll_fd, events, 2, 500); in gps_state_thread()
141 if ((events[event_index].events & (EPOLLERR | EPOLLHUP)) != 0) { in gps_state_thread()
146 if ((events[event_index].events & EPOLLIN) != 0) { in gps_state_thread()
147 int fd = events[event_index].data.fd; in gps_state_thread()
Dgps_thread.h63 ev.events = EPOLLIN; in epoll_register()
/device/google/cuttlefish/host/frontend/vnc_server/
Dvirtual_inputs.cpp255 struct input_event events[2]; in GenerateKeyPressEvent() local
256 InitInputEvent(&events[0], EV_KEY, keymapping_[key_code], down); in GenerateKeyPressEvent()
257 InitInputEvent(&events[1], EV_SYN, 0, 0); in GenerateKeyPressEvent()
259 SendEvents(keyboard_socket_, events); in GenerateKeyPressEvent()
263 struct input_event events[2]; in PressPowerButton() local
264 InitInputEvent(&events[0], EV_KEY, KEY_POWER, down); in PressPowerButton()
265 InitInputEvent(&events[1], EV_SYN, 0, 0); in PressPowerButton()
267 SendEvents(keyboard_socket_, events); in PressPowerButton()
272 struct input_event events[4]; in HandlePointerEvent() local
273 InitInputEvent(&events[0], EV_ABS, ABS_X, x); in HandlePointerEvent()
[all …]
/device/generic/goldfish/gnss/
Dgnss_hw_conn.cpp45 ev.events = EPOLLIN; in epollCtlAdd()
108 struct epoll_event events[2]; in workerThread() local
111 events, 2, in workerThread()
120 const struct epoll_event* ev = &events[i]; in workerThread()
122 const int ev_events = ev->events; in workerThread()
/device/google/wahoo/usb/
DUsbGadget.cpp96 struct epoll_event events[EPOLL_EVENTS]; in monitorFfs() local
115 int nrEvents = epoll_wait(usbGadget->mEpollFd, events, EPOLL_EVENTS, -1); in monitorFfs()
122 ALOGI("event=%u on fd=%d\n", events[i].events, events[i].data.fd); in monitorFfs()
124 if (events[i].data.fd == usbGadget->mInotifyFd) { in monitorFfs()
206 event.events = EPOLLIN; in addEpollFd()
DUsb.cpp643 ev.events = EPOLLIN; in work()
658 struct epoll_event events[64]; in work() local
660 nevents = epoll_wait(epoll_fd, events, 64, -1); in work()
668 if (events[n].data.ptr) in work()
669 (*(void (*)(int, struct data *payload))events[n].data.ptr)( in work()
670 events[n].events, &payload); in work()
/device/google/bonito/usb/
DUsbGadget.cpp97 struct epoll_event events[EPOLL_EVENTS]; in monitorFfs() local
122 int nrEvents = epoll_wait(usbGadget->mEpollFd, events, EPOLL_EVENTS, -1); in monitorFfs()
130 ALOGI("event=%u on fd=%d\n", events[i].events, events[i].data.fd); in monitorFfs()
132 if (events[i].data.fd == usbGadget->mInotifyFd) { in monitorFfs()
222 event.events = EPOLLIN; in addEpollFd()
DUsb.cpp608 ev.events = EPOLLIN; in work()
623 struct epoll_event events[64]; in work() local
625 nevents = epoll_wait(epoll_fd, events, 64, -1); in work()
633 if (events[n].data.ptr) in work()
634 (*(void (*)(int, struct data *payload))events[n].data.ptr)( in work()
635 events[n].events, &payload); in work()
/device/google/crosshatch/usb/
DUsbGadget.cpp97 struct epoll_event events[EPOLL_EVENTS]; in monitorFfs() local
122 int nrEvents = epoll_wait(usbGadget->mEpollFd, events, EPOLL_EVENTS, -1); in monitorFfs()
130 ALOGI("event=%u on fd=%d\n", events[i].events, events[i].data.fd); in monitorFfs()
132 if (events[i].data.fd == usbGadget->mInotifyFd) { in monitorFfs()
222 event.events = EPOLLIN; in addEpollFd()
DUsb.cpp612 ev.events = EPOLLIN; in work()
627 struct epoll_event events[64]; in work() local
629 nevents = epoll_wait(epoll_fd, events, 64, -1); in work()
637 if (events[n].data.ptr) in work()
638 (*(void (*)(int, struct data *payload))events[n].data.ptr)( in work()
639 events[n].events, &payload); in work()
/device/google/cuttlefish/host/frontend/gcastv2/https/
DRunLoop.cpp247 pollFds[it->second.mPollFdIndex].events |= POLLIN; in run()
277 pollFds[it->second.mPollFdIndex].events |= POLLOUT; in run()
388 pollFd.events &= ~POLLIN; in run()
397 pollFd.events &= ~POLLOUT; in run()
/device/generic/goldfish/radio/libril/
Dril_event.h21 typedef void (*ril_event_cb)(int fd, short events, void *userdata);
/device/google/coral/usb/
DUsb.cpp683 ev.events = EPOLLIN; in work()
698 struct epoll_event events[64]; in work() local
700 nevents = epoll_wait(epoll_fd, events, 64, -1); in work()
709 if (events[n].data.ptr) in work()
710 (*(void (*)(int, struct data *payload))events[n].data.ptr)(events[n].events, in work()
/device/generic/goldfish/wifi/wifi_hal/
Dnetlink.cpp101 fds[0].events = POLLIN; in eventLoop()
103 fds[1].events = POLLIN; in eventLoop()
/device/google/contexthub/contexthubhal/
Dnanohubhal.cpp124 pfd->events = POLLIN; in init_inotify()
225 [IDX_NANOHUB] = { .fd = mFd, .events = POLLIN, }, in runDeviceRx()
226 [IDX_CLOSE_PIPE] = { .fd = mThreadClosingPipe[0], .events = POLLIN, }, in runDeviceRx()
/device/google/crosshatch/sdm845/original-kernel-headers/sound/
Dlsm_params.h175 __u8 events; member
/device/google/bonito/sdm710/kernel-headers/sound/
Dlsm_params.h175 __u8 events; member
/device/google/bonito/sdm710/original-kernel-headers/sound/
Dlsm_params.h175 __u8 events; member
/device/google/crosshatch/sdm845/kernel-headers/sound/
Dlsm_params.h118 __u8 events; member
/device/generic/goldfish/radio/ril/
Dif_monitor.cpp222 fds[0].events = POLLIN; in run()
224 fds[1].events = POLLIN; in run()
/device/generic/goldfish-opengl/android-emu/android/utils/
Ddebug.h31 _VERBOSE_TAG(events, "events sent to the emulator") \
/device/google/coral-kernel/sm8150/original-kernel-headers/sound/
Dlsm_params.h267 __u8 events; member
/device/google/coral-kernel/sm8150/kernel-headers/sound/
Dlsm_params.h155 __u8 events; member
/device/google/contexthub/util/nanotool/
Dandroidcontexthub.cpp392 pfds[0].events = POLLIN; in ResetPollFds()
397 pfds[1].events = POLLIN; in ResetPollFds()

12