Searched refs:pollfd (Results 1 – 16 of 16) sorted by relevance
/packages/modules/adb/fdevent/ |
D | fdevent_poll.cpp | 90 for (const auto& pollfd : pollfds) { in dump_pollfds() local 92 if (pollfd.events & POLLIN) { in dump_pollfds() 95 if (pollfd.events & POLLOUT) { in dump_pollfds() 98 android::base::StringAppendF(&result, " %d(%s)", pollfd.fd, op.c_str()); in dump_pollfds() 154 for (const auto& pollfd : pollfds) { in Loop() local 156 if (pollfd.revents & POLLIN) { in Loop() 159 if (pollfd.revents & POLLOUT) { in Loop() 162 if (pollfd.revents & (POLLERR | POLLHUP | POLLNVAL)) { in Loop() 168 if (pollfd.revents & POLLRDHUP) { in Loop() 173 auto it = this->installed_fdevents_.find(pollfd.fd); in Loop()
|
D | fdevent_poll.h | 33 adb_pollfd pollfd; member 36 memset(&pollfd, 0, sizeof(pollfd)); in PollNode() 37 pollfd.fd = fde->fd.get(); in PollNode() 42 pollfd.events = POLLRDHUP; in PollNode()
|
/packages/modules/DnsResolver/ |
D | res_send.cpp | 907 struct pollfd fds = {.fd = sock, .events = events}; in retrying_poll() 932 static std::vector<pollfd> extractUdpFdset(res_state statp, const short events = POLLIN) { in extractUdpFdset() 933 std::vector<pollfd> fdset(statp->nsaddrs.size()); in extractUdpFdset() 946 std::vector<pollfd> fdset = extractUdpFdset(statp); in udpRetryingPoll() 955 for (const auto& pollfd : fdset) { in udpRetryingPoll() local 956 if (pollfd.revents & (POLLIN | POLLERR)) { in udpRetryingPoll() 957 fdsToRead.push_back(pollfd.fd); in udpRetryingPoll()
|
D | DnsTlsSocket.cpp | 62 pollfd fds = {.fd = fd, .events = POLLIN}; in waitForReading() 67 pollfd fds = {.fd = fd, .events = POLLOUT}; in waitForWriting() 323 pollfd fds[2] = { in sslConnectV2() 425 struct pollfd fds[2] = { { .fd = -1 }, { .fd = -1 } }; in loop()
|
D | DnsTlsTransport.cpp | 124 pollfd fds = {.fd = fd, .events = POLLIN}; in sendUdpQuery()
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_tls_frontend.cpp | 176 pollfd fds[2] = {{.fd = event_fd_.get(), .events = POLLIN}, in requestHandler() 240 pollfd fds = {.fd = clientFd, .events = POLLIN}; in handleRequests()
|
/packages/services/Car/tools/keventreader/server/ |
D | eventgatherer.h | 37 std::vector<pollfd> mFds;
|
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | VpnTest.java | 371 StructPollfd pollfd = new StructPollfd(); in checkPing() local 372 pollfd.events = (short) POLLIN; // "error: possible loss of precision" in checkPing() 373 pollfd.fd = s; in checkPing() 374 int ret = Os.poll(new StructPollfd[] { pollfd }, SOCKET_TIMEOUT_MS); in checkPing()
|
/packages/apps/TV/jni/ |
D | DvbManager.cpp | 70 struct pollfd pollFd; in isFeLocked() 488 struct pollfd pollFd; in readTsStream()
|
/packages/modules/NeuralNetworks/common/ |
D | Types.cpp | 144 struct pollfd fds; in syncWait()
|
D | LegacyUtils.cpp | 1823 struct pollfd fds; in syncWait()
|
/packages/modules/Connectivity/tests/cts/net/native/dns/ |
D | NativeDnsAsyncTest.cpp | 38 struct pollfd wait_fd[1]; in getAsyncResponse()
|
/packages/modules/DnsResolver/tests/ |
D | tun_forwarder.cpp | 172 struct pollfd wait_fd[] = { in loop()
|
D | resolv_integration_test.cpp | 2209 struct pollfd wait_fd[1]; in getAsyncResponse()
|
/packages/modules/Connectivity/tests/cts/net/jni/ |
D | NativeMultinetworkJni.cpp | 81 struct pollfd wait_fd = { .fd = fd, .events = POLLIN }; in getAsyncResponse()
|
/packages/modules/adb/ |
D | sysdeps.h | 720 typedef struct pollfd adb_pollfd;
|