Home
last modified time | relevance | path

Searched refs:mComposerClient (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/graphics/composer/2.1/vts/functional/
DVtsHalGraphicsComposerV2_1TargetTest.cpp77 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::__anon71d7d22f0111::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/
DVtsHalGraphicsComposerV2_2TargetTest.cpp67 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::__anon46fb56f10111::GraphicsComposerHidlTest
179 void execute() { mComposerClient->execute(mReader.get(), mWriter.get()); } in execute()
194 mComposerClient->createLayer(mPrimaryDisplay, kBufferSlotCount)); in TEST_F()
[all …]
DVtsHalGraphicsComposerV2_2ReadbackTest.cpp71 : 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::__anon8cadd1370111::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/
DVtsHalGraphicsComposerV2_3TargetTest.cpp69 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::__anon1c1edbb30111::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/
Dcodec2.cpp109 sp<SurfaceComposerClient> mComposerClient; member in __anonf5195c740111::SimplePlayer
142 mComposerClient(new SurfaceComposerClient) { in SimplePlayer()
143 CHECK_EQ(mComposerClient->initCheck(), (status_t)OK); in SimplePlayer()
149 mControl = mComposerClient->createSurface( in SimplePlayer()
170 mComposerClient->dispose(); in ~SimplePlayer()