Searched refs:resourceOveruseConfig (Results 1 – 5 of 5) sorted by relevance
177 const ResourceOveruseConfiguration& resourceOveruseConfig) { in isValidResourceOveruseConfig() argument178 const auto filter = getComponentFilter(resourceOveruseConfig.componentType); in isValidResourceOveruseConfig()183 for (const auto& meta : resourceOveruseConfig.packageMetadata) { in isValidResourceOveruseConfig()193 if (resourceOveruseConfig.resourceSpecificConfigurations.size() != 1) { in isValidResourceOveruseConfig()195 << resourceOveruseConfig.resourceSpecificConfigurations.size() in isValidResourceOveruseConfig()198 for (const auto& config : resourceOveruseConfig.resourceSpecificConfigurations) { in isValidResourceOveruseConfig()204 if (auto result = isValidIoOveruseConfiguration(resourceOveruseConfig.componentType, in isValidResourceOveruseConfig()208 << toString(resourceOveruseConfig.componentType).c_str() << ": " in isValidResourceOveruseConfig()218 for (const auto& resourceOveruseConfig : resourceOveruseConfigs) { in isValidResourceOveruseConfigs() local219 if (seenComponentTypes.count(resourceOveruseConfig.componentType) > 0) { in isValidResourceOveruseConfigs()[all …]
240 resourceOveruseConfig);
83 ResourceOveruseConfiguration resourceOveruseConfig; in constructResourceOveruseConfig() local84 resourceOveruseConfig.componentType = type; in constructResourceOveruseConfig()85 resourceOveruseConfig.safeToKillPackages = safeToKill; in constructResourceOveruseConfig()86 resourceOveruseConfig.vendorPackagePrefixes = vendorPrefixes; in constructResourceOveruseConfig()87 resourceOveruseConfig.packageMetadata = packageMetadata; in constructResourceOveruseConfig()90 resourceOveruseConfig.resourceSpecificConfigurations.push_back(config); in constructResourceOveruseConfig()91 return resourceOveruseConfig; in constructResourceOveruseConfig()
280 ResourceOveruseConfiguration resourceOveruseConfig; in TEST() local281 resourceOveruseConfig.componentType = ComponentType::THIRD_PARTY; in TEST()287 OveruseConfigurationXmlHelper::writeXmlFile(resourceOveruseConfig, temporaryFile.path) in TEST()
1060 const auto resourceOveruseConfig = sampleUpdateSystemConfig(); in TEST_F() local1062 ASSERT_RESULT_OK(ioOveruseConfigs.update({resourceOveruseConfig})); in TEST_F()1066 toPackageToAppCategoryMappings(resourceOveruseConfig.packageMetadata))); in TEST_F()1071 const auto resourceOveruseConfig = sampleUpdateVendorConfig(); in TEST_F() local1073 ASSERT_RESULT_OK(ioOveruseConfigs.update({resourceOveruseConfig})); in TEST_F()1077 toPackageToAppCategoryMappings(resourceOveruseConfig.packageMetadata))); in TEST_F()