Searched refs:getModel (Results 1 – 11 of 11) sorted by relevance
| /openbmc/phosphor-psu-code-mgmt/src/ |
| H A D | utils.hpp | 108 std::string getModel(const std::string& inventoryPath); 160 virtual std::string getModel(const std::string& inventoryPath) const = 0; 200 std::string getModel(const std::string& inventoryPath) const override; 240 inline std::string getModel(const std::string& inventoryPath) in getModel() function 242 return getUtils().getModel(inventoryPath); in getModel()
|
| H A D | utils.cpp | 201 std::string Utils::getModel(const std::string& inventoryPath) const in getModel() function in utils::Utils
|
| H A D | activation.cpp | 368 auto psuModel = utils::getModel(psuInventoryPath); in isCompatible()
|
| H A D | item_updater.cpp | 345 psuStatusMap[psuPath].model = utils::getModel(psuPath); in handlePSUPresenceChanged()
|
| /openbmc/phosphor-psu-code-mgmt/test/ |
| H A D | test_item_updater.cpp | 120 EXPECT_CALL(mockedUtils, getModel(StrEq(psuPath))) in TEST_F() 154 EXPECT_CALL(mockedUtils, getModel(StrEq(psu0))) in TEST_F() 161 EXPECT_CALL(mockedUtils, getModel(StrEq(psu1))) in TEST_F() 204 EXPECT_CALL(mockedUtils, getModel(StrEq(psu0))) in TEST_F() 211 EXPECT_CALL(mockedUtils, getModel(StrEq(psu1))) in TEST_F() 254 EXPECT_CALL(mockedUtils, getModel(StrEq(psuPath))) in TEST_F() 304 EXPECT_CALL(mockedUtils, getModel(StrEq(psuPath))) in TEST_F() 326 EXPECT_CALL(mockedUtils, getModel(StrEq(psuPath))) in TEST_F() 345 EXPECT_CALL(mockedUtils, getModel(StrEq(psuPath))) in TEST_F() 390 EXPECT_CALL(mockedUtils, getModel(StrEq(psu0))) in TEST_F() [all …]
|
| H A D | mocked_utils.hpp | 36 MOCK_CONST_METHOD1(getModel,
|
| H A D | test_activation.cpp | 43 ON_CALL(mockedUtils, getModel(_)) in TestActivation() 343 ON_CALL(mockedUtils, getModel(StrEq(psu1))) in TEST_F()
|
| /openbmc/phosphor-power/tools/power-utils/ |
| H A D | model.hpp | 33 std::string getModel(sdbusplus::bus_t& bus,
|
| H A D | validator.cpp | 20 targetPsuModel = model::getModel(bus, psuPath); in areAllPsuSameModel() 24 auto thisPsuModel = model::getModel(bus, path); in areAllPsuSameModel()
|
| H A D | main.cpp | 69 ret = model::getModel(bus, psuPathModel); in main()
|
| H A D | model.cpp | 137 std::string getModel(sdbusplus::bus_t& bus, const std::string& psuInventoryPath) in getModel() function
|