Home
last modified time | relevance | path

Searched refs:resourceOveruseConfigs (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/cpp/watchdog/server/src/
DIoOveruseConfigs.cpp216 const std::vector<ResourceOveruseConfiguration>& resourceOveruseConfigs) { in isValidResourceOveruseConfigs() argument
218 for (const auto& resourceOveruseConfig : resourceOveruseConfigs) { in isValidResourceOveruseConfigs()
407 const std::vector<ResourceOveruseConfiguration>& resourceOveruseConfigs) { in update() argument
408 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 …]
DIoOveruseConfigs.h85 resourceOveruseConfigs) const = 0;
205 resourceOveruseConfigs) const override;
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DWatchdogPerfHandlerUnitTest.java945 List<ResourceOveruseConfiguration> resourceOveruseConfigs = Collections.singletonList( in testFailsSetResourceOveruseConfigurationsOnInvalidArgs() local
951 () -> mWatchdogPerfHandler.setResourceOveruseConfigurations(resourceOveruseConfigs, in testFailsSetResourceOveruseConfigurationsOnInvalidArgs()
960 List<ResourceOveruseConfiguration> resourceOveruseConfigs = Arrays.asList(config, config); in testFailsSetResourceOveruseConfigurationsOnDuplicateComponents() local
963 () -> mWatchdogPerfHandler.setResourceOveruseConfigurations(resourceOveruseConfigs, in testFailsSetResourceOveruseConfigurationsOnDuplicateComponents()
970 List<ResourceOveruseConfiguration> resourceOveruseConfigs = in testFailsSetResourceOveruseConfigurationsOnZeroComponentLevelIoOveruseThresholds() local
983 () -> mWatchdogPerfHandler.setResourceOveruseConfigurations(resourceOveruseConfigs, in testFailsSetResourceOveruseConfigurationsOnZeroComponentLevelIoOveruseThresholds()
990 List<ResourceOveruseConfiguration> resourceOveruseConfigs = Collections.singletonList( in testFailsSetResourceOveruseConfigurationsOnNullIoOveruseConfiguration() local
995 () -> mWatchdogPerfHandler.setResourceOveruseConfigurations(resourceOveruseConfigs, in testFailsSetResourceOveruseConfigurationsOnNullIoOveruseConfiguration()
1002 List<ResourceOveruseConfiguration> resourceOveruseConfigs = in testFailsSetResourceOveruseConfigurationsOnEmptyIoOveruseSystemWideThresholds() local
1011 () -> mWatchdogPerfHandler.setResourceOveruseConfigurations(resourceOveruseConfigs, in testFailsSetResourceOveruseConfigurationsOnEmptyIoOveruseSystemWideThresholds()
[all …]