Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/
DSurfaceInterceptor_test.cpp147 mBGSurfaceControl.clear(); in TearDown()
154 sp<SurfaceControl> mBGSurfaceControl; member in android::SurfaceInterceptorTest
274 mBGSurfaceControl = in setupBackgroundSurface()
277 ASSERT_TRUE(mBGSurfaceControl != nullptr); in setupBackgroundSurface()
278 ASSERT_TRUE(mBGSurfaceControl->isValid()); in setupBackgroundSurface()
290 t.setLayer(mBGSurfaceControl, INT_MAX - 3) in setupBackgroundSurface()
291 .show(mBGSurfaceControl) in setupBackgroundSurface()
342 t.setPosition(mBGSurfaceControl, POSITION_UPDATE, POSITION_UPDATE); in positionUpdate()
346 t.setSize(mBGSurfaceControl, SIZE_UPDATE, SIZE_UPDATE); in sizeUpdate()
350 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.cpp43 mBGSurfaceControl = createLayer(String8("BG Test Surface"), resolution.getWidth(), in SetUp()
45 ASSERT_TRUE(mBGSurfaceControl != nullptr); in SetUp()
46 ASSERT_TRUE(mBGSurfaceControl->isValid()); in SetUp()
47 TransactionUtils::fillSurfaceRGBA8(mBGSurfaceControl, 63, 63, 195); in SetUp()
60 t.setLayer(mBGSurfaceControl, INT32_MAX - 2).show(mBGSurfaceControl); in SetUp()
70 mBGSurfaceControl = 0; in TearDown()
74 sp<SurfaceControl> mBGSurfaceControl; member in android::ScreenCaptureTest
156 captureArgs.layerHandle = mBGSurfaceControl->getHandle(); in TEST_F()
599 mBGSurfaceControl.get())); in TEST_F()
625 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 __anon9f890b8f0111::TransactionTest