Home
last modified time | relevance | path

Searched refs:getValue (Results 1 – 25 of 65) sorted by relevance

123

/openbmc/phosphor-logging/test/openpower-pels/
H A Dadditional_data_test.cpp16 EXPECT_TRUE(ad.getValue("KEY1")); in TEST()
17 EXPECT_EQ(*(ad.getValue("KEY1")), "VALUE1"); in TEST()
19 EXPECT_TRUE(ad.getValue("KEY2")); in TEST()
20 EXPECT_EQ(*(ad.getValue("KEY2")), "VALUE2"); in TEST()
22 EXPECT_FALSE(ad.getValue("x")); in TEST()
24 auto value3 = ad.getValue("KEY3"); in TEST()
28 EXPECT_FALSE(ad.getValue("HELLOWORLD")); in TEST()
29 EXPECT_FALSE(ad.getValue("VALUE5")); in TEST()
36 EXPECT_FALSE(ad.getValue("KEY1")); in TEST()
44 EXPECT_EQ(*(ad.getValue("KEY1")), "VALUE1"); in TEST()
[all …]
/openbmc/phosphor-modbus/rtu/device/
H A Dbase_config.cpp30 auto getValue(const InventoryBaseConfigMap& configMap, const std::string& key, in getValue() function
56 getValue<std::string>(configMap, "DataParity", config.name); in getDataParity()
80 config.name = getValue<std::string>(configMap, "Name", config.name); in processDeviceInterface()
84 config.address = getValue<uint64_t>(configMap, "Address", config.name); in processDeviceInterface()
88 config.baudRate = getValue<uint64_t>(configMap, "BaudRate", config.name); in processDeviceInterface()
91 getValue<std::string>(configMap, "SerialPort", config.name); in processDeviceInterface()
93 getValue<std::string>(configMap, "Type", config.name); in processDeviceInterface()
121 getValue<std::string>(configMap, "RegisterType", sensorRegister.name); in processRegisterType()
138 getValue<std::string>(configMap, "Format", sensorRegister.name); in processRegisterFormat()
154 sensorRegister.name = getValue<std::string>(configMap, "Name", config.name); in processSensorRegistersInterface()
[all …]
/openbmc/phosphor-power/phosphor-regulators/test/actions/
H A Dcompare_vpd_action_tests.cpp49 EXPECT_EQ(action.getValue(), value); in TEST()
62 EXPECT_EQ(action.getValue(), value); in TEST()
78 EXPECT_CALL(vpd, getValue(fru, keyword)) in TEST()
115 EXPECT_CALL(vpd, getValue(fru, keyword)) in TEST()
144 EXPECT_CALL(vpd, getValue(fru, keyword)) in TEST()
209 EXPECT_EQ(action.getValue(), (std::vector<uint8_t>{0x1, 0x2, 0x3, 0x4})); in TEST()
H A Di2c_compare_byte_action_tests.cpp47 EXPECT_EQ(action.getValue(), 0xDE); in TEST()
55 EXPECT_EQ(action.getValue(), 0x03); in TEST()
267 EXPECT_EQ(action.getValue(), 0x03); in TEST()
H A Di2c_write_byte_action_tests.cpp48 EXPECT_EQ(action.getValue(), 0x0A); in TEST()
56 EXPECT_EQ(action.getValue(), 0xD6); in TEST()
269 EXPECT_EQ(action.getValue(), 0x03); in TEST()
H A Dcompare_presence_action_tests.cpp46 EXPECT_EQ(action.getValue(), true); in TEST()
216 EXPECT_EQ(action.getValue(), false); in TEST()
H A Di2c_compare_bit_action_tests.cpp49 EXPECT_EQ(action.getValue(), 0); in TEST()
239 EXPECT_EQ(action.getValue(), 1); in TEST()
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Duser_header.cpp48 auto ss = additionalData.getValue("PEL_SUBSYSTEM"); in UserHeader()
53 pv::getValue(eventSubsystem, pel_values::subsystemValues); in UserHeader()
159 auto sevLevel = additionalData.getValue("SEVERITY_DETAIL"); in UserHeader()
244 severity = pv::getValue(_eventSeverity, pel_values::severityValues); in getJSON()
245 subsystem = pv::getValue(_eventSubsystem, pel_values::subsystemValues); in getJSON()
246 eventScope = pv::getValue(_eventScope, pel_values::eventScopeValues); in getJSON()
247 eventType = pv::getValue(_eventType, pel_values::eventTypeValues); in getJSON()
/openbmc/gpioplus/src/gpioplus/
H A Devent.hpp48 virtual uint8_t getValue() const = 0;
93 uint8_t getValue() const override;
/openbmc/dbus-sensors/src/
H A DPwmSensor.cpp52 uint32_t pwmValue = getValue(false); in PwmSensor()
104 auto getInt = getValue(); in PwmSensor()
146 auto getInt = getValue(); in PwmSensor()
209 uint32_t PwmSensor::getValue(bool errThrow) in getValue() function in PwmSensor
/openbmc/phosphor-power/phosphor-power-sequencer/src/
H A Dgpio.hpp67 virtual int getValue() = 0;
149 virtual int getValue() override in getValue() function in phosphor::power::sequencer::BMCGPIO
/openbmc/phosphor-power/phosphor-regulators/src/
H A Dvpd.hpp66 virtual std::vector<uint8_t> getValue(const std::string& inventoryPath,
100 virtual std::vector<uint8_t> getValue(const std::string& inventoryPath,
/openbmc/openpower-occ-control/test/
H A Docc_dbus_test.cpp42 retValue = OccDBusSensors::getOccDBus().getValue(tmpPath); in TEST()
45 ASSERT_THROW(OccDBusSensors::getOccDBus().getValue("/abcd/"), in TEST()
/openbmc/phosphor-bmc-code-mgmt/bmc/
H A Dupdate_manager.cpp90 auto version = Version::getValue(manifestPath.string(), "version"); in processImage()
116 Version::getValue(manifestPath.string(), "MachineName"); in processImage()
140 auto purposeString = Version::getValue(manifestPath.string(), "purpose"); in processImage()
172 Version::getValue(manifestPath.string(), "ExtendedVersion"); in processImage()
H A Dimage_manager.cpp128 auto version = Version::getValue(manifestPath.string(), "version"); in processImage()
151 Version::getValue(manifestPath.string(), "MachineName"); in processImage()
174 auto purposeString = Version::getValue(manifestPath.string(), "purpose"); in processImage()
197 Version::getValue(manifestPath.string(), "ExtendedVersion"); in processImage()
H A Dimage_verify.cpp45 keyType = Version::getValue(file, keyTypeTag); in Signature()
46 hashType = Version::getValue(file, hashFunctionTag); in Signature()
49 auto purposeString = Version::getValue(file, "purpose"); in Signature()
273 auto hashFunc = Version::getValue(keyHashPair.first, hashFunctionTag); in systemLevelVerify()
/openbmc/phosphor-mrw-tools/
H A Dgen_fru_properties.pl117 $value = getValue($item, $property, $value);
125 sub getValue subroutine
/openbmc/gpioplus/src/gpioplus/test/
H A Devent.hpp15 MOCK_CONST_METHOD0(getValue, uint8_t());
/openbmc/phosphor-power/phosphor-regulators/test/
H A Dmock_vpd.hpp43 MOCK_METHOD(std::vector<uint8_t>, getValue,
/openbmc/phosphor-power/phosphor-power-sequencer/test/
H A Dmock_gpio.hpp42 MOCK_METHOD(int, getValue, (), (override));
/openbmc/phosphor-power/phosphor-regulators/src/actions/
H A Dcompare_presence_action.hpp83 bool getValue() const in getValue() function in phosphor::power::regulators::ComparePresenceAction
H A Di2c_compare_byte_action.hpp95 uint8_t getValue() const in getValue() function in phosphor::power::regulators::I2CCompareByteAction
H A Di2c_write_byte_action.hpp93 uint8_t getValue() const in getValue() function in phosphor::power::regulators::I2CWriteByteAction
H A Dcompare_vpd_action.cpp34 environment.getServices().getVPD().getValue(fru, keyword); in execute()
/openbmc/telemetry/tests/src/stubs/
H A Ddbus_sensor_object.hpp23 double getValue() const;

123