Searched refs:kDataBuffer (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/libs/vr/libpdx/ |
D | service_tests.cpp | 506 void* const kDataBuffer = IntToPtr(12345); in TEST_F() local 510 ReadMessageData(message_.get(), IoVecMatcher(kDataBuffer, kDataSize), 1)) in TEST_F() 513 EXPECT_EQ(50u, message_->Read(kDataBuffer, kDataSize).get()); in TEST_F() 514 EXPECT_EQ(EACCES, message_->Read(kDataBuffer, kDataSize).error()); in TEST_F() 536 void* const kDataBuffer = IntToPtr(12345); in TEST_F() local 540 WriteMessageData(message_.get(), IoVecMatcher(kDataBuffer, kDataSize), 1)) in TEST_F() 543 EXPECT_EQ(50u, message_->Write(kDataBuffer, kDataSize).get()); in TEST_F() 544 EXPECT_EQ(EBADMSG, message_->Write(kDataBuffer, kDataSize).error()); in TEST_F()
|