Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DDisplay.cpp97 getCompositionEngine().getHwComposer().disconnectDisplay(*id); in disconnect()
108 auto& hwc = getCompositionEngine().getHwComposer(); in setColorTransform()
130 getCompositionEngine().getHwComposer().setActiveColorMode(*physicalId, colorProfile.mode, in setColorProfile()
162 auto& hwc = getCompositionEngine().getHwComposer(); in createOutputLayer()
210 auto& hwc = getCompositionEngine().getHwComposer(); in applyDisplayBrightness()
252 auto& hwc = getCompositionEngine().getHwComposer(); in chooseCompositionStrategy()
292 const auto& hwc = getCompositionEngine().getHwComposer(); in getSkipColorTransform()
370 getCompositionEngine().getHwComposer().executeCommands(*halDisplayIdOpt); in executeCommands()
381 auto& hwc = getCompositionEngine().getHwComposer(); in presentFrame()
457 const auto& hwc = getCompositionEngine().getHwComposer(); in supportsOffloadPresent()
DCompositionEngine.cpp60 HWComposer& CompositionEngine::getHwComposer() const { in getHwComposer() function in android::compositionengine::impl::CompositionEngine
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/
DCompositionEngine.h39 MOCK_CONST_METHOD0(getHwComposer, HWComposer&());
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DCompositionEngine.h55 virtual HWComposer& getHwComposer() const = 0;
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h195 &mFlinger->mCompositionEngine->getHwComposer()); in setupComposer()
605 DisplayDeviceCreationArgs creationArgs(mFlinger, mFlinger->getHwComposer(), displayToken, in createVirtualDisplayDevice()
628 auto& getHwComposer() const { in getHwComposer() function
629 return static_cast<impl::HWComposer&>(mFlinger->getHwComposer()); in getHwComposer()
672 const auto& hwcPhysicalDisplayIdMap() const { return getHwComposer().mPhysicalDisplayIdMap; } in hwcPhysicalDisplayIdMap()
673 const auto& hwcDisplayData() const { return getHwComposer().mDisplayData; } in hwcDisplayData()
691 auto& mutableHwcDisplayData() { return getHwComposer().mDisplayData; } in mutableHwcDisplayData()
692 auto& mutableHwcPhysicalDisplayIdMap() { return getHwComposer().mPhysicalDisplayIdMap; } in mutableHwcPhysicalDisplayIdMap()
693 auto& mutablePrimaryHwcDisplayId() { return getHwComposer().mPrimaryHwcDisplayId; } in mutablePrimaryHwcDisplayId()
954 mCreationArgs(flinger.mFlinger, flinger.mFlinger->getHwComposer(), mDisplayToken, in FakeDisplayDeviceInjector()
DCommitTest.cpp89 EXPECT_CALL(*mCompositionEngine, getHwComposer).WillOnce(testing::ReturnRef(hwc)); in TEST_F()
133 EXPECT_CALL(*mCompositionEngine, getHwComposer).WillOnce(testing::ReturnRef(hwc)); in TEST_F()
DSurfaceFlinger_HotplugTest.cpp92 EXPECT_FALSE(mFlinger.getHwComposer().isConnected(ExternalDisplay::DISPLAY_ID::get())); in TEST_F()
DSurfaceFlinger_SetupNewDisplayDeviceInternalTest.cpp242 mFlinger.getHwComposer().allocatePhysicalDisplay(*hwcDisplayId, *displayId); in setupNewDisplayDeviceInternalTest()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DCompositionEngine.h33 HWComposer& getHwComposer() const override;
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp643 generator.emplace(getHwComposer().getMaxVirtualDisplayCount()); in enableHalVirtualDisplays()
654 if (getHwComposer().allocateVirtualDisplay(*id, resolution, &format)) { in acquireVirtualDisplay()
711 HWComposer& SurfaceFlinger::getHwComposer() const { in getHwComposer() function in android::SurfaceFlinger
712 return mCompositionEngine->getHwComposer(); in getHwComposer()
896 auto& composer = mCompositionEngine->getHwComposer(); in init()
903 !getHwComposer().hasCapability(Capability::PRESENT_FENCE_IS_NOT_RELIABLE); in init()
930 LOG_ALWAYS_FATAL_IF(!getHwComposer().isConnected(display->getPhysicalId()), in init()
1219 getHwComposer().hasDisplayCapability(displayId, in getDynamicDisplayInfoInternal()
1222 getHwComposer().supportsContentType(displayId, hal::ContentType::GAME); in getDynamicDisplayInfoInternal()
1226 if (getHwComposer().hasCapability(Capability::BOOT_DISPLAY_CONFIG)) { in getDynamicDisplayInfoInternal()
[all …]
DSurfaceFlinger.h1059 HWComposer& getHwComposer() const;
1134 return getHwComposer().getPrimaryDisplayId(); in getPrimaryDisplayIdLocked()
DLayer.cpp614 const auto& supportedMetadata = mFlinger->getHwComposer().getSupportedLayerGenericMetadata(); in prepareGeometryCompositionState()
4111 displayId && mFlinger->getHwComposer().isConnected(*displayId)) { in onCompositionPresented()
4114 mFlinger->getHwComposer().getPresentTimestamp(*displayId); in onCompositionPresented()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DDisplayTest.cpp168 EXPECT_CALL(mCompositionEngine, getHwComposer()).WillRepeatedly(ReturnRef(mHwComposer)); in DisplayTestCommon()
1027 EXPECT_CALL(mCompositionEngine, getHwComposer()).WillRepeatedly(ReturnRef(mHwComposer)); in DisplayFunctionalTest()
DCompositionEngineTest.cpp69 EXPECT_EQ(hwc, &mEngine.getHwComposer()); in TEST_F()