Home
last modified time | relevance | path

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

/hardware/interfaces/graphics/mapper/2.1/utils/vts/
DMapperVts.cpp46 Gralloc::Gralloc(bool errOnFailure) : V2_0::vts::Gralloc() { in Gralloc() function in android::hardware::graphics::mapper::V2_1::vts::Gralloc
53 Gralloc::Gralloc(const std::string& allocatorServiceName, const std::string& mapperServiceName, in Gralloc() function in android::hardware::graphics::mapper::V2_1::vts::Gralloc
55 : V2_0::vts::Gralloc(allocatorServiceName, mapperServiceName) { in Gralloc()
62 void Gralloc::init(bool errOnFailure) { in init()
63 mMapperV2_1 = IMapper::castFrom(V2_0::vts::Gralloc::getMapper()); in init()
67 sp<IMapper> Gralloc::getMapper() const { in getMapper()
71 bool Gralloc::validateBufferSize(const native_handle_t* bufferHandle, in validateBufferSize()
80 void Gralloc::getTransportSize(const native_handle_t* bufferHandle, uint32_t* outNumFds, in getTransportSize()
97 BufferDescriptor Gralloc::createDescriptor(const IMapper::BufferDescriptorInfo& descriptorInfo) { in createDescriptor()
108 const native_handle_t* Gralloc::allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, in allocate()
[all …]
/hardware/interfaces/graphics/mapper/3.0/utils/vts/
DMapperVts.cpp28 Gralloc::Gralloc(const std::string& allocatorServiceName, const std::string& mapperServiceName, in Gralloc() function in android::hardware::graphics::mapper::V3_0::vts::Gralloc
37 void Gralloc::init(const std::string& allocatorServiceName, const std::string& mapperServiceName) { in init()
46 void Gralloc::initNoErr(const std::string& allocatorServiceName, in initNoErr()
56 Gralloc::~Gralloc() { in ~Gralloc()
71 sp<IAllocator> Gralloc::getAllocator() const { in getAllocator()
75 std::string Gralloc::dumpDebugInfo() { in dumpDebugInfo()
82 const native_handle_t* Gralloc::cloneBuffer(const hidl_handle& rawHandle) { in cloneBuffer()
93 std::vector<const native_handle_t*> Gralloc::allocate(const BufferDescriptor& descriptor, in allocate()
124 const native_handle_t* Gralloc::allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, in allocate()
139 sp<IMapper> Gralloc::getMapper() const { in getMapper()
[all …]
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp28 Gralloc::Gralloc(const std::string& allocatorServiceName, const std::string& mapperServiceName) { in Gralloc() function in android::hardware::graphics::mapper::V2_0::vts::Gralloc
32 void Gralloc::init(const std::string& allocatorServiceName, const std::string& mapperServiceName) { in init()
41 Gralloc::~Gralloc() { in ~Gralloc()
56 sp<IAllocator> Gralloc::getAllocator() const { in getAllocator()
60 std::string Gralloc::dumpDebugInfo() { in dumpDebugInfo()
67 const native_handle_t* Gralloc::cloneBuffer(const hidl_handle& rawHandle) { in cloneBuffer()
78 std::vector<const native_handle_t*> Gralloc::allocate(const BufferDescriptor& descriptor, in allocate()
109 const native_handle_t* Gralloc::allocate(const IMapper::BufferDescriptorInfo& descriptorInfo, in allocate()
124 sp<IMapper> Gralloc::getMapper() const { in getMapper()
128 BufferDescriptor Gralloc::createDescriptor(const IMapper::BufferDescriptorInfo& descriptorInfo) { in createDescriptor()
[all …]
/hardware/interfaces/graphics/mapper/2.1/utils/vts/include/mapper-vts/2.1/
DMapperVts.h33 class Gralloc : public V2_0::vts::Gralloc {
35 Gralloc(bool errOnFailure = true);
36 Gralloc(const std::string& allocatorServiceName, const std::string& mapperServiceName,
/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/
DComposerVts.h47 using Gralloc2 = android::hardware::graphics::mapper::V2_0::vts::Gralloc;
48 using Gralloc2_1 = android::hardware::graphics::mapper::V2_1::vts::Gralloc;
49 using Gralloc3 = android::hardware::graphics::mapper::V3_0::vts::Gralloc;
93 class Gralloc : public V2_1::vts::Gralloc {
95 Gralloc();
99 return V2_1::vts::Gralloc::allocate(
/hardware/interfaces/graphics/mapper/2.0/utils/vts/include/mapper-vts/2.0/
DMapperVts.h37 class Gralloc {
39 Gralloc(const std::string& allocatorServiceName = "default",
41 ~Gralloc();
/hardware/interfaces/graphics/mapper/3.0/utils/vts/include/mapper-vts/3.0/
DMapperVts.h37 class Gralloc {
39 Gralloc(const std::string& allocatorServiceName = "default",
41 ~Gralloc();
/hardware/interfaces/graphics/composer/2.1/utils/vts/include/composer-vts/2.1/
DComposerVts.h47 using Gralloc2 = android::hardware::graphics::mapper::V2_0::vts::Gralloc;
48 using Gralloc3 = android::hardware::graphics::mapper::V3_0::vts::Gralloc;
138 class Gralloc {
140 explicit Gralloc();
/hardware/interfaces/graphics/composer/2.1/utils/vts/
DComposerVts.cpp318 Gralloc::Gralloc() { in Gralloc() function in android::hardware::graphics::composer::V2_1::vts::Gralloc
329 const native_handle_t* Gralloc::allocate(uint32_t width, uint32_t height, uint32_t layerCount, in allocate()
351 void* Gralloc::lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock()
373 int Gralloc::unlock(const native_handle_t* bufferHandle) { in unlock()
381 void Gralloc::freeBuffer(const native_handle_t* bufferHandle) { in freeBuffer()
/hardware/interfaces/graphics/composer/2.2/vts/functional/
DVtsHalGraphicsComposerV2_2TargetTest.cpp161 ASSERT_NO_FATAL_FAILURE(mGralloc = std::make_unique<Gralloc>()); in SetUp()
185 std::unique_ptr<Gralloc> mGralloc;
457 std::unique_ptr<Gralloc> gralloc; in TEST_F()
459 ASSERT_NO_FATAL_FAILURE(gralloc = std::make_unique<Gralloc>()); in TEST_F()
480 std::unique_ptr<Gralloc> gralloc; in TEST_F()
482 ASSERT_NO_FATAL_FAILURE(gralloc = std::make_unique<Gralloc>()); in TEST_F()
DVtsHalGraphicsComposerV2_2ReadbackTest.cpp183 mGralloc = std::make_shared<Gralloc>(); in SetUp()
277 std::shared_ptr<Gralloc> mGralloc;
300 const std::shared_ptr<Gralloc>& gralloc, uint32_t width, uint32_t height, in ReadbackBuffer()
378 std::shared_ptr<Gralloc> mGralloc;
402 const std::shared_ptr<Gralloc>& gralloc, Display display, int32_t width, in TestBufferLayer()
475 std::shared_ptr<Gralloc> mGralloc;
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DComposerVts.cpp183 Gralloc::Gralloc() { in Gralloc() function in android::hardware::graphics::composer::V2_2::vts::Gralloc
201 bool Gralloc::validateBufferSize(const native_handle_t* bufferHandle, uint32_t width, in validateBufferSize()
/hardware/interfaces/graphics/mapper/2.0/vts/functional/
DVtsHalGraphicsMapperV2_0TargetTest.cpp57 mGralloc = std::make_unique<Gralloc>( in SetUp()
71 std::unique_ptr<Gralloc> mGralloc;
220 std::unique_ptr<Gralloc> anotherGralloc; in TEST_F()
222 anotherGralloc = std::make_unique<Gralloc>( in TEST_F()
/hardware/interfaces/graphics/mapper/3.0/vts/functional/
DVtsHalGraphicsMapperV3_0TargetTest.cpp57 mGralloc = std::make_unique<Gralloc>( in SetUp()
71 std::unique_ptr<Gralloc> mGralloc;
220 std::unique_ptr<Gralloc> anotherGralloc; in TEST_F()
222 anotherGralloc = std::make_unique<Gralloc>( in TEST_F()
/hardware/interfaces/graphics/mapper/2.1/vts/functional/
DVtsHalGraphicsMapperV2_1TargetTest.cpp56 mGralloc = std::make_unique<Gralloc>( in SetUp()
70 std::unique_ptr<Gralloc> mGralloc;
/hardware/interfaces/media/omx/1.0/vts/functional/common/
Dmedia_hidl_test_common.cpp253 using Gralloc = std::remove_reference_t<decltype(gralloc)>; in allocateGraphicBuffers() typedef
254 using Descriptor = typename Gralloc::Descriptor; in allocateGraphicBuffers()
255 using DescriptorInfo = typename Gralloc::DescriptorInfo; in allocateGraphicBuffers()
256 using Error = typename Gralloc::Error; in allocateGraphicBuffers()
257 using Format = typename Gralloc::Format; in allocateGraphicBuffers()
258 using Usage = typename Gralloc::Usage; in allocateGraphicBuffers()
/hardware/interfaces/graphics/composer/2.3/vts/functional/
DVtsHalGraphicsComposerV2_3TargetTest.cpp44 using V2_2::vts::Gralloc;
147 ASSERT_NO_FATAL_FAILURE(mGralloc = std::make_unique<Gralloc>()); in SetUp()
170 std::unique_ptr<Gralloc> mGralloc;
/hardware/interfaces/media/omx/1.0/vts/functional/video/
DVtsHalMediaOmxV1_0TargetVideoEncTest.cpp640 using Gralloc = std::remove_reference_t<decltype(mapper)>; in colorFormatConversion() typedef
641 using Error = typename Gralloc::Error; in colorFormatConversion()
642 using Rect = typename Gralloc::Rect; in colorFormatConversion()
643 using Usage = typename Gralloc::Usage; in colorFormatConversion()
644 using YCbCrLayout = typename Gralloc::YCbCrLayout; in colorFormatConversion()
769 using Gralloc = std::remove_reference_t<decltype(mapper)>; in fillGraphicBuffer() typedef
770 using Error = typename Gralloc::Error; in fillGraphicBuffer()
/hardware/interfaces/automotive/evs/1.0/
Dtypes.hal64 uint32_t usage; // May contain values from from Gralloc.h
/hardware/interfaces/graphics/composer/2.1/vts/functional/
DVtsHalGraphicsComposerV2_1TargetTest.cpp670 ASSERT_NO_FATAL_FAILURE(mGralloc = std::make_unique<Gralloc>()); in SetUp()
700 std::unique_ptr<Gralloc> mGralloc;