Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Devents.cpp145 android::base::unique_fd epoll_fd(epoll_create1(EPOLL_CLOEXEC)); in ev_init() local
146 if (epoll_fd == -1) { in ev_init()
178 if (epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fd, &ev) == -1) { in ev_init()
194 g_epoll_fd.reset(epoll_fd.release()); in ev_init()
/bootable/recovery/install/
Dadb_install.cpp191 android::base::unique_fd epoll_fd(epoll_create1(O_CLOEXEC)); in ListenAndExecuteMinadbdCommands() local
192 if (epoll_fd == -1) { in ListenAndExecuteMinadbdCommands()
203 if (epoll_ctl(epoll_fd.get(), EPOLL_CTL_ADD, socket_fd.get(), &ev) == -1) { in ListenAndExecuteMinadbdCommands()
219 TEMP_FAILURE_RETRY(epoll_wait(epoll_fd.get(), events, EPOLL_MAX_EVENTS, TIMEOUT_MILLIS)); in ListenAndExecuteMinadbdCommands()