Home
last modified time | relevance | path

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

/hardware/interfaces/graphics/composer/aidl/vts/
DVtsComposerClient.h270 void addDisplayConfig(int32_t config, DisplayConfig displayConfig) { in addDisplayConfig() argument
271 mDisplayConfigs.insert({config, displayConfig}); in addDisplayConfig()
292 const auto displayConfig = getDisplayConfig(config); in printConfig() local
293 const auto vrrConfigOpt = displayConfig.vrrConfigOpt; in printConfig()
295 if (displayConfig.vrrConfigOpt) { in printConfig()
296 ss << "{Config " << config << ": vsyncPeriod " << displayConfig.vsyncPeriod in printConfig()
300 ss << "{Config " << config << ": vsyncPeriod " << displayConfig.vsyncPeriod << "}"; in printConfig()
DVtsComposerClient.cpp156 for (const auto [config, displayConfig] : displayConfigs) { in setPeakRefreshRateConfig()
157 if (displayConfig.configGroup == peakDisplayConfig.configGroup && in setPeakRefreshRateConfig()
158 displayConfig.vsyncPeriod < peakDisplayConfig.vsyncPeriod) { in setPeakRefreshRateConfig()
159 peakDisplayConfig = displayConfig; in setPeakRefreshRateConfig()
570 for (const auto& displayConfig : configs) { in updateDisplayProperties() local
571 if (displayConfig.configId == config) { in updateDisplayProperties()
572 vtsDisplay->setDimensions(displayConfig.width, displayConfig.height); in updateDisplayProperties()
DVtsHalGraphicsComposer3_TargetTest.cpp1257 for (const auto& displayConfig : displayConfigurations) { in TEST_P() local
1258 EXPECT_NE(-1, displayConfig.width); in TEST_P()
1259 EXPECT_NE(-1, displayConfig.height); in TEST_P()
1260 EXPECT_NE(-1, displayConfig.vsyncPeriod); in TEST_P()
1261 EXPECT_NE(-1, displayConfig.configGroup); in TEST_P()
1262 if (displayConfig.dpi) { in TEST_P()
1263 EXPECT_NE(-1.f, displayConfig.dpi->x); in TEST_P()
1264 EXPECT_NE(-1.f, displayConfig.dpi->y); in TEST_P()
1266 if (displayConfig.vrrConfig) { in TEST_P()
1267 const auto& vrrConfig = *displayConfig.vrrConfig; in TEST_P()
[all …]
/hardware/google/graphics/common/libhwc2.1/libexternaldisplay/
DExynosExternalDisplay.cpp165 displayConfigs_t displayConfig = mDisplayConfigs[mActiveConfig]; in getDisplayConfigs() local
166 mXres = displayConfig.width; in getDisplayConfigs()
167 mYres = displayConfig.height; in getDisplayConfigs()
168 mVsyncPeriod = displayConfig.vsyncPeriod; in getDisplayConfigs()
169 mRefreshRate = displayConfig.refreshRate; in getDisplayConfigs()