Home
last modified time | relevance | path

Searched refs:alertThreshold (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/cpp/watchdog/server/src/
DIoOveruseConfigs.cpp388 for (const auto& alertThreshold : thresholds) { in updateAlertThresholds() local
389 if (auto result = containsValidThreshold(alertThreshold); !result.ok()) { in updateAlertThresholds()
394 if (const auto& it = mAlertThresholds.find(alertThreshold); it != mAlertThresholds.end()) { in updateAlertThresholds()
399 alertThreshold.durationInSeconds, it->writtenBytesPerSecond); in updateAlertThresholds()
401 mAlertThresholds.emplace(alertThreshold); in updateAlertThresholds()
DOveruseConfigurationXmlHelper.cpp346 IoOveruseAlertThreshold alertThreshold; in readIoOveruseAlertThreshold() local
367 alertThreshold.durationInSeconds = value; in readIoOveruseAlertThreshold()
370 alertThreshold.writtenBytesPerSecond = value; in readIoOveruseAlertThreshold()
379 return alertThreshold; in readIoOveruseAlertThreshold()