Home
last modified time | relevance | path

Searched refs:jsonAct (Results 1 – 3 of 3) sorted by relevance

/openbmc/phosphor-fan-presence/control/json/actions/
H A Dget_managed_objects.cpp114 for (const auto& jsonAct : jsonObj["actions"]) in setActions() local
116 if (!jsonAct.contains("name")) in setActions()
123 if (jsonAct.contains("profiles")) in setActions()
125 profiles = jsonAct["profiles"].get<std::vector<std::string>>(); in setActions()
130 Event::setGroups(jsonAct, profiles, groups); in setActions()
141 jsonAct["name"].get<std::string>(), jsonAct, *groupPtr, {}); in setActions()
H A Dtimer_based_actions.cpp195 for (const auto& jsonAct : jsonObj["actions"]) in setActions() local
197 if (!jsonAct.contains("name")) in setActions()
204 if (jsonAct.contains("profiles")) in setActions()
206 for (const auto& profile : jsonAct["profiles"]) in setActions()
214 Event::setGroups(jsonAct, profiles, groups); in setActions()
218 jsonAct["name"].get<std::string>(), jsonAct, std::move(groups), {}); in setActions()
/openbmc/phosphor-fan-presence/control/json/
H A Devent.cpp175 for (const auto& jsonAct : jsonObj["actions"]) in setActions() local
177 if (!jsonAct.contains("name")) in setActions()
180 entry("JSON=%s", jsonAct.dump().c_str())); in setActions()
186 if (!jsonAct.contains("zones")) in setActions()
209 for (const auto& jsonZone : jsonAct["zones"]) in setActions()
229 getName(), jsonAct["name"].get<std::string>()) in setActions()
236 setGroups(jsonAct, _profiles, actionGroups); in setActions()
241 jsonAct["name"].get<std::string>(), jsonAct, in setActions()
253 jsonAct["name"].get<std::string>(), jsonAct, _groups, in setActions()
267 getName(), jsonAct["name"].get<std::string>()) in setActions()