Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/tests/
DC2Param_test.cpp2335 …std::unique_ptr<BlobSetting> blobValue = BlobSetting::AllocUnique(6, C2ConstMemoryBlock<uint8_t>(i… in TEST_F() local
2336 …static_assert(std::is_same<decltype(blobValue->m.value), uint8_t[]>::value, "should be uint8_t[]"); in TEST_F()
2337 EXPECT_EQ(0, memcmp(blobValue->m.value, "ABCD\0", 6)); in TEST_F()
2338 EXPECT_EQ(6u, blobValue->flexCount()); in TEST_F()
2339 blobValue->setFlexCount(7u); // increasing the count does not change it in TEST_F()
2340 EXPECT_EQ(6u, blobValue->flexCount()); in TEST_F()
2341 blobValue->setFlexCount(2u); // decreasing the count changes it to it in TEST_F()
2342 EXPECT_EQ(2u, blobValue->flexCount()); in TEST_F()
2343 blobValue->setFlexCount(0u); // can decrease to 0 and blob remains valid in TEST_F()
2344 EXPECT_EQ(0u, blobValue->flexCount()); in TEST_F()
[all …]