Home
last modified time | relevance | path

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

/frameworks/native/libs/gralloc/types/tests/
DGralloc4_test.cpp144 …ASSERT_NO_FATAL_FAILURE(testHelperMetadataType(GetParam(), gralloc4::encodeUint32, gralloc4::decod… in TEST_P()
148 …ASSERT_NO_FATAL_FAILURE(testHelper(GetParam(), gralloc4::encodePixelFormatFourCC, gralloc4::decode… in TEST_P()
159 …ASSERT_NO_FATAL_FAILURE(testHelperMetadataType(GetParam(), gralloc4::encodeInt32, gralloc4::decode… in TEST_P()
170 …ASSERT_NO_FATAL_FAILURE(testHelperMetadataType(GetParam(), gralloc4::encodeUint64, gralloc4::decod… in TEST_P()
174 …ASSERT_NO_FATAL_FAILURE(testHelper(GetParam(), gralloc4::encodeBufferId, gralloc4::decodeBufferId)… in TEST_P()
178 ASSERT_NO_FATAL_FAILURE(testHelper(GetParam(), gralloc4::encodeWidth, gralloc4::decodeWidth)); in TEST_P()
182 ASSERT_NO_FATAL_FAILURE(testHelper(GetParam(), gralloc4::encodeHeight, gralloc4::decodeHeight)); in TEST_P()
186 …ASSERT_NO_FATAL_FAILURE(testHelper(GetParam(), gralloc4::encodeLayerCount, gralloc4::decodeLayerCo… in TEST_P()
190 …ASSERT_NO_FATAL_FAILURE(testHelper(GetParam(), gralloc4::encodePixelFormatModifier, gralloc4::deco… in TEST_P()
194 ASSERT_NO_FATAL_FAILURE(testHelper(GetParam(), gralloc4::encodeUsage, gralloc4::decodeUsage)); in TEST_P()
[all …]
/frameworks/native/libs/gralloc/types/fuzzer/
Dgralloctypes.cpp57 GRALLOCTYPES_DECODE(BufferDescriptorInfo, ::android::gralloc4::decodeBufferDescriptorInfo),
58 GRALLOCTYPES_DECODE(uint64_t, ::android::gralloc4::decodeBufferId),
59 GRALLOCTYPES_DECODE(std::string, ::android::gralloc4::decodeName),
60 GRALLOCTYPES_DECODE(uint64_t, ::android::gralloc4::decodeWidth),
61 GRALLOCTYPES_DECODE(uint64_t, ::android::gralloc4::decodeHeight),
62 GRALLOCTYPES_DECODE(uint64_t, ::android::gralloc4::decodeLayerCount),
63 …DE(::android::hardware::graphics::common::V1_2::PixelFormat, ::android::gralloc4::decodePixelForma…
64 GRALLOCTYPES_DECODE(uint32_t, ::android::gralloc4::decodePixelFormatFourCC),
65 GRALLOCTYPES_DECODE(uint64_t, ::android::gralloc4::decodePixelFormatModifier),
66 GRALLOCTYPES_DECODE(uint64_t, ::android::gralloc4::decodeUsage),
[all …]
/frameworks/native/libs/ui/
DGralloc4.cpp300 if (!gralloc4::isStandardPlaneLayoutComponentType(planeLayoutComponent.type)) { in lock()
465 return get(bufferHandle, gralloc4::MetadataType_BufferId, gralloc4::decodeBufferId, in getBufferId()
470 return get(bufferHandle, gralloc4::MetadataType_Name, gralloc4::decodeName, outName); in getName()
474 return get(bufferHandle, gralloc4::MetadataType_Width, gralloc4::decodeWidth, outWidth); in getWidth()
478 return get(bufferHandle, gralloc4::MetadataType_Height, gralloc4::decodeHeight, outHeight); in getHeight()
483 return get(bufferHandle, gralloc4::MetadataType_LayerCount, gralloc4::decodeLayerCount, in getLayerCount()
489 return get(bufferHandle, gralloc4::MetadataType_PixelFormatRequested, in getPixelFormatRequested()
490 gralloc4::decodePixelFormatRequested, outPixelFormatRequested); in getPixelFormatRequested()
495 return get(bufferHandle, gralloc4::MetadataType_PixelFormatFourCC, in getPixelFormatFourCC()
496 gralloc4::decodePixelFormatFourCC, outPixelFormatFourCC); in getPixelFormatFourCC()
[all …]
/frameworks/native/libs/gralloc/types/include/gralloctypes/
DGralloc4.h35 namespace gralloc4 {
/frameworks/native/libs/gralloc/types/
DGralloc4.cpp50 namespace gralloc4 { namespace