Home
last modified time | relevance | path

Searched refs:Socketpair (Results 1 – 9 of 9) sorted by relevance

/system/hardware/interfaces/suspend/1.0/default/
Dmain.cpp35 using android::base::Socketpair;
77 Socketpair(SOCK_STREAM, &wakeupCountFd, &stateFd); in main()
DSystemSuspendUnitTest.cpp47 using android::base::Socketpair;
112 Socketpair(SOCK_STREAM, &wakeupCountFds[0], &wakeupCountFds[1]); in SetUpTestSuite()
113 Socketpair(SOCK_STREAM, &stateFds[0], &stateFds[1]); in SetUpTestSuite()
/system/core/base/include/android-base/
Dunique_fd.h222 inline bool Socketpair(int domain, int type, int protocol, unique_fd_impl<Closer>* left, in Socketpair() function
234 inline bool Socketpair(int type, unique_fd_impl<Closer>* left, unique_fd_impl<Closer>* right) { in Socketpair() function
235 return Socketpair(AF_UNIX, type, 0, left, right); in Socketpair()
/system/core/init/
Dfirmware_handler.cpp37 using android::base::Socketpair;
76 if (!Socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0, &child_stdout, &parent_stdout)) { in RunExternalHandler()
82 if (!Socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0, &child_stderr, &parent_stderr)) { in RunExternalHandler()
Dsubcontext.cpp45 using android::base::Socketpair;
190 if (!Socketpair(AF_UNIX, SOCK_SEQPACKET | SOCK_CLOEXEC, 0, &socket_, &subcontext_socket)) { in Fork()
/system/netd/client/
DNetdClientTest.cpp101 ASSERT_TRUE(android::base::Socketpair(AF_UNIX, &clientFd, &serverFd)); in TEST()
/system/core/base/
Dcmsg_test.cpp44 android::base::Socketpair(Seqpacket() ? SOCK_SEQPACKET : SOCK_STREAM, &send, &recv)); in SetUp()
/system/core/adb/tls/tests/
Dtls_connection_test.cpp213 android::base::Socketpair(SOCK_STREAM, &server_fd_, &client_fd_); in SetUp()
/system/memory/libmeminfo/libdmabufinfo/
Ddmabufinfo_test.cpp75 bool sp_ok = android::base::Socketpair(SOCK_STREAM, &parent_fd, &child_fd);