Home
last modified time | relevance | path

Searched refs:vrrConfig (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/services/surfaceflinger/DisplayHardware/
DHal.h156 const std::optional<aidl::android::hardware::graphics::composer3::VrrConfig>& vrrConfig) { in to_string() argument
157 if (vrrConfig) { in to_string()
159 out << "{minFrameIntervalNs=" << vrrConfig->minFrameIntervalNs << ", "; in to_string()
161 if (vrrConfig->frameIntervalPowerHints) { in to_string()
162 const auto& powerHint = *vrrConfig->frameIntervalPowerHints; in to_string()
171 if (vrrConfig->notifyExpectedPresentConfig) { in to_string()
172 out << "headsUpNs=" << vrrConfig->notifyExpectedPresentConfig->headsUpNs in to_string()
173 << ", timeoutNs=" << vrrConfig->notifyExpectedPresentConfig->timeoutNs; in to_string()
DDisplayMode.h89 Builder& setVrrConfig(std::optional<hal::VrrConfig> vrrConfig) { in setVrrConfig() argument
90 mDisplayMode->mVrrConfig = std::move(vrrConfig); in setVrrConfig()
DHWComposer.h107 std::optional<hal::VrrConfig> vrrConfig; member
113 << " vrrConfig=" << to_string(mode.vrrConfig).c_str();
DHWComposer.cpp296 .vrrConfig = config.vrrConfig}; in getModesFromDisplayConfigurations()
304 hwcMode.vrrConfig->notifyExpectedPresentConfig = {}; in getModesFromDisplayConfigurations()
/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncPredictorTest.cpp683 hal::VrrConfig vrrConfig; in TEST_F() local
684 vrrConfig.minFrameIntervalNs = minFrameRate.getPeriodNsecs(); in TEST_F()
688 .setVrrConfig(std::move(vrrConfig)) in TEST_F()
749 hal::VrrConfig vrrConfig; in TEST_F() local
750 vrrConfig.minFrameIntervalNs = minFrameRate.getPeriodNsecs(); in TEST_F()
754 .setVrrConfig(std::move(vrrConfig)) in TEST_F()
776 hal::VrrConfig vrrConfig; in TEST_F() local
777 vrrConfig.minFrameIntervalNs = minFrameRate.getPeriodNsecs(); in TEST_F()
781 .setVrrConfig(std::move(vrrConfig)) in TEST_F()
808 hal::VrrConfig vrrConfig; in TEST_F() local
[all …]
DHWComposerTest.cpp363 const hal::VrrConfig vrrConfig = in TEST_F()
373 .vrrConfig = vrrConfig}; in TEST_F()
388 EXPECT_EQ(modes.front().vrrConfig, vrrConfig); in TEST_F()
408 EXPECT_EQ(modes.front().vrrConfig, vrrConfig); in TEST_F()
414 EXPECT_EQ(modes.front().vrrConfig->notifyExpectedPresentConfig, std::nullopt); in TEST_F()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockDisplayMode.h48 DisplayModeId modeId, Fps displayRefreshRate, std::optional<hal::VrrConfig> vrrConfig,
52 .setVrrConfig(std::move(vrrConfig))
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp3545 .setVrrConfig(hwcMode.vrrConfig) in loadDisplayModes()
4339 const auto vrrConfig = modePtr->getVrrConfig(); in onExpectedPresentTimePosted() local
4340 if (!vrrConfig) return std::nullopt; in onExpectedPresentTimePosted()