Home
last modified time | relevance | path

Searched refs:kDataSize (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/vr/libpdx_uds/
Dclient_channel_tests.cpp131 constexpr size_t kDataSize = 1000; // Try to keep RPC buffer size below 4K. in TEST_F() local
150 data.resize(kDataSize); in TEST_F()
/frameworks/native/libs/vr/libpdx/
Dservice_tests.cpp507 const size_t kDataSize = 100; 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()
537 const size_t kDataSize = 100; 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()