Home
last modified time | relevance | path

Searched refs:client_fd (Results 1 – 4 of 4) sorted by relevance

/system/core/libsysutils/src/
DSocketListener_test.cpp140 unique_fd client_fd = clientSocket(mSocketPath); in testCommand() local
141 sendCmd(client_fd.get(), command); in testCommand()
143 std::string reply = recvReply(client_fd.get()); in testCommand()
/system/core/fs_mgr/libsnapshot/snapuserd/dm-snapshot-merge/
Dsnapuserd_server.cpp538 unique_fd client_fd( in RunForSocketHandoff() local
540 if (client_fd < 0) { in RunForSocketHandoff()
546 ssize_t rv = android::base::SendFileDescriptorVector(client_fd, code, sizeof(code), fds); in RunForSocketHandoff()
552 if (recv(client_fd, code, sizeof(code), 0) < 0) { in RunForSocketHandoff()
/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/
Dsnapuserd_server.cpp764 unique_fd client_fd( in RunForSocketHandoff() local
766 if (client_fd < 0) { in RunForSocketHandoff()
772 ssize_t rv = android::base::SendFileDescriptorVector(client_fd, code, sizeof(code), fds); in RunForSocketHandoff()
778 if (recv(client_fd, code, sizeof(code), 0) < 0) { in RunForSocketHandoff()
/system/update_engine/
Dtest_http_server.cc657 int client_fd = accept(listen_fd, nullptr, nullptr); in main() local
659 if (client_fd < 0) in main()
661 HandleConnection(client_fd); in main()