Home
last modified time | relevance | path

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

/frameworks/native/libs/gralloc/types/
DGralloc4.cpp224 status_t encodeMetadata(const MetadataType& metadataType, const T& input, hidl_vec<uint8_t>* output, in encodeMetadata() argument
228 status_t err = encodeMetadataType(metadataType, &outputHidlVec); in encodeMetadata()
243 err = encodeMetadataType(metadataType, &outputHidlVec); in encodeMetadata()
252 status_t encodeOptionalMetadata(const MetadataType& metadataType, const std::optional<T>& input, in encodeOptionalMetadata() argument
257 return encodeMetadata(metadataType, *input, output, encodeHelper); in encodeOptionalMetadata()
287 status_t decodeMetadata(const MetadataType& metadataType, const hidl_vec<uint8_t>& input, T* output, in decodeMetadata() argument
291 status_t err = validateMetadataType(&inputHidlVec, metadataType); in decodeMetadata()
313 status_t decodeOptionalMetadata(const MetadataType& metadataType, const hidl_vec<uint8_t>& input, in decodeOptionalMetadata() argument
323 status_t err = decodeMetadata(metadataType, input, &tmp, decodeHelper); in decodeOptionalMetadata()
1137 status_t encodeUint32(const MetadataType& metadataType, uint32_t input, in encodeUint32() argument
[all …]
/frameworks/native/libs/gralloc/types/fuzzer/
Dmain.cpp70 MetadataType metadataType; in doFuzzVendorHelper() local
71 size_t sizeUsed = fillInMetadataType(input, &metadataType); in doFuzzVendorHelper()
87 decodes[decodeIdx](metadataType, vec); in doFuzzVendorHelper()
Dgralloctypes.cpp46 [] (const MetadataType& metadataType, const ::android::hardware::hidl_vec<uint8_t>& vec) {\
49 status_t err = FUNC(metadataType, vec, &t);\
/frameworks/native/libs/gralloc/types/include/gralloctypes/
DGralloc4.h530 const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType& metadataType,
533 const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType& metadataType,
537 const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType& metadataType,
540 const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType& metadataType,
544 const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType& metadataType,
547 const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType& metadataType,
551 const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType& metadataType,
554 const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType& metadataType,
558 const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType& metadataType,
561 const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType& metadataType,
[all …]
/frameworks/base/media/java/android/media/
DMetadata.java334 final int metadataType = parcel.readInt(); in scanAllRecords() local
335 if (metadataType <= 0 || metadataType > LAST_TYPE) { in scanAllRecords()
336 Log.e(TAG, "Invalid metadata type " + metadataType); in scanAllRecords()
/frameworks/native/libs/ui/
DGralloc4.cpp436 status_t Gralloc4Mapper::get(buffer_handle_t bufferHandle, const MetadataType& metadataType, in get() argument
444 auto ret = mMapper->get(const_cast<native_handle_t*>(bufferHandle), metadataType, in get()
455 ALOGE("get(%s, %" PRIu64 ", ...) failed with %d", metadataType.name.c_str(), in get()
456 metadataType.value, error); in get()
639 const MetadataType& metadataType, in getDefault() argument
650 auto ret = mMapper->getFromBufferDescriptorInfo(descriptorInfo, metadataType, in getDefault()
662 ALOGE("getDefault(%s, %" PRIu64 ", ...) failed with %d", metadataType.name.c_str(), in getDefault()
663 metadataType.value, error); in getDefault()
812 StandardMetadataType metadataType, in metadataDumpHelper() argument
819 if (!gralloc4::isStandardMetadataType(tmpMetadataDump.metadataType)) { in metadataDumpHelper()
[all …]
/frameworks/native/libs/ui/include/ui/
DGralloc4.h165 const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType& metadataType,
172 const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType& metadataType,
178 aidl::android::hardware::graphics::common::StandardMetadataType metadataType,
/frameworks/native/libs/gralloc/types/tests/
DGralloc4_test.cpp95 MetadataType metadataType{"vendor.mycompanyname.graphics.common.MetadataType", 0}; in testHelperMetadataType() local
97 ASSERT_EQ(NO_ERROR, encode(metadataType, input, &vec)); in testHelperMetadataType()
98 ASSERT_EQ(NO_ERROR, decode(metadataType, vec, &output)); in testHelperMetadataType()
105 MetadataType metadataType{"vendor.mycompanyname.graphics.common.MetadataType", 0}; in testHelperMetadataTypeConst() local
107 ASSERT_EQ(NO_ERROR, encode(metadataType, input, &vec)); in testHelperMetadataTypeConst()
108 ASSERT_EQ(NO_ERROR, decode(metadataType, vec, &output)); in testHelperMetadataTypeConst()
/frameworks/av/media/codec2/tests/
DC2SampleComponent_test.cpp76 MetadataType metadataType; member
84 C2FIELD(metadataType, "metadata-type")