Searched refs:SendFileDescriptors (Results 1 – 5 of 5) sorted by relevance
/system/libbase/ |
D | cmsg_test.cpp | 27 using android::base::SendFileDescriptors; 71 ASSERT_EQ(1, SendFileDescriptors(send.get(), "x", 1, fd1.get())); in TEST_P() 83 ASSERT_EQ(2, SendFileDescriptors(send.get(), "ab", 2, fd1.get(), fd2.get())); in TEST_P() 105 ASSERT_EQ(1, SendFileDescriptors(send.get(), "a", 1, fd1.get(), fd2.get())); in TEST_P() 115 ASSERT_EQ(1, SendFileDescriptors(send.get(), "a", 1, fd1.get())); in TEST_P() 133 ASSERT_EQ(2, SendFileDescriptors(send.get(), "bc", 2, fd1.get())); in TEST_P() 134 ASSERT_EQ(1, SendFileDescriptors(send.get(), "d", 1, fd2.get())); in TEST_P() 153 ASSERT_EQ(1, SendFileDescriptors(send.get(), "a", 1, fd1.get(), fd2.get())); in TEST_P() 167 ASSERT_EQ(1, SendFileDescriptors(send.get(), "a", 1, fd1.get())); in TEST_P() 168 ASSERT_EQ(1, SendFileDescriptors(send.get(), "b", 1, fd2.get())); in TEST_P() [all …]
|
/system/libbase/include/android-base/ |
D | cmsg.h | 67 ssize_t SendFileDescriptors(borrowed_fd sock, const void* data, size_t len, Args&&... sent_fds) { in SendFileDescriptors() function
|
/system/core/debuggerd/client/ |
D | debuggerd_client.cpp | 49 using android::base::SendFileDescriptors; 200 ssize_t rc = SendFileDescriptors(set_timeout(sockfd), &req, sizeof(req), pipe_write.get()); in debuggerd_trigger_dump()
|
/system/core/debuggerd/tombstoned/ |
D | tombstoned.cpp | 49 using android::base::SendFileDescriptors; 306 rc = SendFileDescriptors(crash->crash_socket_fd, &response, sizeof(response), output_fd.get(), in perform_request() 309 rc = SendFileDescriptors(crash->crash_socket_fd, &response, sizeof(response), output_fd.get()); in perform_request()
|
/system/core/debuggerd/ |
D | debuggerd_test.cpp | 68 using android::base::SendFileDescriptors; 150 ssize_t rc = SendFileDescriptors(intercept_fd->get(), &req, sizeof(req), output_pipe_write.get()); in tombstoned_intercept()
|