Home
last modified time | relevance | path

Searched refs:reportIds (Results 1 – 16 of 16) sorted by relevance

/openbmc/telemetry/src/
H A Dtrigger_factory.cpp27 const std::shared_ptr<std::vector<std::string>>& reportIds, in updateDiscreteThresholds() argument
63 reportIds, sensors, labeledThresholdParam); in updateDiscreteThresholds()
71 reportIds, sensors, labeledThresholdParam); in updateDiscreteThresholds()
83 reportIds, sensors); in updateDiscreteThresholds()
93 const std::shared_ptr<std::vector<std::string>>& reportIds, in updateNumericThresholds() argument
119 reportIds, sensors, labeledThresholdParam); in updateNumericThresholds()
128 const std::shared_ptr<std::vector<std::string>>& reportIds, in updateThresholds() argument
138 reportIds, sensors, in updateThresholds()
147 reportIds, sensors, in updateThresholds()
156 const std::shared_ptr<std::vector<std::string>>& reportIds, in makeDiscreteThreshold() argument
[all …]
H A Dtrigger_manager.cpp54 auto reportIds = utils::transform<std::vector>( in TriggerManager() local
60 labeledSensorsInfo, reportIds, in TriggerManager()
110 const std::vector<std::string>& reportIds, in verifyAddTrigger() argument
120 verifyReportIds(reportIds); in verifyAddTrigger()
128 const std::vector<std::string>& reportIds, in addTrigger() argument
137 verifyAddTrigger(reportIds, labeledThresholdParams); in addTrigger()
140 id, name, triggerActions, reportIds, *this, *triggerStorage, in addTrigger()
186 auto reportIds = in loadFromPersistent() local
192 addTrigger(id, name, triggerActions, labeledSensorsInfo, reportIds, in loadFromPersistent()
H A Dtrigger_factory.hpp22 const std::vector<std::string>& reportIds,
39 const std::shared_ptr<std::vector<std::string>>& reportIds,
63 const std::shared_ptr<std::vector<std::string>>& reportIds,
71 const std::shared_ptr<std::vector<std::string>>& reportIds,
79 const std::shared_ptr<std::vector<std::string>>& reportIds,
87 const std::shared_ptr<std::vector<std::string>>& reportIds,
95 const std::shared_ptr<std::vector<std::string>>& reportIds,
H A Dtrigger.cpp28 reportIds(std::move(reportIdsIn)), thresholds(std::move(thresholdsIn)), in Trigger()
80 thresholds, *id, triggerActions, reportIds, sensors, in __anon5e4599b80402()
99 thresholds, *id, triggerActions, reportIds, sensors, in __anon5e4599b80402()
128 thresholds, *id, triggerActions, reportIds, sensors, in __anon5e4599b80402()
174 *reportIds = newReportIds; in __anon5e4599b80402()
176 messages::Presence::Exist, *id, *reportIds}); in __anon5e4599b80402()
182 *reportIds, [](const auto& id) { in __anon5e4599b80402()
222 if (utils::contains(*reportIds, msg.reportId)) in __anon5e4599b81802()
229 messages::Presence::Exist, *id, *reportIds});
252 data["ReportIds"] = *reportIds; in storeConfiguration()
H A Dtrigger_actions.cpp135 const std::shared_ptr<std::vector<std::string>>& reportIds) in fillActions() argument
157 std::make_unique<UpdateReport>(ioc, reportIds)); in fillActions()
207 const std::shared_ptr<std::vector<std::string>>& reportIds) in fillActions() argument
229 std::make_unique<UpdateReport>(ioc, reportIds)); in fillActions()
272 const std::shared_ptr<std::vector<std::string>>& reportIds) in fillActions() argument
293 std::make_unique<UpdateReport>(ioc, reportIds)); in fillActions()
307 if (reportIds->empty()) in commit()
313 messanger.send(messages::UpdateReportInd{*reportIds}); in commit()
H A Dtrigger_actions.hpp70 const std::shared_ptr<std::vector<std::string>>& reportIds);
102 const std::shared_ptr<std::vector<std::string>>& reportIds);
129 const std::shared_ptr<std::vector<std::string>>& reportIds);
139 ioc(ioc), reportIds(std::move(ids)) in UpdateReport()
148 std::shared_ptr<std::vector<std::string>> reportIds; member in action::UpdateReport
H A Dtrigger_manager.hpp40 const std::vector<std::string>& reportIds,
47 const std::vector<std::string>& reportIds,
H A Dtrigger.hpp24 const std::shared_ptr<std::vector<std::string>> reportIds,
58 std::shared_ptr<std::vector<std::string>> reportIds; member in Trigger
H A Dreport.cpp81 if (utils::contains(msg.reportIds, id)) in Report()
85 else if (!utils::contains(msg.reportIds, id)) in Report()
102 if (utils::contains(msg.reportIds, id)) in Report()
/openbmc/telemetry/tests/src/mocks/
H A Dtrigger_factory_mock.hpp28 const std::vector<std::string>& reportIds,
47 const std::shared_ptr<std::vector<std::string>>& reportIds,
80 params.reportIds(), tm, triggerStorage, in expectMake()
/openbmc/telemetry/src/interfaces/
H A Dtrigger_factory.hpp28 const std::vector<std::string>& reportIds,
45 const std::shared_ptr<std::vector<std::string>>& reportIds,
/openbmc/telemetry/tests/src/params/
H A Dtrigger_params.hpp65 const std::vector<std::string>& reportIds() const in reportIds() function in TriggerParams
70 TriggerParams& reportIds(std::vector<std::string> val) in reportIds() function in TriggerParams
/openbmc/telemetry/src/messages/
H A Dupdate_report_ind.hpp11 std::vector<std::string> reportIds; member
H A Dtrigger_presence_changed_ind.hpp15 std::vector<std::string> reportIds; member
/openbmc/telemetry/tests/src/
H A Dtest_trigger.cpp90 params.reportIds().begin(), params.reportIds().end()), in makeTrigger()
230 UnorderedElementsAreArray(triggerParams.reportIds())))); in TEST_F()
478 UnorderedElementsAreArray(triggerParams.reportIds())))); in TEST_F()
529 Eq(triggerParams.reportIds())); in TEST_F()
H A Dtest_trigger_manager.cpp144 TriggerParams().reportIds({"trigger1", "trigger2", "trigger1"})); in TEST_F()
481 {"ReportIds", TriggerParams().reportIds()},