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

/frameworks/av/media/libstagefright/codec2/tests/
H A DC2Param_test.cpp2031 std::unique_ptr<BlobSetting> blobValue = BlobSetting::alloc_unique(6, C2ConstMemoryBlock<uint8_t>(initValue)); local
2032 static_assert(std::is_same<decltype(blobValue->m.mValue), uint8_t[]>::value, "should be uint8_t[]");
2033 EXPECT_EQ(0, memcmp(blobValue->m.mValue, "ABCD\0", 6));
2034 EXPECT_EQ(6u, blobValue->flexCount());
2035 std::list<const C2FieldDescriptor> fields = blobValue->fieldList;
2041 blobValue = BlobSetting::alloc_unique(3, C2ConstMemoryBlock<uint8_t>(initValue));
2042 EXPECT_EQ(0, memcmp(blobValue->m.mValue, "ABC", 3));
2043 EXPECT_EQ(3u, blobValue->flexCount());

Completed in 36 milliseconds