/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/composer/2.2/utils/vts/ |
D | ReadbackVts.cpp | 194 mGralloc = gralloc; in ReadbackBuffer() 213 mGralloc->allocate(mWidth, mHeight, mLayerCount, mFormat, mUsage, in setReadbackBuffer() 215 ASSERT_NE(false, mGralloc->validateBufferSize(mBufferHandle->get(), mWidth, mHeight, in setReadbackBuffer() 225 void* bufData = mGralloc->lock(mBufferHandle->get(), mUsage, mAccessRegion, fenceHandle); in checkReadbackBuffer() 229 int32_t unlockFence = mGralloc->unlock(mBufferHandle->get()); in checkReadbackBuffer() 258 mGralloc = gralloc; 306 void* bufData = mGralloc->lock(mBufferHandle->get(), mUsage, mAccessRegion, -1); in fillBuffer() 309 mFillFence = mGralloc->unlock(mBufferHandle->get()); in fillBuffer() 318 mGralloc->allocate(mWidth, mHeight, mLayerCount, mFormat, mUsage, in setBuffer() 322 ASSERT_NE(false, mGralloc->validateBufferSize(mBufferHandle->get(), mWidth, mHeight, in setBuffer()
|
/hardware/interfaces/graphics/composer/2.2/vts/functional/ |
D | VtsHalGraphicsComposerV2_2ReadbackTest.cpp | 82 mGralloc = std::make_shared<Gralloc>(); in SetUpBase() 147 std::shared_ptr<Gralloc> mGralloc; member in android::hardware::graphics::composer::V2_2::vts::__anon8cadd1370111::GraphicsCompositionTestBase 224 ReadbackBuffer readbackBuffer(mPrimaryDisplay, mComposerClient, mGralloc, mDisplayWidth, in TEST_P() 276 ReadbackBuffer readbackBuffer(mPrimaryDisplay, mComposerClient, mGralloc, mDisplayWidth, in TEST_P() 290 mComposerClient, mGralloc, *mTestRenderEngine, mPrimaryDisplay, mDisplayWidth, in TEST_P() 357 mGralloc->allocate(mDisplayWidth, mDisplayHeight, 1, PixelFormat::RGBA_8888, usage); in TEST_P() 364 ReadbackBuffer readbackBuffer(mPrimaryDisplay, mComposerClient, mGralloc, mDisplayWidth, in TEST_P() 424 mComposerClient, mGralloc, *mTestRenderEngine, mPrimaryDisplay, mDisplayWidth, in TEST_P() 432 ReadbackBuffer readbackBuffer(mPrimaryDisplay, mComposerClient, mGralloc, mDisplayWidth, in TEST_P() 468 mGralloc->allocate(layer->mWidth, layer->mHeight, layer->mLayerCount, in TEST_P() [all …]
|
D | VtsHalGraphicsComposerV2_2TargetTest.cpp | 144 ASSERT_NO_FATAL_FAILURE(mGralloc = std::make_unique<Gralloc>()); in SetUp() 158 return mGralloc->allocate(/*width*/ 64, /*height*/ 64, /*layerCount*/ 1, in allocate() 168 std::unique_ptr<Gralloc> mGralloc; member in android::hardware::graphics::composer::V2_2::vts::__anon46fb56f10111::GraphicsComposerHidlCommandTest
|
/hardware/interfaces/graphics/composer/2.1/utils/vts/include/composer-vts/2.1/ |
D | ComposerVts.h | 145 : mGralloc(gralloc), mHandle(handle) {} in NativeHandleWrapper() 152 Gralloc& mGralloc;
|
/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/ |
D | ReadbackVts.h | 143 std::shared_ptr<Gralloc> mGralloc; variable 202 std::shared_ptr<Gralloc> mGralloc; variable
|
/hardware/interfaces/graphics/composer/2.4/vts/functional/ |
D | VtsHalGraphicsComposerV2_4TargetTest.cpp | 106 ASSERT_NO_FATAL_FAILURE(mGralloc = std::make_unique<Gralloc>()); in SetUp() 161 return mGralloc->allocate( in allocate() 258 std::unique_ptr<Gralloc> mGralloc; member in android::hardware::graphics::composer::V2_4::vts::__anonf14260750111::GraphicsComposerHidlTest
|
/hardware/interfaces/graphics/composer/2.1/vts/functional/ |
D | VtsHalGraphicsComposerV2_1TargetTest.cpp | 654 ASSERT_NO_FATAL_FAILURE(mGralloc = std::make_unique<Gralloc>()); in SetUp() 673 return mGralloc->allocate(mDisplayWidth, mDisplayHeight, 1, PixelFormat::RGBA_8888, usage); in allocate() 684 std::unique_ptr<Gralloc> mGralloc; member in android::hardware::graphics::composer::V2_1::vts::__anon71d7d22f0111::GraphicsComposerHidlCommandTest
|
/hardware/interfaces/graphics/composer/2.3/vts/functional/ |
D | VtsHalGraphicsComposerV2_3TargetTest.cpp | 131 ASSERT_NO_FATAL_FAILURE(mGralloc = std::make_unique<Gralloc>()); in SetUp() 148 std::unique_ptr<Gralloc> mGralloc; member in android::hardware::graphics::composer::V2_3::vts::__anon1c1edbb30111::GraphicsComposerHidlCommandTest
|
/hardware/interfaces/graphics/composer/2.1/utils/vts/ |
D | ComposerVts.cpp | 313 mGralloc.freeBuffer(mHandle); in ~NativeHandleWrapper()
|