Searched refs:mDisplaySurface (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | RenderSurfaceTest.cpp | 62 sp<mock::DisplaySurface> mDisplaySurface = new StrictMock<mock::DisplaySurface>(); member in android::compositionengine::__anon2f9684cc0111::RenderSurfaceTest 66 mDisplaySurface}}; 107 EXPECT_CALL(*mDisplaySurface, getClientTargetAcquireFence()).WillOnce(ReturnRef(fence)); in TEST_F() 117 EXPECT_CALL(*mDisplaySurface, resizeBuffers(640, 480)).Times(1); in TEST_F() 179 EXPECT_CALL(*mDisplaySurface, beginFrame(true)).WillOnce(Return(NO_ERROR)); in TEST_F() 189 EXPECT_CALL(*mDisplaySurface, prepareFrame(DisplaySurface::COMPOSITION_MIXED)) in TEST_F() 196 EXPECT_CALL(*mDisplaySurface, prepareFrame(DisplaySurface::COMPOSITION_GPU)) in TEST_F() 203 EXPECT_CALL(*mDisplaySurface, prepareFrame(DisplaySurface::COMPOSITION_HWC)) in TEST_F() 210 EXPECT_CALL(*mDisplaySurface, prepareFrame(DisplaySurface::COMPOSITION_HWC)) in TEST_F() 246 EXPECT_CALL(*mDisplaySurface, advanceFrame()).Times(1); in TEST_F() [all …]
|
D | DisplayTest.cpp | 1003 sp<mock::DisplaySurface> mDisplaySurface = new NiceMock<mock::DisplaySurface>(); member 1020 mDisplaySurface}}; 1029 EXPECT_CALL(*mDisplaySurface, onFrameCommitted()); in TEST_F()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | RenderSurface.cpp | 63 mDisplaySurface(args.displaySurface), in RenderSurface() 93 return mDisplaySurface->getClientTargetAcquireFence(); in getClientTargetAcquireFence() 97 mDisplaySurface->resizeBuffers(static_cast<uint32_t>(size.width), in setDisplaySize() 124 return mDisplaySurface->beginFrame(mustRecompose); in beginFrame() 142 if (status_t result = mDisplaySurface->prepareFrame(compositionType); result != NO_ERROR) { in prepareFrame() 214 status_t result = mDisplaySurface->advanceFrame(); in queueBuffer() 221 mDisplaySurface->onFrameCommitted(); in onPresentDisplayCompleted() 242 mDisplaySurface->dumpAsString(surfaceDump); in dump()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | CompositionTest.cpp | 182 sp<compositionengine::mock::DisplaySurface> mDisplaySurface = member in android::__anon4393af000111::CompositionTest 311 .setDisplaySurface(test->mDisplaySurface) in setupPreconditions() 339 EXPECT_CALL(*test->mDisplaySurface, onFrameCommitted()).Times(1); in setupCommonCompositionCallExpectations() 340 EXPECT_CALL(*test->mDisplaySurface, advanceFrame()).Times(1); in setupCommonCompositionCallExpectations() 363 EXPECT_CALL(*test->mDisplaySurface, beginFrame(true)).Times(1); in setupNonEmptyFrameCompositionCallExpectations() 367 EXPECT_CALL(*test->mDisplaySurface, beginFrame(false)).Times(1); in setupEmptyFrameCompositionCallExpectations() 373 EXPECT_CALL(*test->mDisplaySurface, in setupHwcCompositionCallExpectations() 387 EXPECT_CALL(*test->mDisplaySurface, in setupRECompositionCallExpectations() 390 EXPECT_CALL(*test->mDisplaySurface, getClientTargetAcquireFence()) in setupRECompositionCallExpectations() 466 EXPECT_CALL(*test->mDisplaySurface, getClientTargetAcquireFence()) in setupRECompositionCallExpectations()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | RenderSurface.h | 80 const sp<DisplaySurface> mDisplaySurface; variable
|