/hardware/interfaces/graphics/mapper/2.0/vts/functional/ |
D | VtsHalGraphicsMapperV2_0TargetTest.cpp | 44 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/ |
D | VtsHalGraphicsMapperV3_0TargetTest.cpp | 44 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/ |
D | VtsHalGraphicsMapperV2_1TargetTest.cpp | 43 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/ |
D | VtsHalGraphicsComposerV2_2ReadbackTest.cpp | 183 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 …]
|
D | VtsHalGraphicsComposerV2_2TargetTest.cpp | 161 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/ |
D | VtsHalGraphicsComposerV2_3TargetTest.cpp | 147 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/ |
D | VtsHalGraphicsComposerV2_1TargetTest.cpp | 670 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
|