Home
last modified time | relevance | path

Searched refs:mCompositionEngine (Results 1 – 11 of 11) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DCommitTest.cpp79 compositionengine::mock::CompositionEngine* mCompositionEngine = in TEST_F() local
86 EXPECT_CALL(*mCompositionEngine, getFeatureFlags).WillOnce(testing::Return(flags)); in TEST_F()
89 EXPECT_CALL(*mCompositionEngine, getHwComposer).WillOnce(testing::ReturnRef(hwc)); in TEST_F()
92 std::unique_ptr<compositionengine::CompositionEngine>(mCompositionEngine)); in TEST_F()
122 compositionengine::mock::CompositionEngine* mCompositionEngine = in TEST_F() local
130 EXPECT_CALL(*mCompositionEngine, getFeatureFlags).WillOnce(testing::Return(flags)); in TEST_F()
133 EXPECT_CALL(*mCompositionEngine, getHwComposer).WillOnce(testing::ReturnRef(hwc)); in TEST_F()
136 std::unique_ptr<compositionengine::CompositionEngine>(mCompositionEngine)); in TEST_F()
DTestableSurfaceFlinger.h188 mFlinger->mCompositionEngine->setRenderEngine(mFlinger->mRenderEngine.get()); in setupRenderEngine()
192 mFlinger->mCompositionEngine->setHwComposer( in setupComposer()
195 &mFlinger->mCompositionEngine->getHwComposer()); in setupComposer()
203 mFlinger->mCompositionEngine->setTimeStats(timeStats); in setupTimeStats()
208 mFlinger->mCompositionEngine = std::move(compositionEngine); in setupCompositionEngine()
776 mFlinger->mCompositionEngine->setHwComposer(std::unique_ptr<HWComposer>()); in ~TestableSurfaceFlinger()
778 mFlinger->mCompositionEngine->setRenderEngine(mFlinger->mRenderEngine.get()); in ~TestableSurfaceFlinger()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DDisplayTest.cpp108 : mCompositionEngine(compositionEngine) {} in PartialMockDisplay()
116 return mCompositionEngine; in getCompositionEngine()
137 const compositionengine::CompositionEngine& mCompositionEngine; member
168 EXPECT_CALL(mCompositionEngine, getHwComposer()).WillRepeatedly(ReturnRef(mHwComposer)); in DisplayTestCommon()
169 EXPECT_CALL(mCompositionEngine, getRenderEngine()).WillRepeatedly(ReturnRef(mRenderEngine)); in DisplayTestCommon()
196 StrictMock<mock::CompositionEngine> mCompositionEngine; member
203 createPartialMockDisplay<Display>(mCompositionEngine,
230 createDisplay<Display>(mCompositionEngine, getDisplayCreationArgsForPhysicalDisplay());
253 createDisplay<Display>(mCompositionEngine, getDisplayCreationArgsForPhysicalDisplay());
268 impl::createDisplay(mCompositionEngine, getDisplayCreationArgsForPhysicalDisplay()); in TEST_F()
[all …]
DRenderSurfaceTest.cpp56 EXPECT_CALL(mCompositionEngine, getRenderEngine).WillRepeatedly(ReturnRef(mRenderEngine)); in RenderSurfaceTest()
62 StrictMock<mock::CompositionEngine> mCompositionEngine; member in android::compositionengine::__anon2f9684cc0111::RenderSurfaceTest
66 impl::RenderSurface mSurface{mCompositionEngine, mDisplay,
DOutputTest.cpp160 EXPECT_CALL(mCompositionEngine, getRenderEngine()).WillRepeatedly(ReturnRef(mRenderEngine)); in OutputTest()
173 StrictMock<mock::CompositionEngine> mCompositionEngine; member
177 std::shared_ptr<Output> mOutput = createOutput(mCompositionEngine);
975 StrictMock<mock::CompositionEngine> mCompositionEngine; member
1042 StrictMock<mock::CompositionEngine> mCompositionEngine; member
3016 EXPECT_CALL(mOutput, getCompositionEngine()).WillRepeatedly(ReturnRef(mCompositionEngine)); in OutputFinishFrameTest()
3017 EXPECT_CALL(mCompositionEngine, getRenderEngine()).WillRepeatedly(ReturnRef(mRenderEngine)); in OutputFinishFrameTest()
3025 StrictMock<mock::CompositionEngine> mCompositionEngine; member
3554 EXPECT_CALL(mOutput, getCompositionEngine()).WillRepeatedly(ReturnRef(mCompositionEngine)); in OutputComposeSurfacesTest()
3555 EXPECT_CALL(mCompositionEngine, getRenderEngine()).WillRepeatedly(ReturnRef(mRenderEngine)); in OutputComposeSurfacesTest()
[all …]
DDisplayColorProfileTest.cpp46 StrictMock<mock::CompositionEngine> mCompositionEngine; member in android::compositionengine::__anona89f5a090111::DisplayColorProfileTest
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DOutput.h218 : BaseOutput(std::forward<Args>(args)...), mCompositionEngine(compositionEngine) {} in createOutputTemplated()
240 return mCompositionEngine; in createOutputTemplated()
283 const CompositionEngine& mCompositionEngine; in createOutputTemplated() local
DRenderSurface.h76 const compositionengine::CompositionEngine& mCompositionEngine;
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DRenderSurface.cpp63 : mCompositionEngine(compositionEngine), in RenderSurface()
187 mCompositionEngine.getRenderEngine(), in dequeueBuffer()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp423 mCompositionEngine(mFactory.createCompositionEngine()), in SurfaceFlinger()
712 return mCompositionEngine->getHwComposer(); in getHwComposer()
720 return *mCompositionEngine.get(); in getCompositionEngine()
884 mCompositionEngine->setRenderEngine(mRenderEngine.get()); in init()
893 mCompositionEngine->setTimeStats(mTimeStats); in init()
895 mCompositionEngine->setHwComposer(getFactory().createHWComposer(mHwcServiceName)); in init()
896 auto& composer = mCompositionEngine->getHwComposer(); in init()
2480 .includeMetadata = mCompositionEngine->getFeatureFlags().test( in updateLayerSnapshots()
2794 const bool updateTaskMetadata = mCompositionEngine->getFeatureFlags().test( in composite()
2896 mCompositionEngine->present(refreshArgs); in composite()
[all …]
DSurfaceFlinger.h1406 std::unique_ptr<compositionengine::CompositionEngine> mCompositionEngine; variable