Home
last modified time | relevance | path

Searched refs:ev (Results 1 – 4 of 4) sorted by relevance

/bootable/recovery/recovery_ui/
Dui.cpp225 struct input_event ev; in OnInputEvent() local
226 if (ev_get_input(fd, epevents, &ev) == -1) { in OnInputEvent()
250 if (ev.type == EV_SYN) { in OnInputEvent()
251 if (touch_screen_allowed_ && ev.code == SYN_REPORT) { in OnInputEvent()
266 if (ev.type == EV_REL) { in OnInputEvent()
267 if (ev.code == REL_Y) { in OnInputEvent()
272 rel_sum += ev.value; in OnInputEvent()
287 if (touch_screen_allowed_ && ev.type == EV_ABS) { in OnInputEvent()
288 if (ev.code == ABS_MT_SLOT) { in OnInputEvent()
289 touch_slot_ = ev.value; in OnInputEvent()
[all …]
/bootable/recovery/minui/
Devents.cpp99 epoll_event ev; in ev_init() local
100 ev.events = EPOLLIN | EPOLLWAKEUP; in ev_init()
101 ev.data.ptr = &ev_fdinfo[g_ev_count]; in ev_init()
102 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fd, &ev) == -1) { in ev_init()
131 epoll_event ev; in ev_add_fd() local
132 ev.events = EPOLLIN | EPOLLWAKEUP; in ev_add_fd()
133 ev.data.ptr = static_cast<void*>(&ev_fdinfo[g_ev_count]); in ev_add_fd()
134 int ret = epoll_ctl(g_epoll_fd, EPOLL_CTL_ADD, fd, &ev); in ev_add_fd()
172 int ev_get_input(int fd, uint32_t epevents, input_event* ev) { in ev_get_input() argument
174 ssize_t r = TEMP_FAILURE_RETRY(read(fd, ev, sizeof(*ev))); in ev_get_input()
[all …]
/bootable/recovery/install/
Dadb_install.cpp195 struct epoll_event ev = {}; in ListenAndExecuteMinadbdCommands() local
196 ev.events = EPOLLIN | EPOLLHUP; in ListenAndExecuteMinadbdCommands()
197 ev.data.fd = socket_fd.get(); in ListenAndExecuteMinadbdCommands()
199 if (epoll_ctl(epoll_fd.get(), EPOLL_CTL_ADD, socket_fd.get(), &ev) == -1) { in ListenAndExecuteMinadbdCommands()
/bootable/recovery/minui/include/minui/
Dminui.h168 int ev_get_input(int fd, uint32_t epevents, input_event* ev);