Lines Matching refs:thresholds

277     PerStateIoOveruseThreshold thresholds;  in readComponentLevelThresholds()  local
278 thresholds.name = toString(componentType); in readComponentLevelThresholds()
280 thresholds.perStateWriteBytes = *result; in readComponentLevelThresholds()
283 << thresholds.name << "': " << result.error(); in readComponentLevelThresholds()
285 return thresholds; in readComponentLevelThresholds()
290 std::vector<PerStateIoOveruseThreshold> thresholds; in readPerStateThresholds() local
307 thresholds.push_back(threshold); in readPerStateThresholds()
309 return thresholds; in readPerStateThresholds()
314 std::vector<PerStateIoOveruseThreshold> thresholds; in readPackageSpecificThresholds() local
320 thresholds.insert(thresholds.end(), result->begin(), result->end()); in readPackageSpecificThresholds()
326 return thresholds; in readPackageSpecificThresholds()
331 std::vector<PerStateIoOveruseThreshold> thresholds; in readAppCategorySpecificThresholds() local
337 thresholds.insert(thresholds.end(), result->begin(), result->end()); in readAppCategorySpecificThresholds()
343 return thresholds; in readAppCategorySpecificThresholds()
542 Result<void> writeComponentLevelThresholds(const PerStateIoOveruseThreshold& thresholds, in writeComponentLevelThresholds() argument
549 if (const auto result = writePerStateBytes(thresholds.perStateWriteBytes, childElement); in writeComponentLevelThresholds()
556 Result<void> writePerStateThresholds(const PerStateIoOveruseThreshold& thresholds, in writePerStateThresholds() argument
563 childElement->SetAttribute(kAttrId, thresholds.name.c_str()); in writePerStateThresholds()
564 if (const auto result = writePerStateBytes(thresholds.perStateWriteBytes, childElement); in writePerStateThresholds()
572 const std::vector<PerStateIoOveruseThreshold>& thresholds, XMLElement* rootElement) { in writePackageSpecificThresholds() argument
578 for (const auto threshold : thresholds) { in writePackageSpecificThresholds()
588 const std::vector<PerStateIoOveruseThreshold>& thresholds, XMLElement* rootElement) { in writeAppCategorySpecificThresholds() argument
595 for (const auto threshold : thresholds) { in writeAppCategorySpecificThresholds()
635 Result<void> writeSystemWideThresholds(const std::vector<IoOveruseAlertThreshold>& thresholds, in writeSystemWideThresholds() argument
642 for (const auto threshold : thresholds) { in writeSystemWideThresholds()