Home
last modified time | relevance | path

Searched refs:pollfd (Results 1 – 25 of 39) sorted by relevance

12

/system/netd/server/
DIptablesRestoreController.cpp67 struct pollfd pollfd = { .fd = stdIn, .events = POLLOUT }; in outputReady() local
68 int ret = poll(&pollfd, 1, 0); in outputReady()
73 return (ret == 1) && !(pollfd.revents & POLLERR); in outputReady()
93 struct pollfd pollFds[2];
280 const struct pollfd &pollfd = process->pollFds[i]; in drainAndWaitForAck() local
281 if (pollfd.revents & POLLIN) { in drainAndWaitForAck()
284 size = TEMP_FAILURE_RETRY(read(pollfd.fd, buffer, sizeof(buffer))); in drainAndWaitForAck()
313 if (pollfd.revents & POLLHUP) { in drainAndWaitForAck()
/system/chre/host/common/include/chre_host/
Dsocket_server.h108 struct pollfd mPollFds[1 + kMaxActiveClients] = {};
/system/media/audio_utils/include/audio_utils/
DFdToString.h102 struct pollfd pfd = { in reader()
209 struct pollfd pfd = {
/system/testing/gtest_extras/gtest_isolated/
DIsolate.cpp259 pollfd* pollfd = &running_pollfds_[run_index]; in LaunchTests() local
260 pollfd->fd = test->fd(); in LaunchTests()
261 pollfd->events = POLLIN; in LaunchTests()
274 pollfd* pfd = &running_pollfds_[i]; in ReadTestsOutput()
447 memset(running_pollfds_.data(), 0, running_pollfds_.size() * sizeof(pollfd)); in RunAllTests()
DIsolate.h101 std::vector<pollfd> running_pollfds_;
/system/core/trusty/metrics/
Dmetrics.cpp59 struct pollfd pfd = { in WaitForEvent()
Dmetrics_test.cpp109 struct pollfd pfds[] = { in TEST_F()
/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/
Dsnapuserd_server.h51 std::vector<struct pollfd> watched_fds_;
Dsnapuserd_server.cpp308 struct pollfd p = {}; in AddWatchedFd()
/system/core/libsysutils/src/
DSocketListener.cpp153 std::vector<pollfd> fds; in runListener()
201 const struct pollfd& p = fds[i]; in runListener()
DSocketListener_test.cpp81 pollfd fds = {.fd = fd, .events = POLLIN}; in recvReply()
/system/connectivity/wificond/tests/
Dshell_utils.cpp85 struct pollfd shell_output; in RunShellCommand()
/system/core/trusty/keymaster/ipc/
Dtrusty_keymaster_ipc.cpp96 struct pollfd pfd; in trusty_keymaster_call_2()
165 struct pollfd pfd; in trusty_keymaster_call_2()
/system/netd/client/
DNetdClientTest.cpp46 pollfd fds[1] = {{.fd = dnsProxyFd, .events = POLLIN}}; in serverLoop()
/system/nvram/hal/
Dfake_nvram.cpp153 struct pollfd poll_fds[kMaxClientSockets]; in ProcessMessages()
/system/core/init/
Duevent_listener.cpp187 pollfd ufd = { in Poll()
Dsubcontext.cpp121 pollfd ufd[1]; in MainLoop()
/system/logging/logd/
Dmain.cpp163 struct pollfd p = {.fd = sock, .events = POLLIN}; in issueReinit()
Dlogd_test.cpp76 struct pollfd p = {.fd = sock, .events = POLLIN, .revents = 0}; in send_to_control()
559 struct pollfd p = {.fd = sock2, .events = POLLIN, .revents = 0}; in TEST()
/system/core/fs_mgr/
Dfile_wait.cpp154 struct pollfd event = { in WaitImpl()
/system/core/debuggerd/handler/
Ddebuggerd_fallback.cpp99 struct pollfd pfd = { in forward_output()
/system/core/toolbox/
Dgetevent.c36 static struct pollfd *ufds;
316 struct pollfd *new_ufds; in open_device()
/system/teeui/libteeui/src/
Devdev.cpp125 std::vector<pollfd> fds(receivers_.size() + 1); in start()
/system/core/debuggerd/client/
Ddebuggerd_client.cpp261 struct pollfd pfd = { in debuggerd_trigger_dump()
/system/logging/liblog/
Dlogd_reader.cpp110 struct pollfd p = {.fd = sock, .events = POLLIN}; in SendLogdControlMessage()

12