Lines Matching refs:configId

322     hwc2_config_t configId = 0;  in getActiveConfig()  local
323 auto intError = mComposer.getActiveConfig(mId, &configId); in getActiveConfig()
332 if (mConfigs.count(configId) != 0) { in getActiveConfig()
333 *outConfig = mConfigs.at(configId); in getActiveConfig()
336 configId); in getActiveConfig()
347 hwc2_config_t configId = 0; in getActiveConfigIndex() local
348 auto intError = mComposer.getActiveConfig(mId, &configId); in getActiveConfigIndex()
357 auto pos = mConfigs.find(configId); in getActiveConfigIndex()
361 ALOGE("[%" PRIu64 "] getActiveConfig returned unknown config %u", mId, configId); in getActiveConfigIndex()
736 int32_t Display::getAttribute(hwc2_config_t configId, Attribute attribute) in getAttribute() argument
739 auto intError = mComposer.getDisplayAttribute(mId, configId, in getAttribute()
745 configId, to_string(attribute).c_str(), in getAttribute()
752 void Display::loadConfig(hwc2_config_t configId) in loadConfig() argument
754 ALOGV("[%" PRIu64 "] loadConfig(%u)", mId, configId); in loadConfig()
756 auto config = Config::Builder(*this, configId) in loadConfig()
757 .setWidth(getAttribute(configId, Attribute::Width)) in loadConfig()
758 .setHeight(getAttribute(configId, Attribute::Height)) in loadConfig()
759 .setVsyncPeriod(getAttribute(configId, Attribute::VsyncPeriod)) in loadConfig()
760 .setDpiX(getAttribute(configId, Attribute::DpiX)) in loadConfig()
761 .setDpiY(getAttribute(configId, Attribute::DpiY)) in loadConfig()
763 mConfigs.emplace(configId, std::move(config)); in loadConfig()
779 for (auto configId : configIds) { in loadConfigs() local
780 loadConfig(configId); in loadConfigs()