/hardware/interfaces/graphics/composer/2.1/vts/functional/ |
D | VtsHalGraphicsComposerV2_1TargetTest.cpp | 62 ASSERT_NO_FATAL_FAILURE(mComposerClient = mComposer->createClient()); in SetUp() 65 mComposerClient->registerCallback(mComposerCallback); in SetUp() 71 mComposerClient->setVsyncEnabled(mPrimaryDisplay, false); in SetUp() 111 std::unique_ptr<ComposerClient> mComposerClient; member in android::hardware::graphics::composer::V2_1::vts::__anon71d7d22f0111::GraphicsComposerHidlTest 166 if (mComposerClient->getMaxVirtualDisplayCount() == 0) { in TEST_P() 174 display = mComposerClient->createVirtualDisplay(64, 64, PixelFormat::IMPLEMENTATION_DEFINED, in TEST_P() 178 IComposerClient::DisplayType type = mComposerClient->getDisplayType(display); in TEST_P() 181 mComposerClient->destroyVirtualDisplay(display); in TEST_P() 191 if (mComposerClient->getMaxVirtualDisplayCount() == 0) { in TEST_P() 196 Error error = mComposerClient->getRaw()->destroyVirtualDisplay(mInvalidDisplayId); in TEST_P() [all …]
|
/hardware/interfaces/graphics/composer/2.2/vts/functional/ |
D | VtsHalGraphicsComposerV2_2TargetTest.cpp | 50 ASSERT_NO_FATAL_FAILURE(mComposerClient = mComposer->createClient()); in SetUp() 53 mComposerClient->registerCallback(mComposerCallback); in SetUp() 58 Config config = mComposerClient->getActiveConfig(mPrimaryDisplay); in SetUp() 59 mDisplayWidth = mComposerClient->getDisplayAttribute(mPrimaryDisplay, config, in SetUp() 61 mDisplayHeight = mComposerClient->getDisplayAttribute(mPrimaryDisplay, config, in SetUp() 65 mComposerClient->setVsyncEnabled(mPrimaryDisplay, false); in SetUp() 68 mComposerClient->getRaw()->getReadbackBufferAttributes( in SetUp() 111 std::unique_ptr<ComposerClient> mComposerClient; member in android::hardware::graphics::composer::V2_2::vts::__anon46fb56f10111::GraphicsComposerHidlTest 162 void execute() { mComposerClient->execute(mReader.get(), mWriter.get()); } in execute() 177 mComposerClient->createLayer(mPrimaryDisplay, kBufferSlotCount)); in TEST_P() [all …]
|
D | VtsHalGraphicsComposerV2_2ReadbackTest.cpp | 58 ASSERT_NO_FATAL_FAILURE(mComposerClient = mComposer->createClient()); in SetUpBase() 60 mComposerClient->registerCallback(mComposerCallback); in SetUpBase() 65 ASSERT_NO_FATAL_FAILURE(activeConfig = mComposerClient->getActiveConfig(mPrimaryDisplay)); in SetUpBase() 67 mDisplayWidth = mComposerClient->getDisplayAttribute( in SetUpBase() 70 mDisplayHeight = mComposerClient->getDisplayAttribute( in SetUpBase() 76 ASSERT_NO_FATAL_FAILURE(mComposerClient->setVsyncEnabled(mPrimaryDisplay, false)); in SetUpBase() 84 ASSERT_NO_FATAL_FAILURE(mComposerClient->setPowerMode(mPrimaryDisplay, PowerMode::ON)); in SetUpBase() 110 ASSERT_NO_FATAL_FAILURE(mComposerClient->setPowerMode(mPrimaryDisplay, PowerMode::OFF)); in TearDown() 133 ASSERT_NO_FATAL_FAILURE(mComposerClient->execute(mReader.get(), mWriter.get())); in execute() 137 std::shared_ptr<ComposerClient> mComposerClient; member in android::hardware::graphics::composer::V2_2::vts::__anon8cadd1370111::GraphicsCompositionTestBase [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 142 void execute() { mComposerClient->execute(mReader.get(), mWriter.get()); } in execute() 160 if (!mComposerClient->getDisplayIdentificationData(mPrimaryDisplay, &port0, &data0)) { in TEST_P() 178 ASSERT_TRUE(mComposerClient->getDisplayIdentificationData(mPrimaryDisplay, &port1, &data1)); in TEST_P() 192 mComposerClient->createLayer(mPrimaryDisplay, kBufferSlotCount)); in TEST_P() 230 ASSERT_NO_FATAL_FAILURE(mComposerClient->destroyLayer(mPrimaryDisplay, layer)); in TEST_P() [all …]
|
/hardware/interfaces/graphics/composer/2.4/vts/functional/ |
D | VtsHalGraphicsComposerV2_4TargetTest.cpp | 90 ASSERT_NO_FATAL_FAILURE(mComposerClient = mComposer->createClient()); in SetUp() 93 mComposerClient->registerCallback_2_4(mComposerCallback); in SetUp() 102 mComposerClient->setVsyncEnabled(display.get(), false); in SetUp() 146 std::vector<Config> validConfigs = mComposerClient->getDisplayConfigs(display); in GetInvalidConfigId() 158 void execute() { mComposerClient->execute(mReader.get(), mWriter.get()); } in execute() 180 std::unique_ptr<ComposerClient> mComposerClient; member in android::hardware::graphics::composer::V2_4::vts::__anonf14260750111::GraphicsComposerHidlTest 185 const auto displayConfigs = mComposerClient->getDisplayConfigs(display); in forEachTwoConfigs() 204 const auto error = mComposerClient->setActiveConfigWithConstraints(display.get(), config, in setActiveConfigWithConstraints() 207 const int32_t displayWidth = mComposerClient->getDisplayAttribute_2_4( in setActiveConfigWithConstraints() 209 const int32_t displayHeight = mComposerClient->getDisplayAttribute_2_4( in setActiveConfigWithConstraints() [all …]
|
/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/ |
D | ReadbackVts.h | 60 : mLayer(client->createLayer(display, kBufferSlotCount)), mComposerClient(client) {} in TestLayer() 95 std::shared_ptr<ComposerClient> const mComposerClient; 203 std::shared_ptr<ComposerClient> mComposerClient; variable
|
/hardware/interfaces/graphics/composer/2.2/utils/vts/ |
D | ReadbackVts.cpp | 193 mComposerClient = client; in ReadbackBuffer() 217 ASSERT_NO_FATAL_FAILURE(mComposerClient->setReadbackBuffer(mDisplay, mBufferHandle->get(), -1)); in setReadbackBuffer() 223 ASSERT_NO_FATAL_FAILURE(mComposerClient->getReadbackBufferFence(mDisplay, &fenceHandle)); in checkReadbackBuffer()
|