Searched refs:resourceOveruseConfigs (Results 1 – 3 of 3) sorted by relevance
216 const std::vector<ResourceOveruseConfiguration>& resourceOveruseConfigs) { in isValidResourceOveruseConfigs() argument218 for (const auto& resourceOveruseConfig : resourceOveruseConfigs) { in isValidResourceOveruseConfigs()407 const std::vector<ResourceOveruseConfiguration>& resourceOveruseConfigs) { in update() argument408 if (const auto result = isValidResourceOveruseConfigs(resourceOveruseConfigs); !result.ok()) { in update()411 for (const auto& resourceOveruseConfig : resourceOveruseConfigs) { in update()583 std::vector<ResourceOveruseConfiguration>* resourceOveruseConfigs) const { in get()587 resourceOveruseConfigs->emplace_back(std::move(*systemConfig)); in get()593 resourceOveruseConfigs->emplace_back(std::move(*vendorConfig)); in get()599 resourceOveruseConfigs->emplace_back(std::move(*thirdPartyConfig)); in get()653 std::vector<ResourceOveruseConfiguration> resourceOveruseConfigs; in writeToDisk() local[all …]
85 resourceOveruseConfigs) const = 0;205 resourceOveruseConfigs) const override;
945 List<ResourceOveruseConfiguration> resourceOveruseConfigs = Collections.singletonList( in testFailsSetResourceOveruseConfigurationsOnInvalidArgs() local951 () -> mWatchdogPerfHandler.setResourceOveruseConfigurations(resourceOveruseConfigs, in testFailsSetResourceOveruseConfigurationsOnInvalidArgs()960 List<ResourceOveruseConfiguration> resourceOveruseConfigs = Arrays.asList(config, config); in testFailsSetResourceOveruseConfigurationsOnDuplicateComponents() local963 () -> mWatchdogPerfHandler.setResourceOveruseConfigurations(resourceOveruseConfigs, in testFailsSetResourceOveruseConfigurationsOnDuplicateComponents()970 List<ResourceOveruseConfiguration> resourceOveruseConfigs = in testFailsSetResourceOveruseConfigurationsOnZeroComponentLevelIoOveruseThresholds() local983 () -> mWatchdogPerfHandler.setResourceOveruseConfigurations(resourceOveruseConfigs, in testFailsSetResourceOveruseConfigurationsOnZeroComponentLevelIoOveruseThresholds()990 List<ResourceOveruseConfiguration> resourceOveruseConfigs = Collections.singletonList( in testFailsSetResourceOveruseConfigurationsOnNullIoOveruseConfiguration() local995 () -> mWatchdogPerfHandler.setResourceOveruseConfigurations(resourceOveruseConfigs, in testFailsSetResourceOveruseConfigurationsOnNullIoOveruseConfiguration()1002 List<ResourceOveruseConfiguration> resourceOveruseConfigs = in testFailsSetResourceOveruseConfigurationsOnEmptyIoOveruseSystemWideThresholds() local1011 () -> mWatchdogPerfHandler.setResourceOveruseConfigurations(resourceOveruseConfigs, in testFailsSetResourceOveruseConfigurationsOnEmptyIoOveruseSystemWideThresholds()[all …]