Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/
DSurfaceInterceptor_test.cpp145 mBGSurfaceControl.clear(); in TearDown()
152 sp<SurfaceControl> mBGSurfaceControl; member in android::SurfaceInterceptorTest
275 mBGSurfaceControl = in setupBackgroundSurface()
278 ASSERT_TRUE(mBGSurfaceControl != nullptr); in setupBackgroundSurface()
279 ASSERT_TRUE(mBGSurfaceControl->isValid()); in setupBackgroundSurface()
291 t.setLayer(mBGSurfaceControl, INT_MAX - 3) in setupBackgroundSurface()
292 .show(mBGSurfaceControl) in setupBackgroundSurface()
343 t.setPosition(mBGSurfaceControl, POSITION_UPDATE, POSITION_UPDATE); in positionUpdate()
347 t.setSize(mBGSurfaceControl, SIZE_UPDATE, SIZE_UPDATE); in sizeUpdate()
351 t.setAlpha(mBGSurfaceControl, ALPHA_UPDATE); in alphaUpdate()
[all …]
DCredentials_test.cpp44 mBGSurfaceControl.clear(); in TearDown()
53 sp<SurfaceControl> mBGSurfaceControl; member in android::CredentialsTest
69 mBGSurfaceControl = in setupBackgroundSurface()
73 ASSERT_TRUE(mBGSurfaceControl != nullptr); in setupBackgroundSurface()
74 ASSERT_TRUE(mBGSurfaceControl->isValid()); in setupBackgroundSurface()
79 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()
DLayerUpdate_test.cpp44 mBGSurfaceControl = createLayer(String8("BG Test Surface"), resolution.getWidth(), in SetUp()
46 ASSERT_TRUE(mBGSurfaceControl != nullptr); in SetUp()
47 ASSERT_TRUE(mBGSurfaceControl->isValid()); in SetUp()
48 TransactionUtils::fillSurfaceRGBA8(mBGSurfaceControl, 63, 63, 195); in SetUp()
68 t.setLayer(mBGSurfaceControl, INT32_MAX - 2).show(mBGSurfaceControl); in SetUp()
83 mBGSurfaceControl = 0; in TearDown()
98 sp<SurfaceControl> mBGSurfaceControl; member in android::LayerUpdateTest
467 TransactionUtils::fillSurfaceRGBA8(mBGSurfaceControl, 0, 0, 254); in TEST_F()
519 t.reparentChildren(mFGSurfaceControl, mBGSurfaceControl->getHandle()); in TEST_F()
982 asTransaction([&](Transaction& t) { t.reparent(mChild, mBGSurfaceControl->getHandle()); }); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DSFFakeHwc_test.cpp1002 mBGSurfaceControl = in SetUp()
1005 ASSERT_TRUE(mBGSurfaceControl != nullptr); in SetUp()
1006 ASSERT_TRUE(mBGSurfaceControl->isValid()); in SetUp()
1007 fillSurfaceRGBA8(mBGSurfaceControl, BLUE); in SetUp()
1020 t.setLayer(mBGSurfaceControl, INT32_MAX - 2); in SetUp()
1021 t.show(mBGSurfaceControl); in SetUp()
1052 mBGSurfaceControl = 0; in TearDown()
1175 ts.setFlags(mBGSurfaceControl, layer_state_t::eLayerOpaque, in Test_LayerSetLayerOpaque()
1396 sp<SurfaceControl> mBGSurfaceControl; member in __anonbb41e9630111::TransactionTest
1603 ts.reparentChildren(Base::mFGSurfaceControl, Base::mBGSurfaceControl->getHandle()); in Test_ReparentChildren()