Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Devents.cpp53 static FdInfo ev_fdinfo[MAX_DEVICES + MAX_MISC_FDS]; variable
101 ev.data.ptr = &ev_fdinfo[g_ev_count]; in ev_init()
107 ev_fdinfo[g_ev_count].fd.reset(fd.release()); in ev_init()
108 ev_fdinfo[g_ev_count].cb = input_cb; in ev_init()
133 ev.data.ptr = static_cast<void*>(&ev_fdinfo[g_ev_count]); in ev_add_fd()
136 ev_fdinfo[g_ev_count].fd.reset(fd.release()); in ev_add_fd()
137 ev_fdinfo[g_ev_count].cb = std::move(cb); in ev_add_fd()
147 ev_fdinfo[--g_ev_count].fd.reset(); in ev_exit()
191 if (ioctl(ev_fdinfo[i].fd, EVIOCGBIT(0, sizeof(ev_bits)), ev_bits) == -1) { in ev_sync_key_state()
197 if (ioctl(ev_fdinfo[i].fd, EVIOCGKEY(sizeof(key_bits)), key_bits) == -1) { in ev_sync_key_state()
[all …]