Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Devents.cpp66 android::base::unique_fd epoll_fd(epoll_create1(EPOLL_CLOEXEC)); in ev_init() local
67 if (epoll_fd == -1) { in ev_init()
102 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fd, &ev) == -1) { in ev_init()
118 g_epoll_fd.reset(epoll_fd.release()); in ev_init()
/bootable/recovery/install/
Dadb_install.cpp187 android::base::unique_fd epoll_fd(epoll_create1(O_CLOEXEC)); in ListenAndExecuteMinadbdCommands() local
188 if (epoll_fd == -1) { in ListenAndExecuteMinadbdCommands()
199 if (epoll_ctl(epoll_fd.get(), EPOLL_CTL_ADD, socket_fd.get(), &ev) == -1) { in ListenAndExecuteMinadbdCommands()
215 TEMP_FAILURE_RETRY(epoll_wait(epoll_fd.get(), events, EPOLL_MAX_EVENTS, TIMEOUT_MILLIS)); in ListenAndExecuteMinadbdCommands()