Lines Matching refs:configId
215 HWC3::Error Display::getDisplayAttribute(int32_t configId, in getDisplayAttribute() argument
224 auto it = mConfigs.find(configId); in getDisplayAttribute()
227 configId); in getDisplayAttribute()
266 for (const auto& [configId, _] : mConfigs) { in getDisplayConfigs()
267 outConfigIds->push_back(configId); in getDisplayConfigs()
438 HWC3::Error Display::setActiveConfig(int32_t configId) { in setActiveConfig() argument
440 __FUNCTION__, mId, configId); in setActiveConfig()
448 return setActiveConfigWithConstraints(configId, constraints, &timeline); in setActiveConfig()
452 int32_t configId, const VsyncPeriodChangeConstraints& constraints, in setActiveConfigWithConstraints() argument
455 configId); in setActiveConfigWithConstraints()
463 if (mActiveConfigId == configId) { in setActiveConfigWithConstraints()
467 DisplayConfig* newConfig = getConfig(configId); in setActiveConfigWithConstraints()
470 configId); in setActiveConfigWithConstraints()
489 __FUNCTION__, mId, configId, oldConfigGroup, newConfigGroup); in setActiveConfigWithConstraints()
495 mActiveConfigId = configId; in setActiveConfigWithConstraints()
539 int32_t configId = 0; in getBootConfigId() local
540 if (!::android::base::ParseInt(val, &configId)) { in getBootConfigId()
547 if (!hasConfig(configId)) { in getBootConfigId()
549 __FUNCTION__, mId, configId); in getBootConfigId()
553 return configId; in getBootConfigId()
556 HWC3::Error Display::setBootConfig(int32_t configId) { in setBootConfig() argument
558 configId); in setBootConfig()
562 DisplayConfig* newConfig = getConfig(configId); in setBootConfig()
565 configId); in setBootConfig()
570 const std::string val = std::to_string(configId); in setBootConfig()
604 for (const auto [configId, _] : mConfigs) { in getPreferredBootConfig()
605 configIds.push_back(configId); in getPreferredBootConfig()
930 bool Display::hasConfig(int32_t configId) const { in hasConfig()
931 return mConfigs.find(configId) != mConfigs.end(); in hasConfig()
934 DisplayConfig* Display::getConfig(int32_t configId) { in getConfig() argument
935 auto it = mConfigs.find(configId); in getConfig()