Home
last modified time | relevance | path

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

/frameworks/native/libs/ui/tests/
DBufferHubBuffer_test.cpp55 const size_t kUserMetadataSize = 1; variable
106 b1 = BufferHubBuffer::create(kWidth, kHeight, kLayerCount, kFormat, kUsage, kUserMetadataSize); in CreateTwoClientsOfABuffer()
125 /*format=*/HAL_PIXEL_FORMAT_BLOB, kUsage, kUserMetadataSize); in TEST_F()
145 kUserMetadataSize); in TEST_F()
150 EXPECT_EQ(b1->userMetadataSize(), kUserMetadataSize); in TEST_F()
155 kUserMetadataSize); in TEST_F()
213 kUserMetadataSize); in TEST_F()
436 kUserMetadataSize); in TEST_F()
458 kUserMetadataSize); in TEST_F()
/frameworks/native/services/bufferhub/tests/
DBufferNode_test.cpp24 const size_t kUserMetadataSize = 0; variable
30 new BufferNode(kWidth, kHeight, kLayerCount, kFormat, kUsage, kUserMetadataSize); in SetUp()
44 EXPECT_EQ(mBufferNode->userMetadataSize(), kUserMetadataSize); in TEST_F()
/frameworks/hardware/interfaces/bufferhub/1.0/vts/functional/
DVtsHalBufferHubV1_0TargetTest.cpp46 const size_t kUserMetadataSize = 1; variable
112 userMetadataSize == kUserMetadataSize; in isValidTraits()
129 ASSERT_TRUE(mBufferHub->allocateBuffer(desc, kUserMetadataSize, callback).isOk()); in TEST_F()
152 ASSERT_TRUE(mBufferHub->allocateBuffer(desc, kUserMetadataSize, callback).isOk()); in TEST_F()
181 ASSERT_TRUE(mBufferHub->allocateBuffer(desc, kUserMetadataSize, callback).isOk()); in TEST_F()
212 ASSERT_TRUE(mBufferHub->allocateBuffer(desc, kUserMetadataSize, callback).isOk()); in TEST_F()
307 ASSERT_TRUE(mBufferHub->allocateBuffer(desc, kUserMetadataSize, callback).isOk()); in TEST_F()
/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue-test.cpp560 constexpr uint64_t kUserMetadataSize = variable
587 mi.user_metadata_size = kUserMetadataSize; in TEST_F()
595 EXPECT_EQ(mo.user_metadata_size, kUserMetadataSize); in TEST_F()
627 mi.user_metadata_size = kUserMetadataSize + 1; in TEST_F()
631 mi.user_metadata_size = kUserMetadataSize; in TEST_F()