Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DRenderSurfaceTest.cpp65 sp<mock::DisplaySurface> mDisplaySurface = sp<StrictMock<mock::DisplaySurface>>::make(); member in android::compositionengine::__anon2f9684cc0111::RenderSurfaceTest
71 .setDisplaySurface(mDisplaySurface)
114 EXPECT_CALL(*mDisplaySurface, getClientTargetAcquireFence()).WillOnce(ReturnRef(fence)); in TEST_F()
125 EXPECT_CALL(*mDisplaySurface, resizeBuffers(size)).Times(1); in TEST_F()
195 EXPECT_CALL(*mDisplaySurface, beginFrame(true)).WillOnce(Return(NO_ERROR)); in TEST_F()
205 EXPECT_CALL(*mDisplaySurface, prepareFrame(DisplaySurface::CompositionType::Mixed)) in TEST_F()
212 EXPECT_CALL(*mDisplaySurface, prepareFrame(DisplaySurface::CompositionType::Gpu)) in TEST_F()
219 EXPECT_CALL(*mDisplaySurface, prepareFrame(DisplaySurface::CompositionType::Hwc)) in TEST_F()
226 EXPECT_CALL(*mDisplaySurface, prepareFrame(DisplaySurface::CompositionType::Hwc)) in TEST_F()
266 EXPECT_CALL(*mDisplaySurface, advanceFrame(0.5f)).Times(1); in TEST_F()
[all …]
DDisplayTest.cpp1037 sp<mock::DisplaySurface> mDisplaySurface = sp<NiceMock<mock::DisplaySurface>>::make(); member
1058 .setDisplaySurface(mDisplaySurface) in createRenderSurface()
1069 EXPECT_CALL(*mDisplaySurface, onFrameCommitted()); in TEST_F()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DRenderSurface.cpp66 mDisplaySurface(args.displaySurface), in RenderSurface()
97 return mDisplaySurface->getClientTargetAcquireFence(); in getClientTargetAcquireFence()
101 mDisplaySurface->resizeBuffers(size); in setDisplaySize()
127 return mDisplaySurface->beginFrame(mustRecompose); in beginFrame()
144 if (status_t result = mDisplaySurface->prepareFrame(compositionType); result != NO_ERROR) { in prepareFrame()
244 status_t result = mDisplaySurface->advanceFrame(hdrSdrRatio); in queueBuffer()
251 mDisplaySurface->onFrameCommitted(); in onPresentDisplayCompleted()
267 mDisplaySurface->dumpAsString(surfaceDump); in dump()
280 return mDisplaySurface->supportsCompositionStrategyPrediction(); in supportsCompositionStrategyPrediction()
/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_PowerHintTest.cpp37 EXPECT_CALL(*mDisplaySurface, in TEST_F()
58 EXPECT_CALL(*mDisplaySurface, in TEST_F()
DCommitAndCompositeTest.h59 .setDisplaySurface(mDisplaySurface) in SetUp()
78 sp<compositionengine::mock::DisplaySurface> mDisplaySurface =
DCompositionTest.cpp149 sp<compositionengine::mock::DisplaySurface> mDisplaySurface = member in android::__anon4393af000111::CompositionTest
285 .setDisplaySurface(test->mDisplaySurface) in setupPreconditions()
315 EXPECT_CALL(*test->mDisplaySurface, onFrameCommitted()).Times(1); in setupCommonCompositionCallExpectations()
316 EXPECT_CALL(*test->mDisplaySurface, advanceFrame(_)).Times(1); in setupCommonCompositionCallExpectations()
339 EXPECT_CALL(*test->mDisplaySurface, beginFrame(true)).Times(1); in setupNonEmptyFrameCompositionCallExpectations()
343 EXPECT_CALL(*test->mDisplaySurface, beginFrame(false)).Times(1); in setupEmptyFrameCompositionCallExpectations()
350 EXPECT_CALL(*test->mDisplaySurface, in setupHwcCompositionCallExpectations()
365 EXPECT_CALL(*test->mDisplaySurface, in setupRECompositionCallExpectations()
368 EXPECT_CALL(*test->mDisplaySurface, getClientTargetAcquireFence()) in setupRECompositionCallExpectations()
438 EXPECT_CALL(*test->mDisplaySurface, getClientTargetAcquireFence()) in setupRECompositionCallExpectations()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DRenderSurface.h85 const sp<DisplaySurface> mDisplaySurface; variable