Home
last modified time | relevance | path

Searched refs:mComposerClient (Results 1 – 14 of 14) 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.cpp361 mComposerClient = new SurfaceComposerClient; in SetUp()
362 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); in SetUp()
364 const auto display = mComposerClient->getInternalDisplayToken(); in SetUp()
368 ASSERT_EQ(NO_ERROR, mComposerClient->getActiveDisplayMode(display, &mode)); in SetUp()
377 mComposerClient->dispose(); in TearDown()
381 return InputSurface::makeColorInputSurface(mComposerClient, width, height); in makeSurface()
393 sp<SurfaceComposerClient> mComposerClient; member in android::test::InputSurfacesTest
637 BlastInputSurface::makeBlastInputSurface(mComposerClient, 100, 100); in TEST_F()
653 BlastInputSurface::makeBlastInputSurface(mComposerClient, 100, 100); in TEST_F()
687 InputSurface::makeContainerInputSurface(mComposerClient, 100, 100); in TEST_F()
[all …]
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.cpp105 mComposerClient = new SurfaceComposerClient; in SetUp()
106 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); in SetUp()
110 mSurfaceControl = mComposerClient->createSurface( in SetUp()
125 mComposerClient->dispose(); in TearDown()
223 sp<SurfaceComposerClient> mComposerClient; member in android::SurfaceTest
228 mComposerClient->dispose(); in TEST_F()
229 ASSERT_EQ(NO_INIT, mComposerClient->initCheck()); in TEST_F()
232 status_t err = mComposerClient->createSurfaceChecked( in TEST_F()
/frameworks/native/services/surfaceflinger/tests/
DCredentials_test.cpp63 mComposerClient->dispose(); in TearDown()
65 mComposerClient.clear(); in TearDown()
72 sp<SurfaceComposerClient> mComposerClient; member in android::CredentialsTest
77 mComposerClient = new SurfaceComposerClient; in initClient()
78 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); in initClient()
89 mBGSurfaceControl = mComposerClient->createSurface(SURFACE_NAME, mode.resolution.getWidth(), in setupBackgroundSurface()
169 mComposerClient = new SurfaceComposerClient; in TEST_F()
DSurfaceInterceptor_test.cpp141 mComposerClient = new SurfaceComposerClient; in SetUp()
142 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); in SetUp()
146 mComposerClient->dispose(); in TearDown()
149 mComposerClient.clear(); in TearDown()
153 sp<SurfaceComposerClient> mComposerClient; member in android::SurfaceInterceptorTest
275 mComposerClient->createSurface(String8(TEST_BG_SURFACE_NAME), resolution.getWidth(), in setupBackgroundSurface()
282 mComposerClient->createSurface(String8(TEST_FG_SURFACE_NAME), resolution.getWidth(), in setupBackgroundSurface()
448 mComposerClient->createSurface(String8(LAYER_NAME), SIZE_UPDATE, SIZE_UPDATE, in surfaceCreation()
/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()
253 surfaceControl = mComposerClient->createSurface( in TEST_F()
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DSFFakeHwc_test.cpp243 mComposerClient = new SurfaceComposerClient; in SetUp()
244 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); in SetUp()
256 mComposerClient->dispose(); in TearDown()
257 mComposerClient = nullptr; in TearDown()
357 mComposerClient->createSurface(String8("Display Test Surface Foo"), in Test_HotplugOneConfig()
420 mComposerClient->createSurface(String8("Display Test Surface Foo"), in Test_HotplugTwoSeparateConfigs()
473 mComposerClient->createSurface(String8("Display Test Surface Foo"), in Test_HotplugTwoSeparateConfigs()
528 mComposerClient->createSurface(String8("Display Test Surface Foo"), in Test_HotplugTwoConfigsSameGroup()
580 mComposerClient->createSurface(String8("Display Test Surface Foo"), in Test_HotplugTwoConfigsSameGroup()
645 mComposerClient->createSurface(String8("Display Test Surface Foo"), in Test_HotplugThreeConfigsMixedGroups()
[all …]
/frameworks/av/media/codec2/components/cmds/
Dcodec2.cpp110 sp<SurfaceComposerClient> mComposerClient; member in __anond5decf9b0111::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/av/services/camera/libcameraservice/libcameraservice_fuzzer/
Dcamera_service_fuzzer.cpp109 sp<SurfaceComposerClient> mComposerClient = nullptr; member in CameraFuzzer
199 if (mComposerClient) { in deInit()
200 mComposerClient->dispose(); in deInit()
357 mComposerClient = new SurfaceComposerClient; in invokeCameraAPIs()
358 mComposerClient->initCheck(); in invokeCameraAPIs()
368 surfaceControl = mComposerClient->createSurface( in invokeCameraAPIs()
/frameworks/av/media/libmediaplayerservice/fuzzer/
Dmediarecorder_fuzzer.cpp182 SurfaceComposerClient mComposerClient; member in MediaRecorderClientFuzzer
260 mSurfaceControl = mComposerClient.createSurface( in MediaRecorderClientFuzzer()
/frameworks/native/cmds/surfacereplayer/replayer/
DReplayer.h165 sp<SurfaceComposerClient> mComposerClient; variable
DReplayer.cpp591 sp<SurfaceControl> surfaceControl = mComposerClient->createSurface( in createSurfaceControl()
662 mComposerClient = new SurfaceComposerClient; in loadSurfaceComposerClient()
663 return mComposerClient->initCheck(); in loadSurfaceComposerClient()