Lines Matching refs:utils
8 #include "utils/contains.hpp"
9 #include "utils/conversion_trigger.hpp"
10 #include "utils/dbus_path_utils.hpp"
11 #include "utils/transform.hpp"
32 path(utils::pathAppend(utils::constants::triggerDirPath, *id)),
90 utils::ToLabeledThresholdParamConversion()(newVal);
120 utils::ToLabeledThresholdParamConversion()(newVal);
156 return utils::fromLabeledSensorsInfo(
165 auto newReportIds = utils::transform<std::vector>(
167 return utils::reportPathToId(path);
177 return utils::transform<std::vector>(
179 return utils::pathAppend(
180 utils::constants::reportDirPath, id);
193 if (newVal.length() > utils::constants::maxIdNameLength)
207 return utils::transform(triggerActions,
221 if (utils::contains(*reportIds, msg.reportId))
238 std::visit(utils::ToLabeledThresholdParamConversion(),
246 utils::transform(triggerActions, [](const auto& action) {
250 utils::labeledThresholdParamsToJson(labeledThresholdParams);
268 return utils::transform(sensors, [](const auto& sensor) {
275 return utils::transform(thresholds, [](const auto& threshold) {
288 return utils::isFirstElementOfType<std::monostate>(labeledThresholds) ||
289 utils::isFirstElementOfType<discrete::LabeledThresholdParam>(