Home
last modified time | relevance | path

Searched refs:mBGSurfaceControl (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/
DCredentials_test.cpp46 mBGSurfaceControl.clear(); in TearDown()
55 sp<SurfaceControl> mBGSurfaceControl; member in android::CredentialsTest
73 mBGSurfaceControl = in setupBackgroundSurface()
76 ASSERT_TRUE(mBGSurfaceControl != nullptr); in setupBackgroundSurface()
77 ASSERT_TRUE(mBGSurfaceControl->isValid()); in setupBackgroundSurface()
82 t.setLayer(mBGSurfaceControl, INT_MAX - 3).show(mBGSurfaceControl).apply()); in setupBackgroundSurface()
275 return ScreenshotClient::captureLayers(mBGSurfaceControl->getHandle(), in TEST_F()
296 mBGSurfaceControl->getSurface()->getIGraphicBufferProducer(); in TEST_F()
DSurfaceInterceptor_test.cpp138 mBGSurfaceControl.clear(); in TearDown()
143 sp<SurfaceControl> mBGSurfaceControl; member in android::SurfaceInterceptorTest
253 mBGSurfaceControl = mComposerClient->createSurface( in setupBackgroundSurface()
256 ASSERT_TRUE(mBGSurfaceControl != nullptr); in setupBackgroundSurface()
257 ASSERT_TRUE(mBGSurfaceControl->isValid()); in setupBackgroundSurface()
261 ASSERT_EQ(NO_ERROR, t.setLayer(mBGSurfaceControl, INT_MAX-3) in setupBackgroundSurface()
262 .show(mBGSurfaceControl) in setupBackgroundSurface()
310 t.setPosition(mBGSurfaceControl, POSITION_UPDATE, POSITION_UPDATE); in positionUpdate()
314 t.setSize(mBGSurfaceControl, SIZE_UPDATE, SIZE_UPDATE); in sizeUpdate()
318 t.setAlpha(mBGSurfaceControl, ALPHA_UPDATE); in alphaUpdate()
[all …]
DTransaction_test.cpp4169 mBGSurfaceControl = createLayer(String8("BG Test Surface"), displayWidth, in SetUp()
4171 ASSERT_TRUE(mBGSurfaceControl != nullptr); in SetUp()
4172 ASSERT_TRUE(mBGSurfaceControl->isValid()); in SetUp()
4173 fillSurfaceRGBA8(mBGSurfaceControl, 63, 63, 195); in SetUp()
4193 t.setLayer(mBGSurfaceControl, INT32_MAX - 2).show(mBGSurfaceControl); in SetUp()
4207 mBGSurfaceControl = 0; in TearDown()
4223 sp<SurfaceControl> mBGSurfaceControl; member in android::LayerUpdateTest
4567 fillSurfaceRGBA8(mBGSurfaceControl, 0, 0, 254); in TEST_F()
4619 t.reparentChildren(mFGSurfaceControl, mBGSurfaceControl->getHandle()); in TEST_F()
5056 asTransaction([&](Transaction& t) { t.reparent(mChild, mBGSurfaceControl->getHandle()); }); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DSFFakeHwc_test.cpp438 sp<SurfaceControl> mBGSurfaceControl; member in __anonbb41e9630111::TransactionTest
491 mBGSurfaceControl = mComposerClient->createSurface(String8("BG Test Surface"), mDisplayWidth, in SetUp()
493 ASSERT_TRUE(mBGSurfaceControl != nullptr); in SetUp()
494 ASSERT_TRUE(mBGSurfaceControl->isValid()); in SetUp()
495 fillSurfaceRGBA8(mBGSurfaceControl, BLUE); in SetUp()
508 t.setLayer(mBGSurfaceControl, INT32_MAX - 2); in SetUp()
509 t.show(mBGSurfaceControl); in SetUp()
540 mBGSurfaceControl = 0; in TearDown()
662 ts.setFlags(mBGSurfaceControl, layer_state_t::eLayerOpaque, in TEST_F()
1043 ts.reparentChildren(mFGSurfaceControl, mBGSurfaceControl->getHandle()); in TEST_F()