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.cpp53 auto reportIds = utils::transform<std::vector>( in TriggerManager() local
58 reportIds, labeledTriggerThresholdParams) in TriggerManager()
107 const std::vector<std::string>& reportIds, in verifyAddTrigger() argument
117 verifyReportIds(reportIds); in verifyAddTrigger()
125 const std::vector<std::string>& reportIds, in addTrigger() argument
134 verifyAddTrigger(reportIds, labeledThresholdParams); in addTrigger()
137 id, name, triggerActions, reportIds, *this, *triggerStorage, in addTrigger()
183 auto reportIds = in loadFromPersistent() local
189 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()
79 reportIds, sensors, in __anon5e4599b80402()
97 reportIds, sensors, in __anon5e4599b80402()
125 reportIds, sensors, in __anon5e4599b80402()
167 *reportIds = newReportIds; in __anon5e4599b80402()
169 messages::Presence::Exist, *id, *reportIds}); in __anon5e4599b80402()
173 return utils::transform<std::vector>(*reportIds, in __anon5e4599b80402()
210 if (utils::contains(*reportIds, msg.reportId)) in __anon5e4599b81802()
217 messages::Presence::Exist, *id, *reportIds});
239 data["ReportIds"] = *reportIds; in storeConfiguration()
H A Dtrigger_actions.cpp137 const std::shared_ptr<std::vector<std::string>>& reportIds) in fillActions() argument
159 std::make_unique<UpdateReport>(ioc, reportIds)); in fillActions()
211 const std::shared_ptr<std::vector<std::string>>& reportIds) in fillActions() argument
233 std::make_unique<UpdateReport>(ioc, reportIds)); in fillActions()
278 const std::shared_ptr<std::vector<std::string>>& reportIds) in fillActions() argument
299 std::make_unique<UpdateReport>(ioc, reportIds)); in fillActions()
314 if (reportIds->empty()) in commit()
320 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.cpp82 if (utils::contains(msg.reportIds, id)) in Report()
86 else if (!utils::contains(msg.reportIds, id)) in Report()
103 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.cpp143 TriggerParams().reportIds({"trigger1", "trigger2", "trigger1"})); in TEST_F()
480 {"ReportIds", TriggerParams().reportIds()},