Home
last modified time | relevance | path

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

/system/libbase/
Dcmsg_test.cpp26 using android::base::ReceiveFileDescriptors;
75 ASSERT_EQ(1, ReceiveFileDescriptors(recv.get(), buf, 2, &received)); in TEST_P()
88 ssize_t rc = ReceiveFileDescriptors(recv.get(), buf, 1, &received1, &received2); in TEST_P()
109 ASSERT_EQ(-1, ReceiveFileDescriptors(recv.get(), buf, 1, &received)); in TEST_P()
122 ASSERT_EQ(1, ReceiveFileDescriptors(recv.get(), buf, 1, &received)); in TEST_P()
146 rc = ReceiveFileDescriptors(recv.get(), buf, 1, &received2); in TEST_P()
157 ASSERT_EQ(1, ReceiveFileDescriptors(recv.get(), buf, 1, &received1, &received2)); in TEST_P()
172 ASSERT_EQ(1, ReceiveFileDescriptors(recv.get(), buf, 1, &received1)); in TEST_P()
173 ASSERT_EQ(1, ReceiveFileDescriptors(recv.get(), buf, 1, &received2)); in TEST_P()
/system/core/debuggerd/tombstoned/
Dtombstoned_client.cpp32 using android::base::ReceiveFileDescriptors;
66 rc = ReceiveFileDescriptors(sockfd, &packet, sizeof(packet), &tmp_output_fd, &tmp_proto_fd); in tombstoned_connect()
68 rc = ReceiveFileDescriptors(sockfd, &packet, sizeof(packet), &tmp_output_fd); in tombstoned_connect()
Dintercept_manager.cpp35 using android::base::ReceiveFileDescriptors;
102 ReceiveFileDescriptors(sockfd, &intercept_request, sizeof(intercept_request), &rcv_fd); in intercept_request_cb()
/system/libbase/include/android-base/
Dcmsg.h82 ssize_t ReceiveFileDescriptors(borrowed_fd sock, void* data, size_t len, Args&&... received_fds) { in ReceiveFileDescriptors() function