Home
last modified time | relevance | path

Searched refs:toPhysicalDisplayId (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp157 const auto displayIdOpt = toPhysicalDisplayId(hwcDisplayId); in onVsync()
248 RETURN_IF_HWC_ERROR_FOR("getDisplayAttribute", error, *toPhysicalDisplayId(hwcDisplayId), -1); in getAttribute()
285 RETURN_IF_HWC_ERROR_FOR("getDisplayConfigurations", error, *toPhysicalDisplayId(hwcDisplayId), in getModesFromDisplayConfigurations()
317 RETURN_IF_HWC_ERROR_FOR("getDisplayConfigs", error, *toPhysicalDisplayId(hwcDisplayId), {}); in getModesFromLegacyDisplayConfigs()
1013 std::optional<PhysicalDisplayId> HWComposer::toPhysicalDisplayId( in toPhysicalDisplayId() function in android::impl::HWComposer
1050 if (const auto displayId = toPhysicalDisplayId(hwcDisplayId)) { in onHotplugConnect()
1112 const auto displayId = toPhysicalDisplayId(hwcDisplayId); in onHotplugDisconnect()
DHWComposer.h290 virtual std::optional<PhysicalDisplayId> toPhysicalDisplayId(hal::HWDisplayId) const = 0;
487 const auto id = toPhysicalDisplayId(getPrimaryHwcDisplayId()); in getPrimaryDisplayId()
494 std::optional<PhysicalDisplayId> toPhysicalDisplayId(hal::HWDisplayId) const override;
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DMockHWComposer.h137 MOCK_METHOD(std::optional<PhysicalDisplayId>, toPhysicalDisplayId, (hal::HWDisplayId),
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp2297 if (const auto displayIdOpt = getHwComposer().toPhysicalDisplayId(data.display)) { in onRefreshRateChangedDebug()
9188 const auto idOpt = getHwComposer().toPhysicalDisplayId(hwcDisplayId); in updateHdcpLevels()