Searched refs:getModel (Results 1 – 10 of 10) sorted by relevance
/openbmc/phosphor-psu-code-mgmt/src/ |
H A D | utils.hpp | 93 std::string getModel(const std::string& inventoryPath); 144 virtual std::string getModel(const std::string& inventoryPath) const = 0; 184 std::string getModel(const std::string& inventoryPath) const override; 224 inline std::string getModel(const std::string& inventoryPath) in getModel() function 226 return getUtils().getModel(inventoryPath); in getModel()
|
H A D | utils.cpp | 167 std::string Utils::getModel(const std::string& inventoryPath) const in getModel() function in utils::Utils
|
H A D | activation.cpp | 283 auto psuModel = utils::getModel(psuInventoryPath); in isCompatible()
|
H A D | item_updater.cpp | 326 psuStatusMap[psuPath].model = utils::getModel(psuPath); in handlePSUPresenceChanged()
|
/openbmc/phosphor-psu-code-mgmt/test/ |
H A D | test_item_updater.cpp | 119 EXPECT_CALL(mockedUtils, getModel(StrEq(psuPath))) in TEST_F() 153 EXPECT_CALL(mockedUtils, getModel(StrEq(psu0))) in TEST_F() 160 EXPECT_CALL(mockedUtils, getModel(StrEq(psu1))) in TEST_F() 203 EXPECT_CALL(mockedUtils, getModel(StrEq(psu0))) in TEST_F() 210 EXPECT_CALL(mockedUtils, getModel(StrEq(psu1))) in TEST_F() 389 EXPECT_CALL(mockedUtils, getModel(StrEq(psu0))) in TEST_F() 396 EXPECT_CALL(mockedUtils, getModel(StrEq(psu1))) in TEST_F() 433 EXPECT_CALL(mockedUtils, getModel(StrEq(psu0))) in TEST_F() 437 EXPECT_CALL(mockedUtils, getModel(StrEq(psu1))) in TEST_F() 552 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 | 38 ON_CALL(mockedUtils, getModel(_)) in TestActivation() 323 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 | main.cpp | 62 ret = model::getModel(bus, psuPathModel); in main()
|
H A D | model.cpp | 138 std::string getModel(sdbusplus::bus_t& bus, const std::string& psuInventoryPath) in getModel() function
|