Searched refs:pollfd (Results 1 – 25 of 39) sorted by relevance
12
/system/netd/server/ |
D | IptablesRestoreController.cpp | 67 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/ |
D | socket_server.h | 108 struct pollfd mPollFds[1 + kMaxActiveClients] = {};
|
/system/media/audio_utils/include/audio_utils/ |
D | FdToString.h | 102 struct pollfd pfd = { in reader() 209 struct pollfd pfd = {
|
/system/testing/gtest_extras/gtest_isolated/ |
D | Isolate.cpp | 259 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()
|
D | Isolate.h | 101 std::vector<pollfd> running_pollfds_;
|
/system/core/trusty/metrics/ |
D | metrics.cpp | 59 struct pollfd pfd = { in WaitForEvent()
|
D | metrics_test.cpp | 109 struct pollfd pfds[] = { in TEST_F()
|
/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/ |
D | snapuserd_server.h | 51 std::vector<struct pollfd> watched_fds_;
|
D | snapuserd_server.cpp | 308 struct pollfd p = {}; in AddWatchedFd()
|
/system/core/libsysutils/src/ |
D | SocketListener.cpp | 153 std::vector<pollfd> fds; in runListener() 201 const struct pollfd& p = fds[i]; in runListener()
|
D | SocketListener_test.cpp | 81 pollfd fds = {.fd = fd, .events = POLLIN}; in recvReply()
|
/system/connectivity/wificond/tests/ |
D | shell_utils.cpp | 85 struct pollfd shell_output; in RunShellCommand()
|
/system/core/trusty/keymaster/ipc/ |
D | trusty_keymaster_ipc.cpp | 96 struct pollfd pfd; in trusty_keymaster_call_2() 165 struct pollfd pfd; in trusty_keymaster_call_2()
|
/system/netd/client/ |
D | NetdClientTest.cpp | 46 pollfd fds[1] = {{.fd = dnsProxyFd, .events = POLLIN}}; in serverLoop()
|
/system/nvram/hal/ |
D | fake_nvram.cpp | 153 struct pollfd poll_fds[kMaxClientSockets]; in ProcessMessages()
|
/system/core/init/ |
D | uevent_listener.cpp | 187 pollfd ufd = { in Poll()
|
D | subcontext.cpp | 121 pollfd ufd[1]; in MainLoop()
|
/system/logging/logd/ |
D | main.cpp | 163 struct pollfd p = {.fd = sock, .events = POLLIN}; in issueReinit()
|
D | logd_test.cpp | 76 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/ |
D | file_wait.cpp | 154 struct pollfd event = { in WaitImpl()
|
/system/core/debuggerd/handler/ |
D | debuggerd_fallback.cpp | 99 struct pollfd pfd = { in forward_output()
|
/system/core/toolbox/ |
D | getevent.c | 36 static struct pollfd *ufds; 316 struct pollfd *new_ufds; in open_device()
|
/system/teeui/libteeui/src/ |
D | evdev.cpp | 125 std::vector<pollfd> fds(receivers_.size() + 1); in start()
|
/system/core/debuggerd/client/ |
D | debuggerd_client.cpp | 261 struct pollfd pfd = { in debuggerd_trigger_dump()
|
/system/logging/liblog/ |
D | logd_reader.cpp | 110 struct pollfd p = {.fd = sock, .events = POLLIN}; in SendLogdControlMessage()
|
12