Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Devents.cpp49 ev_callback cb; member
184 ev_fdinfo[g_ev_count].cb = input_cb; in ev_init()
207 int ev_add_fd(android::base::unique_fd&& fd, ev_callback cb) { in ev_add_fd() argument
208 if (g_ev_misc_count == MAX_MISC_FDS || cb == nullptr) { in ev_add_fd()
218 ev_fdinfo[g_ev_count].cb = std::move(cb); in ev_add_fd()
247 const ev_callback& cb = fdi->cb; in ev_dispatch() local
248 if (cb) { in ev_dispatch()
249 cb(fdi->fd, g_polled_events[n].events); in ev_dispatch()
/bootable/recovery/minui/include/minui/
Dminui.h158 int ev_add_fd(android::base::unique_fd&& fd, ev_callback cb);