Searched refs:resourceOveruseConfig (Results 1 – 5 of 5) sorted by relevance
187 const ResourceOveruseConfiguration& resourceOveruseConfig) { in isValidResourceOveruseConfig() argument188 const auto filter = getComponentFilter(resourceOveruseConfig.componentType); in isValidResourceOveruseConfig()193 for (const auto& meta : resourceOveruseConfig.packageMetadata) { in isValidResourceOveruseConfig()203 if (resourceOveruseConfig.resourceSpecificConfigurations.size() != 1) { in isValidResourceOveruseConfig()205 << resourceOveruseConfig.resourceSpecificConfigurations.size() in isValidResourceOveruseConfig()208 for (const auto& config : resourceOveruseConfig.resourceSpecificConfigurations) { in isValidResourceOveruseConfig()214 if (auto result = isValidIoOveruseConfiguration(resourceOveruseConfig.componentType, in isValidResourceOveruseConfig()218 << toString(resourceOveruseConfig.componentType).c_str() << ": " in isValidResourceOveruseConfig()228 for (const auto& resourceOveruseConfig : resourceOveruseConfigs) { in isValidResourceOveruseConfigs() local229 if (seenComponentTypes.count(resourceOveruseConfig.componentType) > 0) { in isValidResourceOveruseConfigs()[all …]
231 resourceOveruseConfig);
82 ResourceOveruseConfiguration resourceOveruseConfig; in constructResourceOveruseConfig() local83 resourceOveruseConfig.componentType = type; in constructResourceOveruseConfig()84 resourceOveruseConfig.safeToKillPackages = safeToKill; in constructResourceOveruseConfig()85 resourceOveruseConfig.vendorPackagePrefixes = vendorPrefixes; in constructResourceOveruseConfig()86 resourceOveruseConfig.packageMetadata = packageMetadata; in constructResourceOveruseConfig()89 resourceOveruseConfig.resourceSpecificConfigurations.push_back(config); in constructResourceOveruseConfig()90 return resourceOveruseConfig; in constructResourceOveruseConfig()
286 ResourceOveruseConfiguration resourceOveruseConfig; in TEST() local287 resourceOveruseConfig.componentType = ComponentType::THIRD_PARTY; in TEST()293 OveruseConfigurationXmlHelper::writeXmlFile(resourceOveruseConfig, temporaryFile.path) in TEST()
936 const auto resourceOveruseConfig = sampleUpdateSystemConfig(); in TEST_F() local938 ASSERT_RESULT_OK(ioOveruseConfigs.update({resourceOveruseConfig})); in TEST_F()942 toPackageToAppCategoryMappings(resourceOveruseConfig.packageMetadata))); in TEST_F()947 const auto resourceOveruseConfig = sampleUpdateVendorConfig(); in TEST_F() local949 ASSERT_RESULT_OK(ioOveruseConfigs.update({resourceOveruseConfig})); in TEST_F()953 toPackageToAppCategoryMappings(resourceOveruseConfig.packageMetadata))); in TEST_F()