Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/tests/
DDisplayedContentSampling_test.cpp33 mComposerClient = new SurfaceComposerClient; in SetUp()
34 ASSERT_EQ(OK, mComposerClient->initCheck()); in SetUp()
35 mDisplayToken = mComposerClient->getInternalDisplayToken(); in SetUp()
43 mComposerClient->getDisplayedContentSamplingAttributes(mDisplayToken, &format, in shouldSkipTest()
56 sp<SurfaceComposerClient> mComposerClient; member in android::DisplayedContentSamplingTest
68 mComposerClient->getDisplayedContentSamplingAttributes(mDisplayToken, &format, in TEST_F()
78 mComposerClient->setDisplayContentSamplingEnabled(mDisplayToken, true, INVALID_MASK, 0); in TEST_F()
85 status_t status = mComposerClient->setDisplayContentSamplingEnabled(mDisplayToken, true, in TEST_F()
89 status = mComposerClient->setDisplayContentSamplingEnabled(mDisplayToken, false, componentMask, in TEST_F()
97 status_t status = mComposerClient->setDisplayContentSamplingEnabled(mDisplayToken, true, in TEST_F()
[all …]
DEndToEndNativeInputTest.cpp212 mComposerClient = new SurfaceComposerClient; in SetUp()
213 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); in SetUp()
215 const auto display = mComposerClient->getInternalDisplayToken(); in SetUp()
219 ASSERT_EQ(NO_ERROR, mComposerClient->getDisplayInfo(display, &info)); in SetUp()
228 mComposerClient->dispose(); in TearDown()
232 return InputSurface::makeColorInputSurface(mComposerClient, width, height); in makeSurface()
247 sp<SurfaceComposerClient> mComposerClient; member in android::test::InputSurfacesTest
415 InputSurface::makeBufferInputSurface(mComposerClient, 100, 100); in TEST_F()
431 InputSurface::makeBufferInputSurface(mComposerClient, 100, 100); in TEST_F()
465 InputSurface::makeContainerInputSurface(mComposerClient, 100, 100); in TEST_F()
DGLTest.cpp63 mComposerClient = new SurfaceComposerClient; in SetUp()
64 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); in SetUp()
66 mSurfaceControl = mComposerClient->createSurface( in SetUp()
120 if (mComposerClient != nullptr) { in TearDown()
121 mComposerClient->dispose(); in TearDown()
DGLTest.h61 sp<SurfaceComposerClient> mComposerClient; variable
DSurface_test.cpp98 mComposerClient = new SurfaceComposerClient; in SetUp()
99 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); in SetUp()
103 mSurfaceControl = mComposerClient->createSurface( in SetUp()
119 mComposerClient->dispose(); in TearDown()
203 sp<SurfaceComposerClient> mComposerClient; member in android::SurfaceTest
208 mComposerClient->dispose(); in TEST_F()
209 ASSERT_EQ(NO_INIT, mComposerClient->initCheck()); in TEST_F()
212 status_t err = mComposerClient->createSurfaceChecked( in TEST_F()
/frameworks/native/services/surfaceflinger/tests/
DCredentials_test.cpp45 mComposerClient->dispose(); in TearDown()
47 mComposerClient.clear(); in TearDown()
54 sp<SurfaceComposerClient> mComposerClient; member in android::CredentialsTest
59 mComposerClient = new SurfaceComposerClient; in initClient()
60 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); in initClient()
74 mComposerClient->createSurface(SURFACE_NAME, displayWidth, displayHeight, in setupBackgroundSurface()
92 mComposerClient->createSurface(SURFACE_NAME, displayWidth, displayHeight, in setupVirtualDisplay()
169 mComposerClient = new SurfaceComposerClient; in TEST_F()
DSurfaceInterceptor_test.cpp132 mComposerClient = new SurfaceComposerClient; in SetUp()
133 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); in SetUp()
137 mComposerClient->dispose(); in TearDown()
139 mComposerClient.clear(); in TearDown()
142 sp<SurfaceComposerClient> mComposerClient; member in android::SurfaceInterceptorTest
253 mBGSurfaceControl = mComposerClient->createSurface( in setupBackgroundSurface()
395 mComposerClient->createSurface(String8(LAYER_NAME), SIZE_UPDATE, SIZE_UPDATE, in surfaceCreation()
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DSFFakeHwc_test.cpp152 sp<SurfaceComposerClient> mComposerClient; member in __anonbb41e9630111::DisplayTest
195 mComposerClient = new SurfaceComposerClient; in SetUp()
196 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); in SetUp()
207 mComposerClient->dispose(); in TearDown()
208 mComposerClient = nullptr; in TearDown()
311 mComposerClient->createSurface(String8("Display Test Surface Foo"), info.w, info.h, in TEST_F()
347 mComposerClient->createSurface(String8("Display Test Surface Bar"), info.w, info.h, in TEST_F()
438 sp<SurfaceComposerClient> mComposerClient; member in __anonbb41e9630111::TransactionTest
478 mComposerClient = new SurfaceComposerClient; in SetUp()
479 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); in SetUp()
[all …]
/frameworks/av/camera/tests/
DCameraZSLTests.cpp71 sp<SurfaceComposerClient> mComposerClient; member in CameraZSLTests
89 mComposerClient = new SurfaceComposerClient; in SetUp()
90 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); in SetUp()
95 mComposerClient->dispose(); in TearDown()
249 surfaceControl = mComposerClient->createSurface( in TEST_F()
/frameworks/av/media/codec2/components/cmds/
Dcodec2.cpp110 sp<SurfaceComposerClient> mComposerClient; member in __anon2aac90ef0111::SimplePlayer
143 mComposerClient(new SurfaceComposerClient) { in SimplePlayer()
144 CHECK_EQ(mComposerClient->initCheck(), (status_t)OK); in SimplePlayer()
150 mControl = mComposerClient->createSurface( in SimplePlayer()
171 mComposerClient->dispose(); in ~SimplePlayer()
/frameworks/native/cmds/surfacereplayer/replayer/
DReplayer.cpp602 sp<SurfaceControl> surfaceControl = mComposerClient->createSurface( in createSurfaceControl()
680 mComposerClient = new SurfaceComposerClient; in loadSurfaceComposerClient()
681 return mComposerClient->initCheck(); in loadSurfaceComposerClient()
DReplayer.h157 sp<SurfaceComposerClient> mComposerClient; variable