Home
last modified time | relevance | path

Searched refs:mDisplaySurface (Results 1 – 7 of 7) sorted by relevance

/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
H A DRenderSurfaceTest.cpp70 .setDisplaySurface(mDisplaySurface)
124 EXPECT_CALL(*mDisplaySurface, resizeBuffers(size)).Times(1); in TEST_F()
194 EXPECT_CALL(*mDisplaySurface, beginFrame(true)).WillOnce(Return(NO_ERROR)); in TEST_F()
211 EXPECT_CALL(*mDisplaySurface, prepareFrame(DisplaySurface::COMPOSITION_GPU)) in TEST_F()
218 EXPECT_CALL(*mDisplaySurface, prepareFrame(DisplaySurface::COMPOSITION_HWC)) in TEST_F()
264 EXPECT_CALL(*mDisplaySurface, advanceFrame()).Times(1); in TEST_F()
283 EXPECT_CALL(*mDisplaySurface, advanceFrame()).Times(1); in TEST_F()
302 EXPECT_CALL(*mDisplaySurface, advanceFrame()).Times(1); in TEST_F()
322 EXPECT_CALL(*mDisplaySurface, advanceFrame()).Times(1); in TEST_F()
343 EXPECT_CALL(*mDisplaySurface, advanceFrame()).Times(1); in TEST_F()
[all …]
H A DDisplayTest.cpp995 sp<mock::DisplaySurface> mDisplaySurface = new NiceMock<mock::DisplaySurface>(); member
1014 .setDisplaySurface(mDisplaySurface)
1024 EXPECT_CALL(*mDisplaySurface, onFrameCommitted()); in TEST_F()
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/src/
H A DRenderSurface.cpp65 mDisplaySurface(args.displaySurface), in RenderSurface()
96 return mDisplaySurface->getClientTargetAcquireFence(); in getClientTargetAcquireFence()
100 mDisplaySurface->resizeBuffers(size); in setDisplaySize()
126 return mDisplaySurface->beginFrame(mustRecompose); in beginFrame()
144 if (status_t result = mDisplaySurface->prepareFrame(compositionType); result != NO_ERROR) { in prepareFrame()
243 status_t result = mDisplaySurface->advanceFrame(); in queueBuffer()
250 mDisplaySurface->onFrameCommitted(); in onPresentDisplayCompleted()
271 mDisplaySurface->dumpAsString(surfaceDump); in dump()
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DMockVideoProvider.java45 private Surface mDisplaySurface = null; field in MockVideoProvider
81 mDisplaySurface = surface; in onSetDisplaySurface()
190 return mDisplaySurface; in getDisplaySurface()
/aosp12/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
H A DTestVideoProvider.java60 private Surface mDisplaySurface; field in TestVideoProvider
111 mDisplaySurface = surface; in onSetDisplaySurface()
113 if (mDisplaySurface != null) { in onSetDisplaySurface()
116 mIncomingMediaPlayer = createMediaPlayer(mDisplaySurface, R.raw.test_pattern); in onSetDisplaySurface()
118 mIncomingMediaPlayer.setSurface(mDisplaySurface); in onSetDisplaySurface()
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/
H A DCompositionTest.cpp178 sp<compositionengine::mock::DisplaySurface> mDisplaySurface = member in android::__anon9d6f706c0110::CompositionTest
306 .setDisplaySurface(test->mDisplaySurface) in setupPreconditions()
332 EXPECT_CALL(*test->mDisplaySurface, onFrameCommitted()).Times(1); in setupCommonCompositionCallExpectations()
333 EXPECT_CALL(*test->mDisplaySurface, advanceFrame()).Times(1); in setupCommonCompositionCallExpectations()
356 EXPECT_CALL(*test->mDisplaySurface, beginFrame(true)).Times(1); in setupNonEmptyFrameCompositionCallExpectations()
360 EXPECT_CALL(*test->mDisplaySurface, beginFrame(false)).Times(1); in setupEmptyFrameCompositionCallExpectations()
366 EXPECT_CALL(*test->mDisplaySurface, in setupHwcCompositionCallExpectations()
380 EXPECT_CALL(*test->mDisplaySurface, in setupRECompositionCallExpectations()
383 EXPECT_CALL(*test->mDisplaySurface, getClientTargetAcquireFence()) in setupRECompositionCallExpectations()
455 EXPECT_CALL(*test->mDisplaySurface, getClientTargetAcquireFence()) in setupRECompositionCallExpectations()
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
H A DRenderSurface.h87 const sp<DisplaySurface> mDisplaySurface; variable