Searched refs:ev_callback (Results 1 – 2 of 2) sorted by relevance
152 using ev_callback = std::function<int(int fd, uint32_t epevents)>; variable155 int ev_init(ev_callback input_cb, bool allow_touch_inputs = false);157 int ev_add_fd(android::base::unique_fd&& fd, ev_callback cb);
46 ev_callback cb;63 int ev_init(ev_callback input_cb, bool allow_touch_inputs) { in ev_init()126 int ev_add_fd(android::base::unique_fd&& fd, ev_callback cb) { in ev_add_fd()165 const ev_callback& cb = fdi->cb; in ev_dispatch()