/hardware/interfaces/graphics/composer/2.2/vts/functional/ |
D | VtsHalGraphicsComposerV2_2TargetTest.cpp | 51 ASSERT_NO_FATAL_FAILURE(mComposerClient = mComposer->createClient()); in SetUp() 54 mComposerClient->registerCallback(mComposerCallback); in SetUp() 59 Config config = mComposerClient->getActiveConfig(mPrimaryDisplay); in SetUp() 60 mDisplayWidth = mComposerClient->getDisplayAttribute(mPrimaryDisplay, config, in SetUp() 62 mDisplayHeight = mComposerClient->getDisplayAttribute(mPrimaryDisplay, config, in SetUp() 66 mComposerClient->setVsyncEnabled(mPrimaryDisplay, false); in SetUp() 69 mComposerClient->getRaw()->getReadbackBufferAttributes( in SetUp() 112 std::unique_ptr<ComposerClient> mComposerClient; member in android::hardware::graphics::composer::V2_2::vts::__anon46fb56f10111::GraphicsComposerHidlTest 163 void execute() { mComposerClient->execute(mReader.get(), mWriter.get()); } in execute() 178 mComposerClient->createLayer(mPrimaryDisplay, kBufferSlotCount)); in TEST_P() [all …]
|
D | VtsHalGraphicsComposerV2_2ReadbackTest.cpp | 60 ASSERT_NO_FATAL_FAILURE(mComposerClient = mComposer->createClient()); in SetUpBase() 62 mComposerClient->registerCallback(mComposerCallback); in SetUpBase() 67 ASSERT_NO_FATAL_FAILURE(activeConfig = mComposerClient->getActiveConfig(mPrimaryDisplay)); in SetUpBase() 69 mDisplayWidth = mComposerClient->getDisplayAttribute( in SetUpBase() 72 mDisplayHeight = mComposerClient->getDisplayAttribute( in SetUpBase() 78 ASSERT_NO_FATAL_FAILURE(mComposerClient->setVsyncEnabled(mPrimaryDisplay, false)); in SetUpBase() 86 ASSERT_NO_FATAL_FAILURE(mComposerClient->setPowerMode(mPrimaryDisplay, PowerMode::ON)); in SetUpBase() 111 ASSERT_NO_FATAL_FAILURE(mComposerClient->setPowerMode(mPrimaryDisplay, PowerMode::OFF)); in TearDown() 134 ASSERT_NO_FATAL_FAILURE(mComposerClient->execute(mReader.get(), mWriter.get())); in execute() 138 std::shared_ptr<ComposerClient> mComposerClient; member in android::hardware::graphics::composer::V2_2::vts::__anon8cadd1370111::GraphicsCompositionTestBase [all …]
|
/hardware/interfaces/graphics/composer/2.1/vts/functional/ |
D | VtsHalGraphicsComposerV2_1TargetTest.cpp | 61 ASSERT_NO_FATAL_FAILURE(mComposerClient = mComposer->createClient()); in SetUp() 64 mComposerClient->registerCallback(mComposerCallback); in SetUp() 70 mComposerClient->setVsyncEnabled(mPrimaryDisplay, false); in SetUp() 110 std::unique_ptr<ComposerClient> mComposerClient; member in android::hardware::graphics::composer::V2_1::vts::__anon71d7d22f0111::GraphicsComposerHidlTest 165 if (mComposerClient->getMaxVirtualDisplayCount() == 0) { in TEST_P() 173 display = mComposerClient->createVirtualDisplay(64, 64, PixelFormat::IMPLEMENTATION_DEFINED, in TEST_P() 177 IComposerClient::DisplayType type = mComposerClient->getDisplayType(display); in TEST_P() 180 mComposerClient->destroyVirtualDisplay(display); in TEST_P() 190 if (mComposerClient->getMaxVirtualDisplayCount() == 0) { in TEST_P() 195 Error error = mComposerClient->getRaw()->destroyVirtualDisplay(mInvalidDisplayId); in TEST_P() [all …]
|
/hardware/interfaces/graphics/composer/2.3/vts/functional/ |
D | VtsHalGraphicsComposerV2_3TargetTest.cpp | 53 ASSERT_NO_FATAL_FAILURE(mComposerClient = mComposer->createClient()); in SetUp() 56 mComposerClient->registerCallback(mComposerCallback); in SetUp() 64 mComposerClient->setVsyncEnabled(mPrimaryDisplay, false); in SetUp() 97 void execute() { mComposerClient->execute(mReader.get(), mWriter.get()); } in execute() 103 std::unique_ptr<ComposerClient> mComposerClient; member in android::hardware::graphics::composer::V2_3::vts::__anon1c1edbb30111::GraphicsComposerHidlTest 148 void execute() { mComposerClient->execute(mReader.get(), mWriter.get()); } in execute() 165 if (mComposerClient->getDisplayIdentificationData(mPrimaryDisplay, &port0, &data0)) { in TEST_P() 168 ASSERT_TRUE(mComposerClient->getDisplayIdentificationData(mPrimaryDisplay, &port1, &data1)); in TEST_P() 183 mComposerClient->createLayer(mPrimaryDisplay, kBufferSlotCount)); in TEST_P() 221 ASSERT_NO_FATAL_FAILURE(mComposerClient->destroyLayer(mPrimaryDisplay, layer)); in TEST_P() [all …]
|
/hardware/interfaces/graphics/composer/2.4/vts/functional/ |
D | VtsHalGraphicsComposerV2_4TargetTest.cpp | 65 ASSERT_NO_FATAL_FAILURE(mComposerClient = mComposer->createClient()); in SetUp() 68 mComposerClient->registerCallback_2_4(mComposerCallback); in SetUp() 76 mComposerClient->setVsyncEnabled(mPrimaryDisplay, false); in SetUp() 116 std::vector<Config> validConfigs = mComposerClient->getDisplayConfigs(display); in GetInvalidConfigId() 128 void execute() { mComposerClient->execute(mReader.get(), mWriter.get()); } in execute() 131 const auto displayConfigs = mComposerClient->getDisplayConfigs(display); in forEachTwoConfigs() 150 std::unique_ptr<ComposerClient> mComposerClient; member in android::hardware::graphics::composer::V2_4::vts::__anonf14260750111::GraphicsComposerHidlTest 180 const Config activeConfig = mComposerClient->getActiveConfig(mPrimaryDisplay); in SetUp() 181 mDisplayWidth = mComposerClient->getDisplayAttribute_2_4(mPrimaryDisplay, activeConfig, in SetUp() 183 mDisplayHeight = mComposerClient->getDisplayAttribute_2_4( in SetUp() [all …]
|
/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/ |
D | ReadbackVts.h | 56 : mLayer(client->createLayer(display, kBufferSlotCount)), mComposerClient(client) {} in TestLayer() 91 std::shared_ptr<ComposerClient> const mComposerClient; 200 std::shared_ptr<ComposerClient> mComposerClient; variable
|
/hardware/interfaces/graphics/composer/2.2/utils/vts/ |
D | ReadbackVts.cpp | 191 mComposerClient = client; in ReadbackBuffer() 224 ASSERT_NO_FATAL_FAILURE(mComposerClient->setReadbackBuffer(mDisplay, mBufferHandle, -1)); in setReadbackBuffer() 230 ASSERT_NO_FATAL_FAILURE(mComposerClient->getReadbackBufferFence(mDisplay, &fenceHandle)); in checkReadbackBuffer()
|