/openbmc/telemetry/src/ |
H A D | trigger_factory.cpp | 27 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 D | trigger_manager.cpp | 53 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 D | trigger_factory.hpp | 22 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 D | trigger.cpp | 28 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 D | trigger_actions.cpp | 137 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 D | trigger_actions.hpp | 70 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 D | trigger_manager.hpp | 40 const std::vector<std::string>& reportIds, 47 const std::vector<std::string>& reportIds,
|
H A D | trigger.hpp | 24 const std::shared_ptr<std::vector<std::string>> reportIds, 58 std::shared_ptr<std::vector<std::string>> reportIds; member in Trigger
|
H A D | report.cpp | 82 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 D | trigger_factory_mock.hpp | 28 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 D | trigger_factory.hpp | 28 const std::vector<std::string>& reportIds, 45 const std::shared_ptr<std::vector<std::string>>& reportIds,
|
/openbmc/telemetry/tests/src/params/ |
H A D | trigger_params.hpp | 65 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 D | update_report_ind.hpp | 11 std::vector<std::string> reportIds; member
|
H A D | trigger_presence_changed_ind.hpp | 15 std::vector<std::string> reportIds; member
|
/openbmc/telemetry/tests/src/ |
H A D | test_trigger.cpp | 90 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 D | test_trigger_manager.cpp | 143 TriggerParams().reportIds({"trigger1", "trigger2", "trigger1"})); in TEST_F() 480 {"ReportIds", TriggerParams().reportIds()},
|