Searched refs:SendFileDescriptors (Results 1 – 7 of 7) 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/adb/daemon/ |
D | abb.cpp | 109 if (android::base::SendFileDescriptors(fd, "", 1, result.get()) != 1) { in main()
|
D | jdwp_service.cpp | 274 if (android::base::SendFileDescriptors(socket, "", 1, fd) != 1) { in jdwp_process_event()
|
/system/core/debuggerd/tombstoned/ |
D | tombstoned.cpp | 49 using android::base::SendFileDescriptors; 230 SendFileDescriptors(crash->crash_socket_fd, &response, sizeof(response), output_fd.get()); in perform_request()
|
/system/core/debuggerd/ |
D | debuggerd_test.cpp | 63 using android::base::SendFileDescriptors; 137 ssize_t rc = SendFileDescriptors(intercept_fd->get(), &req, sizeof(req), output_pipe_write.get()); in tombstoned_intercept()
|