Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/
DSurfaceInterceptor_test.cpp145 mBGSurfaceControl.clear(); in TearDown()
152 sp<SurfaceControl> mBGSurfaceControl; member in android::SurfaceInterceptorTest
272 mBGSurfaceControl = in setupBackgroundSurface()
275 ASSERT_TRUE(mBGSurfaceControl != nullptr); in setupBackgroundSurface()
276 ASSERT_TRUE(mBGSurfaceControl->isValid()); in setupBackgroundSurface()
288 t.setLayer(mBGSurfaceControl, INT_MAX - 3) in setupBackgroundSurface()
289 .show(mBGSurfaceControl) in setupBackgroundSurface()
340 t.setPosition(mBGSurfaceControl, POSITION_UPDATE, POSITION_UPDATE); in positionUpdate()
344 t.setSize(mBGSurfaceControl, SIZE_UPDATE, SIZE_UPDATE); in sizeUpdate()
348 t.setAlpha(mBGSurfaceControl, ALPHA_UPDATE); in alphaUpdate()
[all …]
DCredentials_test.cpp64 mBGSurfaceControl.clear(); in TearDown()
73 sp<SurfaceControl> mBGSurfaceControl; member in android::CredentialsTest
89 mBGSurfaceControl = mComposerClient->createSurface(SURFACE_NAME, mode.resolution.getWidth(), in setupBackgroundSurface()
92 ASSERT_TRUE(mBGSurfaceControl != nullptr); in setupBackgroundSurface()
93 ASSERT_TRUE(mBGSurfaceControl->isValid()); in setupBackgroundSurface()
98 t.setLayer(mBGSurfaceControl, INT_MAX - 3).show(mBGSurfaceControl).apply()); in setupBackgroundSurface()
296 captureArgs.layerHandle = mBGSurfaceControl->getHandle(); in TEST_F()
DScreenCapture_test.cpp41 mBGSurfaceControl = createLayer(String8("BG Test Surface"), resolution.getWidth(), in SetUp()
43 ASSERT_TRUE(mBGSurfaceControl != nullptr); in SetUp()
44 ASSERT_TRUE(mBGSurfaceControl->isValid()); in SetUp()
45 TransactionUtils::fillSurfaceRGBA8(mBGSurfaceControl, 63, 63, 195); in SetUp()
58 t.setLayer(mBGSurfaceControl, INT32_MAX - 2).show(mBGSurfaceControl); in SetUp()
68 mBGSurfaceControl = 0; in TearDown()
72 sp<SurfaceControl> mBGSurfaceControl; member in android::ScreenCaptureTest
153 captureArgs.layerHandle = mBGSurfaceControl->getHandle(); in TEST_F()
590 mBGSurfaceControl.get())); in TEST_F()
616 mBGSurfaceControl.get())); in TEST_F()
[all …]
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
368 TransactionUtils::fillSurfaceRGBA8(mBGSurfaceControl, 0, 0, 254); in TEST_F()
474 asTransaction([&](Transaction& t) { t.reparent(mChild, mBGSurfaceControl); }); in TEST_F()
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DSFFakeHwc_test.cpp1182 mBGSurfaceControl = in SetUp()
1185 ASSERT_TRUE(mBGSurfaceControl != nullptr); in SetUp()
1186 ASSERT_TRUE(mBGSurfaceControl->isValid()); in SetUp()
1187 fillSurfaceRGBA8(mBGSurfaceControl, BLUE); in SetUp()
1200 t.setLayer(mBGSurfaceControl, INT32_MAX - 2); in SetUp()
1201 t.show(mBGSurfaceControl); in SetUp()
1232 mBGSurfaceControl = 0; in TearDown()
1330 ts.setFlags(mBGSurfaceControl, layer_state_t::eLayerOpaque, in Test_LayerSetLayerOpaque()
1480 sp<SurfaceControl> mBGSurfaceControl; member in __anon8d38630a0111::TransactionTest