Home
last modified time | relevance | path

Searched refs:getHwComposer (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DDisplay.cpp62 auto& hwc = getCompositionEngine().getHwComposer(); in disconnect()
70 auto& hwc = getCompositionEngine().getHwComposer(); in setColorTransform()
90 auto& hwc = getCompositionEngine().getHwComposer(); in setColorMode()
DCompositionEngine.cpp46 HWComposer& CompositionEngine::getHwComposer() const { in getHwComposer() function in android::compositionengine::impl::CompositionEngine
DRenderSurface.cpp114 auto& hwc = mCompositionEngine.getHwComposer(); in prepareFrame()
166 auto& hwc = mCompositionEngine.getHwComposer(); in queueBuffer()
DOutputLayer.cpp67 auto& hwc = compositionEngine.getHwComposer(); in initialize()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp521 HWComposer& SurfaceFlinger::getHwComposer() const { in getHwComposer() function in android::SurfaceFlinger
522 return mCompositionEngine->getHwComposer(); in getHwComposer()
645 mCompositionEngine->getHwComposer().registerCallback(this, getBE().mComposerSequenceId); in init()
650 LOG_ALWAYS_FATAL_IF(!getHwComposer().isConnected(*display->getId()), in init()
667 mVrFlinger = dvr::VrFlinger::Create(getHwComposer().getComposer(), in init()
668 getHwComposer() in init()
688 !getHwComposer().hasCapability(HWC2::Capability::PresentFenceIsNotReliable); in init()
761 if (!getHwComposer().hasCapability( in getSupportedFrameTimestamps()
800 for (const auto& hwConfig : getHwComposer().getConfigs(*displayId)) { in getDisplayConfigs()
1027 getHwComposer().setActiveConfig(*displayId, mUpcomingActiveConfig.configId); in performSetActiveConfig()
[all …]
DBufferLayer.cpp392 } else if (displayId && mFlinger->getHwComposer().isConnected(*displayId)) { in onPostComposition()
395 const nsecs_t actualPresentTime = mFlinger->getHwComposer().getRefreshTimestamp(*displayId); in onPostComposition()
DSurfaceFlinger.h746 HWComposer& getHwComposer() const;
848 const auto hwcDisplayId = getHwComposer().getInternalHwcDisplayId(); in getInternalDisplayIdLocked()
849 return hwcDisplayId ? getHwComposer().toPhysicalDisplayId(*hwcDisplayId) : std::nullopt; in getInternalDisplayIdLocked()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DDisplayTest.cpp96 EXPECT_CALL(mCompositionEngine, getHwComposer()).WillRepeatedly(ReturnRef(mHwComposer)); in TEST_F()
118 EXPECT_CALL(mCompositionEngine, getHwComposer()).WillRepeatedly(ReturnRef(mHwComposer)); in TEST_F()
144 EXPECT_CALL(mCompositionEngine, getHwComposer()).WillRepeatedly(ReturnRef(mHwComposer)); in TEST_F()
DCompositionEngineTest.cpp47 EXPECT_EQ(mHwc, &mEngine.getHwComposer()); in TEST_F()
DOutputLayerTest.cpp93 EXPECT_CALL(compositionEngine, getHwComposer()).WillOnce(ReturnRef(hwc)); in TEST_F()
DRenderSurfaceTest.cpp58 EXPECT_CALL(mCompositionEngine, getHwComposer).WillRepeatedly(ReturnRef(mHwComposer)); in RenderSurfaceTest()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h306 auto& getHwComposer() const { in getHwComposer() function
307 return static_cast<impl::HWComposer&>(mFlinger->getHwComposer()); in getHwComposer()
337 auto& mutableHwcDisplayData() { return getHwComposer().mDisplayData; } in mutableHwcDisplayData()
338 auto& mutableHwcPhysicalDisplayIdMap() { return getHwComposer().mPhysicalDisplayIdMap; } in mutableHwcPhysicalDisplayIdMap()
339 auto& mutableInternalHwcDisplayId() { return getHwComposer().mInternalHwcDisplayId; } in mutableInternalHwcDisplayId()
340 auto& mutableExternalHwcDisplayId() { return getHwComposer().mExternalHwcDisplayId; } in mutableExternalHwcDisplayId()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
DCompositionEngine.h37 MOCK_CONST_METHOD0(getHwComposer, HWComposer&());
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DCompositionEngine.h49 virtual HWComposer& getHwComposer() const = 0;
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DCompositionEngine.h33 HWComposer& getHwComposer() const override;