Searched refs:Socketpair (Results 1 – 9 of 9) sorted by relevance
/system/hardware/interfaces/suspend/1.0/default/ |
D | main.cpp | 35 using android::base::Socketpair; 77 Socketpair(SOCK_STREAM, &wakeupCountFd, &stateFd); in main()
|
D | SystemSuspendUnitTest.cpp | 47 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/ |
D | unique_fd.h | 222 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/ |
D | firmware_handler.cpp | 37 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()
|
D | subcontext.cpp | 45 using android::base::Socketpair; 190 if (!Socketpair(AF_UNIX, SOCK_SEQPACKET | SOCK_CLOEXEC, 0, &socket_, &subcontext_socket)) { in Fork()
|
/system/netd/client/ |
D | NetdClientTest.cpp | 101 ASSERT_TRUE(android::base::Socketpair(AF_UNIX, &clientFd, &serverFd)); in TEST()
|
/system/core/base/ |
D | cmsg_test.cpp | 44 android::base::Socketpair(Seqpacket() ? SOCK_SEQPACKET : SOCK_STREAM, &send, &recv)); in SetUp()
|
/system/core/adb/tls/tests/ |
D | tls_connection_test.cpp | 213 android::base::Socketpair(SOCK_STREAM, &server_fd_, &client_fd_); in SetUp()
|
/system/memory/libmeminfo/libdmabufinfo/ |
D | dmabufinfo_test.cpp | 75 bool sp_ok = android::base::Socketpair(SOCK_STREAM, &parent_fd, &child_fd);
|