Home
last modified time | relevance | path

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

/bootable/recovery/recovery_ui/
Dui.cpp224 struct input_event ev; in OnInputEvent() local
225 if (ev_get_input(fd, epevents, &ev) == -1) { in OnInputEvent()
249 if (ev.type == EV_SYN) { in OnInputEvent()
250 if (touch_screen_allowed_ && ev.code == SYN_REPORT) { in OnInputEvent()
265 if (ev.type == EV_REL) { in OnInputEvent()
266 if (ev.code == REL_Y) { in OnInputEvent()
271 rel_sum += ev.value; in OnInputEvent()
286 if (touch_screen_allowed_ && ev.type == EV_ABS) { in OnInputEvent()
287 if (ev.code == ABS_MT_SLOT) { in OnInputEvent()
288 touch_slot_ = ev.value; in OnInputEvent()
[all …]
/bootable/recovery/minui/
Devents.cpp175 epoll_event ev; in ev_init() local
176 ev.events = EPOLLIN | EPOLLWAKEUP; in ev_init()
177 ev.data.ptr = &ev_fdinfo[g_ev_count]; in ev_init()
178 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fd, &ev) == -1) { in ev_init()
212 epoll_event ev; in ev_add_fd() local
213 ev.events = EPOLLIN | EPOLLWAKEUP; in ev_add_fd()
214 ev.data.ptr = static_cast<void*>(&ev_fdinfo[g_ev_count]); in ev_add_fd()
215 int ret = epoll_ctl(g_epoll_fd, EPOLL_CTL_ADD, fd, &ev); in ev_add_fd()
254 int ev_get_input(int fd, uint32_t epevents, input_event* ev) { in ev_get_input() argument
256 ssize_t r = TEMP_FAILURE_RETRY(read(fd, ev, sizeof(*ev))); in ev_get_input()
[all …]
/bootable/recovery/install/
Dadb_install.cpp199 struct epoll_event ev = {}; in ListenAndExecuteMinadbdCommands() local
200 ev.events = EPOLLIN | EPOLLHUP; in ListenAndExecuteMinadbdCommands()
201 ev.data.fd = socket_fd.get(); in ListenAndExecuteMinadbdCommands()
203 if (epoll_ctl(epoll_fd.get(), EPOLL_CTL_ADD, socket_fd.get(), &ev) == -1) { in ListenAndExecuteMinadbdCommands()
/bootable/recovery/minui/include/minui/
Dminui.h169 int ev_get_input(int fd, uint32_t epevents, input_event* ev);
/bootable/recovery/tests/testdata/
Drecovery_body4254 …dK��Lq�L�ޥ/%�1�������?���������������נ�����������r��}�⺘������۽�ؽS��gC���ev�QQ�����₤x��Ȝ!��MX��I…