Searched refs:resourceOveruseConfig (Results 1 – 5 of 5) sorted by relevance
178 const ResourceOveruseConfiguration& resourceOveruseConfig) { in isValidResourceOveruseConfig() argument184 for (const auto& meta : resourceOveruseConfig.packageMetadata) { in isValidResourceOveruseConfig()219 for (const auto& resourceOveruseConfig : resourceOveruseConfigs) { in isValidResourceOveruseConfigs() local413 updateFromAidlConfig(resourceOveruseConfig); in update()419 const auto resourceOveruseConfig = sParseXmlFile(filename); in updateFromXml() local420 if (!resourceOveruseConfig.ok()) { in updateFromXml()426 updateFromAidlConfig(*resourceOveruseConfig); in updateFromXml()431 const ResourceOveruseConfiguration& resourceOveruseConfig) { in updateFromAidlConfig() argument434 switch (resourceOveruseConfig.componentType) { in updateFromAidlConfig()454 resourceOveruseConfig.resourceSpecificConfigurations) { in updateFromAidlConfig()[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()
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()