Home
last modified time | relevance | path

Searched refs:getModel (Results 1 – 10 of 10) sorted by relevance

/openbmc/phosphor-psu-code-mgmt/src/
H A Dutils.hpp93 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 Dutils.cpp167 std::string Utils::getModel(const std::string& inventoryPath) const in getModel() function in utils::Utils
H A Dactivation.cpp283 auto psuModel = utils::getModel(psuInventoryPath); in isCompatible()
H A Ditem_updater.cpp326 psuStatusMap[psuPath].model = utils::getModel(psuPath); in handlePSUPresenceChanged()
/openbmc/phosphor-psu-code-mgmt/test/
H A Dtest_item_updater.cpp119 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 Dmocked_utils.hpp36 MOCK_CONST_METHOD1(getModel,
H A Dtest_activation.cpp38 ON_CALL(mockedUtils, getModel(_)) in TestActivation()
323 ON_CALL(mockedUtils, getModel(StrEq(psu1))) in TEST_F()
/openbmc/phosphor-power/tools/power-utils/
H A Dmodel.hpp33 std::string getModel(sdbusplus::bus_t& bus,
H A Dmain.cpp62 ret = model::getModel(bus, psuPathModel); in main()
H A Dmodel.cpp138 std::string getModel(sdbusplus::bus_t& bus, const std::string& psuInventoryPath) in getModel() function