Searched refs:psuPath (Results 1 – 5 of 5) sorted by relevance
| /openbmc/phosphor-psu-code-mgmt/test/ |
| H A D | test_item_updater.cpp | 55 void onPsuInventoryChanged(const std::string& psuPath, in onPsuInventoryChanged() argument 58 itemUpdater->onPsuInventoryChanged(psuPath, properties); in onPsuInventoryChanged() 83 constexpr auto psuPath = "/com/example/inventory/psu0"; in TEST_F() local 88 .WillOnce(Return(std::vector<std::string>({psuPath}))); in TEST_F() 89 EXPECT_CALL(mockedUtils, getService(_, StrEq(psuPath), _)) in TEST_F() 91 EXPECT_CALL(mockedUtils, getPropertyImpl(_, StrEq(service), StrEq(psuPath), in TEST_F() 107 constexpr auto psuPath = "/com/example/inventory/psu0"; in TEST_F() local 112 .WillOnce(Return(std::vector<std::string>({psuPath}))); in TEST_F() 113 EXPECT_CALL(mockedUtils, getService(_, StrEq(psuPath), _)) in TEST_F() 115 EXPECT_CALL(mockedUtils, getVersion(StrEq(psuPath))) in TEST_F() [all …]
|
| /openbmc/phosphor-power/tools/power-utils/ |
| H A D | validator.hpp | 42 PSUUpdateValidator(sdbusplus::bus_t& bus, const std::string& psuPath) : in PSUUpdateValidator() argument 43 bus(bus), psuPath(psuPath) in PSUUpdateValidator() 93 std::string psuPath; // Path of the referenced PSU member in validator::PSUUpdateValidator
|
| H A D | validator.cpp | 20 targetPsuModel = model::getModel(bus, psuPath); in areAllPsuSameModel()
|
| /openbmc/phosphor-psu-code-mgmt/src/ |
| H A D | item_updater.cpp | 323 void ItemUpdater::addPsuToStatusMap(const std::string& psuPath) in addPsuToStatusMap() argument 325 if (!psuStatusMap.contains(psuPath)) in addPsuToStatusMap() 327 psuStatusMap[psuPath] = {false, ""}; in addPsuToStatusMap() 332 bus, MatchRules::propertiesChanged(psuPath, ITEM_IFACE), in addPsuToStatusMap() 338 void ItemUpdater::handlePSUPresenceChanged(const std::string& psuPath) in handlePSUPresenceChanged() argument 340 if (psuStatusMap.contains(psuPath)) in handlePSUPresenceChanged() 342 if (psuStatusMap[psuPath].present) in handlePSUPresenceChanged() 345 psuStatusMap[psuPath].model = utils::getModel(psuPath); in handlePSUPresenceChanged() 346 auto version = utils::getVersion(psuPath); in handlePSUPresenceChanged() 347 if (!version.empty() && !psuPathActivationMap.contains(psuPath)) in handlePSUPresenceChanged() [all …]
|
| H A D | item_updater.hpp | 151 void onPsuInventoryChanged(const std::string& psuPath, 189 void addPsuToStatusMap(const std::string& psuPath); 195 void handlePSUPresenceChanged(const std::string& psuPath);
|