/hardware/interfaces/graphics/composer/2.1/vts/functional/ |
D | VtsHalGraphicsComposerV2_1TargetTest.cpp | 77 ASSERT_NO_FATAL_FAILURE(mComposerClient = mComposer->createClient()); in SetUp() 80 mComposerClient->registerCallback(mComposerCallback); in SetUp() 86 mComposerClient->setVsyncEnabled(mPrimaryDisplay, false); in SetUp() 127 std::unique_ptr<ComposerClient> mComposerClient; member in android::hardware::graphics::composer::V2_1::vts::__anoncdb7fe980111::GraphicsComposerHidlTest 182 if (mComposerClient->getMaxVirtualDisplayCount() == 0) { in TEST_F() 190 display = mComposerClient->createVirtualDisplay(64, 64, PixelFormat::IMPLEMENTATION_DEFINED, in TEST_F() 194 IComposerClient::DisplayType type = mComposerClient->getDisplayType(display); in TEST_F() 197 mComposerClient->destroyVirtualDisplay(display); in TEST_F() 207 if (mComposerClient->getMaxVirtualDisplayCount() == 0) { in TEST_F() 212 Error error = mComposerClient->getRaw()->destroyVirtualDisplay(mInvalidDisplayId); in TEST_F() [all …]
|
/hardware/interfaces/graphics/composer/2.2/vts/functional/ |
D | VtsHalGraphicsComposerV2_2TargetTest.cpp | 67 ASSERT_NO_FATAL_FAILURE(mComposerClient = mComposer->createClient()); in SetUp() 70 mComposerClient->registerCallback(mComposerCallback); in SetUp() 75 Config config = mComposerClient->getActiveConfig(mPrimaryDisplay); in SetUp() 76 mDisplayWidth = mComposerClient->getDisplayAttribute(mPrimaryDisplay, config, in SetUp() 78 mDisplayHeight = mComposerClient->getDisplayAttribute(mPrimaryDisplay, config, in SetUp() 82 mComposerClient->setVsyncEnabled(mPrimaryDisplay, false); in SetUp() 85 mComposerClient->getRaw()->getReadbackBufferAttributes( in SetUp() 128 std::unique_ptr<ComposerClient> mComposerClient; member in android::hardware::graphics::composer::V2_2::vts::__anona2db835a0111::GraphicsComposerHidlTest 179 void execute() { mComposerClient->execute(mReader.get(), mWriter.get()); } in execute() 194 mComposerClient->createLayer(mPrimaryDisplay, kBufferSlotCount)); in TEST_F() [all …]
|
D | VtsHalGraphicsComposerV2_2ReadbackTest.cpp | 71 : mLayer(client->createLayer(display, kBufferSlotCount)), mComposerClient(client) {} in TestLayer() 114 std::shared_ptr<ComposerClient> const mComposerClient; member in android::hardware::graphics::composer::V2_2::vts::__anon614abbe00111::TestLayer 161 ASSERT_NO_FATAL_FAILURE(mComposerClient = mComposer->createClient()); in SetUp() 163 mComposerClient->registerCallback(mComposerCallback); in SetUp() 168 ASSERT_NO_FATAL_FAILURE(activeConfig = mComposerClient->getActiveConfig(mPrimaryDisplay)); in SetUp() 170 mDisplayWidth = mComposerClient->getDisplayAttribute( in SetUp() 173 mDisplayHeight = mComposerClient->getDisplayAttribute( in SetUp() 177 ASSERT_NO_FATAL_FAILURE(mComposerClient->setVsyncEnabled(mPrimaryDisplay, false)); in SetUp() 185 std::vector<ColorMode> colorModes = mComposerClient->getColorModes(mPrimaryDisplay); in SetUp() 191 ASSERT_NO_FATAL_FAILURE(mComposerClient->setColorMode(mPrimaryDisplay, ColorMode::SRGB, in SetUp() [all …]
|
/hardware/interfaces/graphics/composer/2.3/vts/functional/ |
D | VtsHalGraphicsComposerV2_3TargetTest.cpp | 69 ASSERT_NO_FATAL_FAILURE(mComposerClient = mComposer->createClient()); in SetUp() 72 mComposerClient->registerCallback(mComposerCallback); in SetUp() 80 mComposerClient->setVsyncEnabled(mPrimaryDisplay, false); in SetUp() 113 void execute() { mComposerClient->execute(mReader.get(), mWriter.get()); } in execute() 119 std::unique_ptr<ComposerClient> mComposerClient; member in android::hardware::graphics::composer::V2_3::vts::__anon77ff081c0111::GraphicsComposerHidlTest 164 void execute() { mComposerClient->execute(mReader.get(), mWriter.get()); } in execute() 181 if (mComposerClient->getDisplayIdentificationData(mPrimaryDisplay, &port0, &data0)) { in TEST_F() 184 ASSERT_TRUE(mComposerClient->getDisplayIdentificationData(mPrimaryDisplay, &port1, &data1)); in TEST_F() 199 mComposerClient->createLayer(mPrimaryDisplay, kBufferSlotCount)); in TEST_F() 237 ASSERT_NO_FATAL_FAILURE(mComposerClient->destroyLayer(mPrimaryDisplay, layer)); in TEST_F() [all …]
|
/hardware/google/av/media/codecs/cmds/ |
D | codec2.cpp | 110 sp<SurfaceComposerClient> mComposerClient; member in __anona475c49d0111::SimplePlayer 143 mComposerClient(new SurfaceComposerClient) { in SimplePlayer() 144 CHECK_EQ(mComposerClient->initCheck(), (status_t)OK); in SimplePlayer() 150 mControl = mComposerClient->createSurface( in SimplePlayer() 171 mComposerClient->dispose(); in ~SimplePlayer()
|