Home
last modified time | relevance | path

Searched refs:received_fds (Results 1 – 3 of 3) sorted by relevance

/system/libbase/
Dcmsg.cpp118 std::vector<unique_fd> received_fds; in ReceiveFileDescriptorVector() local
154 received_fds.emplace_back(cmsg_fds[i]); in ReceiveFileDescriptorVector()
163 if (received_fds.size() > max_fds) { in ReceiveFileDescriptorVector()
165 << received_fds.size(); in ReceiveFileDescriptorVector()
170 *fds = std::move(received_fds); in ReceiveFileDescriptorVector()
/system/netd/server/
DFwmarkServer.cpp106 std::vector<unique_fd> received_fds; in processClient() local
108 ReceiveFileDescriptorVector(client->getSocket(), buf, sizeof(buf), 1, &received_fds); in processClient()
145 if (received_fds.size() != 1) { in processClient()
146 LOG(ERROR) << "FwmarkServer received " << received_fds.size() << " fds from client?"; in processClient()
148 } else if (received_fds[0] < 0) { in processClient()
153 *socketFd = received_fds[0].release(); in processClient()
/system/libbase/include/android-base/
Dcmsg.h82 ssize_t ReceiveFileDescriptors(borrowed_fd sock, void* data, size_t len, Args&&... received_fds) { in ReceiveFileDescriptors() argument
84 Append(fds, std::forward<Args>(received_fds)...); in ReceiveFileDescriptors()