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()
46 mComposerClient->getDisplayedContentSamplingAttributes(mDisplayToken, &format, in shouldSkipTest()
59 sp<SurfaceComposerClient> mComposerClient; member in android::DisplayedContentSamplingTest
71 mComposerClient->getDisplayedContentSamplingAttributes(mDisplayToken, &format, in TEST_F()
81 mComposerClient->setDisplayContentSamplingEnabled(mDisplayToken, true, INVALID_MASK, 0); in TEST_F()
88 status_t status = mComposerClient->setDisplayContentSamplingEnabled(mDisplayToken, true, in TEST_F()
92 status = mComposerClient->setDisplayContentSamplingEnabled(mDisplayToken, false, componentMask, in TEST_F()
100 status_t status = mComposerClient->setDisplayContentSamplingEnabled(mDisplayToken, true, in TEST_F()
106 status = mComposerClient->setDisplayContentSamplingEnabled(mDisplayToken, false, componentMask, in TEST_F()
[all …]
DEndToEndNativeInputTest.cpp359 mComposerClient = new SurfaceComposerClient; in SetUp()
360 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); 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
653 BlastInputSurface::makeBlastInputSurface(mComposerClient, 100, 100); in TEST_F()
669 BlastInputSurface::makeBlastInputSurface(mComposerClient, 100, 100); in TEST_F()
703 InputSurface::makeContainerInputSurface(mComposerClient, 100, 100); in TEST_F()
728 InputSurface::makeCursorInputSurface(mComposerClient, 10, 10); in TEST_F()
[all …]
DGLTest.cpp59 mComposerClient = new SurfaceComposerClient; in SetUp()
60 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); in SetUp()
62 mSurfaceControl = mComposerClient->createSurface( in SetUp()
116 if (mComposerClient != nullptr) { in TearDown()
117 mComposerClient->dispose(); in TearDown()
DGLTest.h61 sp<SurfaceComposerClient> mComposerClient; variable
DSurface_test.cpp107 mComposerClient = new SurfaceComposerClient; in SetUp()
108 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); in SetUp()
112 mSurfaceControl = mComposerClient->createSurface( in SetUp()
127 mComposerClient->dispose(); in TearDown()
227 sp<SurfaceComposerClient> mComposerClient; member in android::SurfaceTest
232 mComposerClient->dispose(); in TEST_F()
233 ASSERT_EQ(NO_INIT, mComposerClient->initCheck()); in TEST_F()
236 status_t err = mComposerClient->createSurfaceChecked( in TEST_F()
/frameworks/native/services/surfaceflinger/tests/
DCredentials_test.cpp62 mComposerClient->dispose(); in TearDown()
64 mComposerClient.clear(); in TearDown()
69 sp<SurfaceComposerClient> mComposerClient; member in android::CredentialsTest
74 mComposerClient = sp<SurfaceComposerClient>::make(); in initClient()
75 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); in initClient()
104 mBGSurfaceControl = mComposerClient->createSurface(SURFACE_NAME, mode.resolution.getWidth(), in setupBackgroundSurface()
174 mComposerClient = sp<SurfaceComposerClient>::make(); in TEST_F()
390 mComposerClient->createSurface(String8(name.c_str()), 100, 100, PIXEL_FORMAT_RGBA_8888, in TEST_F()
/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/av/media/codec2/components/cmds/
Dcodec2.cpp110 sp<SurfaceComposerClient> mComposerClient; member in __anon091d3c940111::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
205 if (mComposerClient) { in deInit()
206 mComposerClient->dispose(); in deInit()
382 mComposerClient = new SurfaceComposerClient; in invokeCameraAPIs()
383 mComposerClient->initCheck(); in invokeCameraAPIs()
393 surfaceControl = mComposerClient->createSurface( in invokeCameraAPIs()
449 sp<SurfaceControl> surfaceControlVideo = mComposerClient->createSurface( in invokeCameraAPIs()
/frameworks/av/camera/tests/fuzzer/
Dcamera_fuzzer.cpp105 mComposerClient.clear(); in ~CameraFuzzer()
125 sp<SurfaceComposerClient> mComposerClient = nullptr; member in CameraFuzzer
189 mComposerClient = new SurfaceComposerClient; in invokeCamera()
190 mSurfaceControl = mComposerClient->createSurface( in invokeCamera()
/frameworks/av/media/libmediaplayerservice/fuzzer/
Dmediarecorder_fuzzer.cpp187 SurfaceComposerClient mComposerClient; member in MediaRecorderClientFuzzer
265 mSurfaceControl = mComposerClient.createSurface( in MediaRecorderClientFuzzer()
/frameworks/native/cmds/surfacereplayer/replayer/
DReplayer.cpp590 sp<SurfaceControl> surfaceControl = mComposerClient->createSurface( in createSurfaceControl()
661 mComposerClient = new SurfaceComposerClient; in loadSurfaceComposerClient()
662 return mComposerClient->initCheck(); in loadSurfaceComposerClient()