Searched refs:getDevice (Results 1 – 11 of 11) sorted by relevance
/openbmc/phosphor-power/phosphor-regulators/test/ |
H A D | id_map_tests.cpp | 48 EXPECT_THROW(idMap.getDevice(id), std::invalid_argument); in TEST() 56 Device& deviceFound = idMap.getDevice(id); in TEST() 66 EXPECT_THROW(idMap.getDevice("vio_reg2"), std::invalid_argument); in TEST() 192 Device& deviceFound = idMap.getDevice(id); in TEST() 204 idMap.getDevice("vcs_reg"); in TEST()
|
H A D | system_tests.cpp | 79 EXPECT_NO_THROW(system.getIDMap().getDevice("reg1")); in TEST() 413 EXPECT_NO_THROW(idMap.getDevice("reg1")); in TEST() 414 EXPECT_NO_THROW(idMap.getDevice("reg2")); in TEST() 415 EXPECT_NO_THROW(idMap.getDevice("reg3")); in TEST() 416 EXPECT_NO_THROW(idMap.getDevice("reg4")); in TEST() 417 EXPECT_THROW(idMap.getDevice("reg5"), std::invalid_argument); in TEST()
|
H A D | chassis_tests.cpp | 135 EXPECT_NO_THROW(idMap.getDevice("reg1")); in TEST_F() 136 EXPECT_NO_THROW(idMap.getDevice("reg2")); in TEST_F() 137 EXPECT_NO_THROW(idMap.getDevice("reg3")); in TEST_F() 138 EXPECT_THROW(idMap.getDevice("reg4"), std::invalid_argument); in TEST_F()
|
H A D | device_tests.cpp | 194 EXPECT_NO_THROW(idMap.getDevice("vdd_reg")); in TEST_F() 195 EXPECT_THROW(idMap.getDevice("vio_reg"), std::invalid_argument); in TEST_F()
|
/openbmc/phosphor-power/phosphor-regulators/src/actions/ |
H A D | action_environment.hpp | 136 Device& getDevice() const in getDevice() function in phosphor::power::regulators::ActionEnvironment 138 return idMap.getDevice(deviceID); in getDevice()
|
H A D | pmbus_write_vout_command_action.cpp | 118 environment.getDevice().getFRU()); in getExponentValue() 165 environment.getDevice().getFRU()); in verifyWrite()
|
H A D | i2c_action.hpp | 58 Device& device = environment.getDevice(); in getI2CInterface()
|
H A D | pmbus_read_sensor_action.cpp | 120 environment.getDevice().getFRU()); in getExponentValue()
|
/openbmc/phosphor-power/phosphor-regulators/test/actions/ |
H A D | action_environment_tests.cpp | 58 EXPECT_EQ(env.getDevice().getID(), "regulator1"); in TEST() 163 Device& device = env.getDevice(); in TEST() 176 env.getDevice(); in TEST()
|
/openbmc/phosphor-ipmi-flash/tools/test/ |
H A D | tools_pci_unittest.cpp | 72 virtual struct pci_device getDevice() const = 0; 87 struct pci_device getDevice() const override in getDevice() function in host_tool::__anond86d8cb60111::NuvotonDevice 153 struct pci_device getDevice() const override in getDevice() function in host_tool::__anond86d8cb60111::AspeedDevice 247 .WillOnce(DoAll(Assign(&dev, GetParam()->getDevice()), Return(0))); in TEST_P() 274 .WillOnce(DoAll(Assign(&dev, GetParam()->getDevice()), Return(0))); in TEST_P() 304 .WillOnce(DoAll(Assign(&dev, param->getDevice()), Return(0))); in expectSetup()
|
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | id_map.hpp | 82 Device& getDevice(const std::string& id) const in getDevice() function in phosphor::power::regulators::IDMap
|