Home
last modified time | relevance | path

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

/hardware/interfaces/graphics/mapper/2.0/vts/functional/
DVtsHalGraphicsMapperV2_0TargetTest.cpp44 ASSERT_NO_FATAL_FAILURE(mGralloc = std::make_unique<Gralloc>(std::get<0>(GetParam()), in SetUp()
57 std::unique_ptr<Gralloc> mGralloc; member in android::hardware::graphics::mapper::V2_0::vts::__anonce2976670111::GraphicsMapperHidlTest
65 mGralloc->dumpDebugInfo(); in TEST_P()
73 ASSERT_NO_FATAL_FAILURE(descriptor = mGralloc->createDescriptor(mDummyDescriptorInfo)); in TEST_P()
79 mGralloc->allocate(descriptor, count, false, &stride)); in TEST_P()
86 mGralloc->freeBuffer(bufferHandle); in TEST_P()
97 mGralloc->getAllocator()->allocate(descriptor, 1, in TEST_P()
112 auto bufferHandle = mGralloc->allocate(info, false); in TEST_P()
113 mGralloc->freeBuffer(bufferHandle); in TEST_P()
122 ASSERT_NO_FATAL_FAILURE(descriptor = mGralloc->createDescriptor(mDummyDescriptorInfo)); in TEST_P()
[all …]
/hardware/interfaces/graphics/mapper/3.0/vts/functional/
DVtsHalGraphicsMapperV3_0TargetTest.cpp44 ASSERT_NO_FATAL_FAILURE(mGralloc = std::make_unique<Gralloc>(std::get<0>(GetParam()), in SetUp()
57 std::unique_ptr<Gralloc> mGralloc; member in android::hardware::graphics::mapper::V3_0::vts::__anon92df6f690111::GraphicsMapperHidlTest
65 mGralloc->dumpDebugInfo(); in TEST_P()
73 ASSERT_NO_FATAL_FAILURE(descriptor = mGralloc->createDescriptor(mDummyDescriptorInfo)); in TEST_P()
79 mGralloc->allocate(descriptor, count, false, &stride)); in TEST_P()
86 mGralloc->freeBuffer(bufferHandle); in TEST_P()
97 mGralloc->getAllocator()->allocate(descriptor, 1, in TEST_P()
112 auto bufferHandle = mGralloc->allocate(info, false); in TEST_P()
113 mGralloc->freeBuffer(bufferHandle); in TEST_P()
122 ASSERT_NO_FATAL_FAILURE(descriptor = mGralloc->createDescriptor(mDummyDescriptorInfo)); in TEST_P()
[all …]
/hardware/interfaces/graphics/mapper/2.1/vts/functional/
DVtsHalGraphicsMapperV2_1TargetTest.cpp43 ASSERT_NO_FATAL_FAILURE(mGralloc = std::make_unique<Gralloc>(std::get<0>(GetParam()), in SetUp()
56 std::unique_ptr<Gralloc> mGralloc; member in android::hardware::graphics::mapper::V2_1::vts::__anon33a946e90111::GraphicsMapperHidlTest
66 ASSERT_NO_FATAL_FAILURE(bufferHandle = mGralloc->allocate(mDummyDescriptorInfo, true, &stride)); in TEST_P()
68 ASSERT_TRUE(mGralloc->validateBufferSize(bufferHandle, mDummyDescriptorInfo, stride)); in TEST_P()
70 ASSERT_NO_FATAL_FAILURE(mGralloc->freeBuffer(bufferHandle)); in TEST_P()
78 Error ret = mGralloc->getMapper()->validateBufferSize(invalidHandle, mDummyDescriptorInfo, in TEST_P()
84 ret = mGralloc->getMapper()->validateBufferSize(invalidHandle, mDummyDescriptorInfo, in TEST_P()
92 mGralloc->allocate(mDummyDescriptorInfo, false))); in TEST_P()
93 ret = mGralloc->getMapper()->validateBufferSize(rawBufferHandle, mDummyDescriptorInfo, in TEST_P()
97 ASSERT_NO_FATAL_FAILURE(mGralloc->freeBuffer(rawBufferHandle)); in TEST_P()
[all …]
/hardware/interfaces/graphics/composer/2.2/vts/functional/
DVtsHalGraphicsComposerV2_2ReadbackTest.cpp183 mGralloc = std::make_shared<Gralloc>(); in SetUp()
277 std::shared_ptr<Gralloc> mGralloc; member in android::hardware::graphics::composer::V2_2::vts::__anon8cadd1370111::GraphicsComposerReadbackTest
305 mGralloc = gralloc; in ReadbackBuffer()
323 mGralloc->freeBuffer(mBufferHandle); in ~ReadbackBuffer()
329 mGralloc->freeBuffer(mBufferHandle); in setReadbackBuffer()
332 mBufferHandle = mGralloc->allocate(mWidth, mHeight, mLayerCount, mFormat, mUsage, in setReadbackBuffer()
334 ASSERT_NE(false, mGralloc->validateBufferSize(mBufferHandle, mWidth, mHeight, mLayerCount, in setReadbackBuffer()
344 void* bufData = mGralloc->lock(mBufferHandle, mUsage, mAccessRegion, fenceHandle); in checkReadbackBuffer()
359 int32_t unlockFence = mGralloc->unlock(mBufferHandle); in checkReadbackBuffer()
378 std::shared_ptr<Gralloc> mGralloc; member in android::hardware::graphics::composer::V2_2::vts::__anon8cadd1370111::ReadbackBuffer
[all …]
DVtsHalGraphicsComposerV2_2TargetTest.cpp161 ASSERT_NO_FATAL_FAILURE(mGralloc = std::make_unique<Gralloc>()); in SetUp()
175 return mGralloc->allocate(/*width*/ 64, /*height*/ 64, /*layerCount*/ 1, in allocate()
185 std::unique_ptr<Gralloc> mGralloc; member in android::hardware::graphics::composer::V2_2::vts::__anon46fb56f10111::GraphicsComposerHidlCommandTest
/hardware/interfaces/graphics/composer/2.3/vts/functional/
DVtsHalGraphicsComposerV2_3TargetTest.cpp147 ASSERT_NO_FATAL_FAILURE(mGralloc = std::make_unique<Gralloc>()); in SetUp()
159 return mGralloc->allocate( in allocate()
170 std::unique_ptr<Gralloc> mGralloc; member in android::hardware::graphics::composer::V2_3::vts::__anon1c1edbb30111::GraphicsComposerHidlCommandTest
/hardware/interfaces/graphics/composer/2.1/vts/functional/
DVtsHalGraphicsComposerV2_1TargetTest.cpp670 ASSERT_NO_FATAL_FAILURE(mGralloc = std::make_unique<Gralloc>()); in SetUp()
689 return mGralloc->allocate(mDisplayWidth, mDisplayHeight, 1, PixelFormat::RGBA_8888, usage); in allocate()
700 std::unique_ptr<Gralloc> mGralloc; member in android::hardware::graphics::composer::V2_1::vts::__anon71d7d22f0111::GraphicsComposerHidlCommandTest