Home
last modified time | relevance | path

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

/openbmc/phosphor-psu-code-mgmt/src/
H A Dutils.hpp108 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 Dutils.cpp201 std::string Utils::getModel(const std::string& inventoryPath) const in getModel() function in utils::Utils
H A Dactivation.cpp368 auto psuModel = utils::getModel(psuInventoryPath); in isCompatible()
H A Ditem_updater.cpp345 psuStatusMap[psuPath].model = utils::getModel(psuPath); in handlePSUPresenceChanged()
/openbmc/phosphor-psu-code-mgmt/test/
H A Dtest_item_updater.cpp120 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 Dmocked_utils.hpp36 MOCK_CONST_METHOD1(getModel,
H A Dtest_activation.cpp43 ON_CALL(mockedUtils, getModel(_)) in TestActivation()
343 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 Dvalidator.cpp20 targetPsuModel = model::getModel(bus, psuPath); in areAllPsuSameModel()
24 auto thisPsuModel = model::getModel(bus, path); in areAllPsuSameModel()
H A Dmain.cpp69 ret = model::getModel(bus, psuPathModel); in main()
H A Dmodel.cpp137 std::string getModel(sdbusplus::bus_t& bus, const std::string& psuInventoryPath) in getModel() function