Home
last modified time | relevance | path

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

/openbmc/phosphor-power/phosphor-regulators/test/
H A Did_map_tests.cpp48 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 Dsystem_tests.cpp79 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 Dchassis_tests.cpp135 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 Ddevice_tests.cpp194 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 Daction_environment.hpp136 Device& getDevice() const in getDevice() function in phosphor::power::regulators::ActionEnvironment
138 return idMap.getDevice(deviceID); in getDevice()
H A Dpmbus_write_vout_command_action.cpp118 environment.getDevice().getFRU()); in getExponentValue()
165 environment.getDevice().getFRU()); in verifyWrite()
H A Di2c_action.hpp58 Device& device = environment.getDevice(); in getI2CInterface()
H A Dpmbus_read_sensor_action.cpp120 environment.getDevice().getFRU()); in getExponentValue()
/openbmc/phosphor-power/phosphor-regulators/test/actions/
H A Daction_environment_tests.cpp58 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 Dtools_pci_unittest.cpp72 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 Did_map.hpp82 Device& getDevice(const std::string& id) const in getDevice() function in phosphor::power::regulators::IDMap