Lines Matching refs:send
44 android::base::Socketpair(Seqpacket() ? SOCK_SEQPACKET : SOCK_STREAM, &send, &recv)); in SetUp()
57 unique_fd send; member
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()
132 ASSERT_EQ(1, TEMP_FAILURE_RETRY(write(send.get(), "a", 1))); 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()
186 ASSERT_EQ(1, SendFileDescriptors(send.get(), "", 1, fd1.get())); in TEST_P()
187 ASSERT_EQ(1, SendFileDescriptors(send.get(), "", 1, fd2.get())); in TEST_P()