Searched refs:epoll_fd_ (Results 1 – 6 of 6) sorted by relevance
/packages/modules/adb/fdevent/ |
D | fdevent_epoll.cpp | 39 epoll_fd_.reset(epoll_create1(EPOLL_CLOEXEC)); in fdevent_context_epoll() 81 if (epoll_ctl(epoll_fd_.get(), EPOLL_CTL_ADD, fde->fd.get(), &ev) != 0) { in Register() 87 if (epoll_ctl(epoll_fd_.get(), EPOLL_CTL_DEL, fde->fd.get(), nullptr) != 0) { in Unregister() 102 if (epoll_ctl(epoll_fd_.get(), EPOLL_CTL_MOD, fde->fd.get(), &ev) != 0) { in Set() 129 rc = epoll_wait(epoll_fd_.get(), epoll_events.data(), epoll_events.size(), timeout_ms); in Loop()
|
D | fdevent_epoll.h | 51 unique_fd epoll_fd_;
|
/packages/modules/adb/client/pairing/tests/ |
D | pairing_server.cpp | 128 unique_fd epoll_fd_; member in adbwifi::pairing::__anon0bb7e88c0111::PairingServerImpl 199 epoll_fd_.reset(epoll_create1(EPOLL_CLOEXEC)); in setupServer() 200 if (epoll_fd_ == -1) { in setupServer() 241 CHECK_EQ(0, epoll_ctl(epoll_fd_.get(), EPOLL_CTL_ADD, server_fd_.get(), &event)); in serverWorker() 248 CHECK_EQ(0, epoll_ctl(epoll_fd_.get(), EPOLL_CTL_ADD, event_fd_.get(), &event)); in serverWorker() 253 int rc = TEMP_FAILURE_RETRY(epoll_wait(epoll_fd_.get(), events, 2, -1)); in serverWorker()
|
/packages/modules/adb/pairing_connection/ |
D | pairing_server.cpp | 138 unique_fd epoll_fd_; member 218 epoll_fd_.reset(epoll_create1(EPOLL_CLOEXEC)); in SetupServer() 219 if (epoll_fd_ == -1) { in SetupServer() 261 CHECK_EQ(0, epoll_ctl(epoll_fd_.get(), EPOLL_CTL_ADD, server_fd_.get(), &event)); in ServerWorker() 268 CHECK_EQ(0, epoll_ctl(epoll_fd_.get(), EPOLL_CTL_ADD, event_fd_.get(), &event)); in ServerWorker() 273 int rc = TEMP_FAILURE_RETRY(epoll_wait(epoll_fd_.get(), events, 2, -1)); in ServerWorker()
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder.cpp | 623 epoll_fd_.reset(epoll_create1(EPOLL_CLOEXEC)); in startServer() 624 if (epoll_fd_.get() < 0) { in startServer() 666 epoll_fd_.reset(); in stopServer() 707 int n = epoll_wait(epoll_fd_.get(), evs, EPOLL_MAX_EVENTS, -1); in requestHandler() 1084 if (epoll_ctl(epoll_fd_.get(), EPOLL_CTL_ADD, fd, &ev) < 0) { in addFd()
|
D | dns_responder.h | 348 android::base::unique_fd epoll_fd_; variable
|