Lines Matching refs:thresholds

276     PerStateIoOveruseThreshold thresholds;  in readComponentLevelThresholds()  local
277 thresholds.name = toString(componentType); in readComponentLevelThresholds()
279 thresholds.perStateWriteBytes = *result; in readComponentLevelThresholds()
282 << thresholds.name << "': " << result.error(); in readComponentLevelThresholds()
284 return thresholds; in readComponentLevelThresholds()
289 std::vector<PerStateIoOveruseThreshold> thresholds; in readPerStateThresholds() local
306 thresholds.push_back(threshold); in readPerStateThresholds()
308 return thresholds; in readPerStateThresholds()
313 std::vector<PerStateIoOveruseThreshold> thresholds; in readPackageSpecificThresholds() local
319 thresholds.insert(thresholds.end(), result->begin(), result->end()); in readPackageSpecificThresholds()
325 return thresholds; in readPackageSpecificThresholds()
330 std::vector<PerStateIoOveruseThreshold> thresholds; in readAppCategorySpecificThresholds() local
336 thresholds.insert(thresholds.end(), result->begin(), result->end()); in readAppCategorySpecificThresholds()
342 return thresholds; in readAppCategorySpecificThresholds()
541 Result<void> writeComponentLevelThresholds(const PerStateIoOveruseThreshold& thresholds, in writeComponentLevelThresholds() argument
548 if (const auto result = writePerStateBytes(thresholds.perStateWriteBytes, childElement); in writeComponentLevelThresholds()
555 Result<void> writePerStateThresholds(const PerStateIoOveruseThreshold& thresholds, in writePerStateThresholds() argument
562 childElement->SetAttribute(kAttrId, thresholds.name.c_str()); in writePerStateThresholds()
563 if (const auto result = writePerStateBytes(thresholds.perStateWriteBytes, childElement); in writePerStateThresholds()
571 const std::vector<PerStateIoOveruseThreshold>& thresholds, XMLElement* rootElement) { in writePackageSpecificThresholds() argument
577 for (const auto threshold : thresholds) { in writePackageSpecificThresholds()
587 const std::vector<PerStateIoOveruseThreshold>& thresholds, XMLElement* rootElement) { in writeAppCategorySpecificThresholds() argument
594 for (const auto threshold : thresholds) { in writeAppCategorySpecificThresholds()
634 Result<void> writeSystemWideThresholds(const std::vector<IoOveruseAlertThreshold>& thresholds, in writeSystemWideThresholds() argument
641 for (const auto threshold : thresholds) { in writeSystemWideThresholds()