Home
last modified time | relevance | path

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

/aosp12/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DDisplayMode.h47 explicit Builder(hal::HWConfigId id) : mDisplayMode(new DisplayMode(id)) {} in Builder()
120 hal::HWConfigId getHwcId() const { return mHwcId; } in getHwcId()
142 explicit DisplayMode(hal::HWConfigId id) : mHwcId(id) {} in DisplayMode()
144 hal::HWConfigId mHwcId;
H A DHWComposer.h86 hal::HWConfigId hwcId;
209 virtual std::optional<hal::HWConfigId> getActiveMode(PhysicalDisplayId) const = 0;
221 virtual status_t setActiveModeWithConstraints(PhysicalDisplayId, hal::HWConfigId,
344 std::optional<hal::HWConfigId> getActiveMode(PhysicalDisplayId) const override;
355 status_t setActiveModeWithConstraints(PhysicalDisplayId, hal::HWConfigId,
407 int32_t getAttribute(hal::HWDisplayId hwcDisplayId, hal::HWConfigId configId,
H A DHWComposer.cpp296 int32_t HWComposer::getAttribute(hal::HWDisplayId hwcDisplayId, hal::HWConfigId configId, in getAttribute()
329 std::vector<hal::HWConfigId> configIds; in getModes()
350 std::optional<hal::HWConfigId> HWComposer::getActiveMode(PhysicalDisplayId displayId) const { in getActiveMode()
355 hal::HWConfigId configId; in getActiveMode()
651 PhysicalDisplayId displayId, hal::HWConfigId hwcModeId, in setActiveModeWithConstraints()
H A DHal.h60 using HWConfigId = V2_1::Config; variable
H A DHWC2.h141 hal::HWConfigId configId, const hal::VsyncPeriodChangeConstraints& constraints,
204 hal::Error setActiveConfigWithConstraints(hal::HWConfigId configId,
H A DHWC2.cpp375 Error Display::setActiveConfigWithConstraints(hal::HWConfigId configId, in setActiveConfigWithConstraints()
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/
H A DDisplayDevice_InitiateModeChange.cpp57 DisplayMode::Builder(hal::HWConfigId(kDisplayModeId60.value()))
68 DisplayMode::Builder(hal::HWConfigId(kDisplayModeId90.value()))
79 DisplayMode::Builder(hal::HWConfigId(kDisplayModeId120.value()))
H A DEventThreadTest.cpp546 const auto mode = DisplayMode::Builder(hal::HWConfigId(0)) in TEST_F()
557 const auto mode = DisplayMode::Builder(hal::HWConfigId(0)) in TEST_F()
568 const auto mode = DisplayMode::Builder(hal::HWConfigId(0)) in TEST_F()
582 const auto mode = DisplayMode::Builder(hal::HWConfigId(0)) in TEST_F()
H A DTestableSurfaceFlinger.h493 static constexpr hal::HWConfigId DEFAULT_ACTIVE_CONFIG = 0;
530 auto& setActiveConfig(hal::HWConfigId config) { in setActiveConfig()
567 DoAll(SetArgPointee<1>(std::vector<hal::HWConfigId>{mActiveConfig}), in inject()
627 hal::HWConfigId mActiveConfig = DEFAULT_ACTIVE_CONFIG;
H A DRefreshRateStatsTest.cpp82 return DisplayMode::Builder(static_cast<hal::HWConfigId>(modeId.value())) in createDisplayMode()
H A DSchedulerTest.cpp206 const auto mode = DisplayMode::Builder(hal::HWConfigId(0)) in TEST_F()
H A DDisplayTransactionTestHelpers.h352 static constexpr hal::HWConfigId HWC_ACTIVE_CONFIG_ID = 2001;
406 .WillRepeatedly(DoAll(SetArgPointee<1>(std::vector<hal::HWConfigId>{
H A DRefreshRateConfigsTest.cpp182 return DisplayMode::Builder(hal::HWConfigId(modeId.value())) in createDisplayMode()
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
H A DMockHWComposer.h93 MOCK_CONST_METHOD1(getActiveMode, std::optional<hal::HWConfigId>(PhysicalDisplayId));
101 status_t(PhysicalDisplayId, hal::HWConfigId,
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
H A DMockHWC2.h82 (hal::HWConfigId, const hal::VsyncPeriodChangeConstraints &,