Searched refs:HWConfigId (Results 1 – 18 of 18) sorted by relevance
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | DisplayMode.h | 63 explicit Builder(hal::HWConfigId id) : mDisplayMode(new DisplayMode(id)) {} in Builder() 137 hal::HWConfigId getHwcId() const { return mHwcId; } in getHwcId() 170 explicit DisplayMode(hal::HWConfigId id) : mHwcId(id) {} in DisplayMode() 172 const hal::HWConfigId mHwcId;
|
D | HWComposer.h | 100 hal::HWConfigId hwcId; 243 virtual ftl::Expected<hal::HWConfigId, status_t> getActiveMode(PhysicalDisplayId) const = 0; 254 virtual status_t setActiveModeWithConstraints(PhysicalDisplayId, hal::HWConfigId, 294 virtual status_t setBootDisplayMode(PhysicalDisplayId, hal::HWConfigId) = 0; 296 virtual std::optional<hal::HWConfigId> getPreferredBootDisplayMode(PhysicalDisplayId) = 0; 433 ftl::Expected<hal::HWConfigId, status_t> getActiveMode(PhysicalDisplayId) const override; 445 status_t setActiveModeWithConstraints(PhysicalDisplayId, hal::HWConfigId, 456 status_t setBootDisplayMode(PhysicalDisplayId, hal::HWConfigId) override; 458 std::optional<hal::HWConfigId> getPreferredBootDisplayMode(PhysicalDisplayId) override; 527 int32_t getAttribute(hal::HWDisplayId hwcDisplayId, hal::HWConfigId configId,
|
D | HWC2.h | 168 hal::HWConfigId configId, const hal::VsyncPeriodChangeConstraints& constraints, 170 [[nodiscard]] virtual hal::Error setBootDisplayConfig(hal::HWConfigId configId) = 0; 173 hal::HWConfigId* configId) const = 0; 251 hal::Error setActiveConfigWithConstraints(hal::HWConfigId configId, 254 hal::Error setBootDisplayConfig(hal::HWConfigId configId) override; 256 hal::Error getPreferredBootDisplayConfig(hal::HWConfigId* configId) const override;
|
D | HWComposer.cpp | 242 int32_t HWComposer::getAttribute(hal::HWDisplayId hwcDisplayId, hal::HWConfigId configId, in getAttribute() 291 auto hwcMode = HWCDisplayMode{.hwcId = static_cast<hal::HWConfigId>(config.configId), in getModesFromDisplayConfigurations() 315 std::vector<hal::HWConfigId> configIds; in getModesFromLegacyDisplayConfigs() 344 ftl::Expected<hal::HWConfigId, status_t> HWComposer::getActiveMode( in getActiveMode() 349 hal::HWConfigId configId; in getActiveMode() 671 PhysicalDisplayId displayId, hal::HWConfigId hwcModeId, in setActiveModeWithConstraints() 827 hal::HWConfigId displayModeId) { in setBootDisplayMode() 853 std::optional<hal::HWConfigId> HWComposer::getPreferredBootDisplayMode( in getPreferredBootDisplayMode() 856 hal::HWConfigId displayModeId; in getPreferredBootDisplayMode()
|
D | HWC2.cpp | 427 Error Display::setActiveConfigWithConstraints(hal::HWConfigId configId, in setActiveConfigWithConstraints() 569 Error Display::setBootDisplayConfig(hal::HWConfigId configId) { in setBootDisplayConfig() 579 Error Display::getPreferredBootDisplayConfig(hal::HWConfigId* configId) const { in getPreferredBootDisplayConfig()
|
D | Hal.h | 65 using HWConfigId = V2_1::Config; variable
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | MockHWComposer.h | 101 MOCK_CONST_METHOD1(getActiveMode, ftl::Expected<hal::HWConfigId, status_t>(PhysicalDisplayId)); 109 status_t(PhysicalDisplayId, hal::HWConfigId, 112 MOCK_METHOD2(setBootDisplayMode, status_t(PhysicalDisplayId, hal::HWConfigId)); 114 MOCK_METHOD1(getPreferredBootDisplayMode, std::optional<hal::HWConfigId>(PhysicalDisplayId));
|
/frameworks/native/services/surfaceflinger/Display/ |
D | DisplaySnapshot.h | 42 std::optional<DisplayModeId> translateModeId(hal::HWConfigId) const;
|
D | DisplaySnapshot.cpp | 39 std::optional<DisplayModeId> DisplaySnapshot::translateModeId(hal::HWConfigId hwcId) const { in translateModeId()
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/ |
D | MockHWC2.h | 87 (hal::HWConfigId, const hal::VsyncPeriodChangeConstraints &, 90 MOCK_METHOD(hal::Error, setBootDisplayConfig, (hal::HWConfigId), (override)); 92 MOCK_METHOD(hal::Error, getPreferredBootDisplayConfig, (hal::HWConfigId *), (const, override));
|
D | MockDisplayMode.h | 27 return DisplayMode::Builder(hal::HWConfigId(ftl::to_underlying(modeId)))
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | HWComposerTest.cpp | 152 constexpr hal::HWConfigId kConfigId = 42; in TEST_F() 162 constexpr hal::HWConfigId kConfigId = 42; in TEST_F() 210 .WillRepeatedly(DoAll(SetArgPointee<1>(std::vector<hal::HWConfigId>{kConfigId}), in TEST_F() 254 constexpr hal::HWConfigId kConfigId = 42; in TEST_F() 302 .WillRepeatedly(DoAll(SetArgPointee<1>(std::vector<hal::HWConfigId>{kConfigId}), in TEST_F() 344 constexpr hal::HWConfigId kConfigId = 42; in TEST_F()
|
D | EventThreadTest.cpp | 733 const auto mode = DisplayMode::Builder(hal::HWConfigId(0)) in TEST_F() 747 const auto mode = DisplayMode::Builder(hal::HWConfigId(0)) in TEST_F() 761 const auto mode = DisplayMode::Builder(hal::HWConfigId(0)) in TEST_F() 778 const auto mode = DisplayMode::Builder(hal::HWConfigId(0)) in TEST_F()
|
D | TestableSurfaceFlinger.h | 809 static constexpr hal::HWConfigId DEFAULT_ACTIVE_CONFIG = 0; 840 auto& setActiveConfig(hal::HWConfigId config) { in setActiveConfig() 882 DoAll(SetArgPointee<1>(std::vector<hal::HWConfigId>{mActiveConfig}), in inject() 941 hal::HWConfigId mActiveConfig = DEFAULT_ACTIVE_CONFIG;
|
D | DisplayModeControllerTest.cpp | 102 const hal::HWConfigId hwcModeId = request.mode.modePtr->getHwcId(); in expectModeSet()
|
D | DisplayTransactionTestHelpers.h | 349 static constexpr hal::HWConfigId HWC_ACTIVE_CONFIG_ID = 2001; 420 .WillRepeatedly(DoAll(SetArgPointee<1>(std::vector<hal::HWConfigId>{
|
D | SurfaceFlinger_DisplayModeSwitching.cpp | 34 static_cast<hal::HWConfigId>( \
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 3421 std::optional<hal::HWConfigId> activeModeHwcIdOpt; in loadDisplayModes()
|