Home
last modified time | relevance | path

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

123

/openbmc/phosphor-logging/test/openpower-pels/
H A Dadditional_data_test.cpp28 EXPECT_TRUE(ad.getValue("KEY1")); in TEST()
29 EXPECT_EQ(*(ad.getValue("KEY1")), "VALUE1"); in TEST()
31 EXPECT_TRUE(ad.getValue("KEY2")); in TEST()
32 EXPECT_EQ(*(ad.getValue("KEY2")), "VALUE2"); in TEST()
34 EXPECT_FALSE(ad.getValue("x")); in TEST()
36 auto value3 = ad.getValue("KEY3"); in TEST()
40 EXPECT_FALSE(ad.getValue("HELLOWORLD")); in TEST()
41 EXPECT_FALSE(ad.getValue("VALUE5")); in TEST()
48 EXPECT_FALSE(ad.getValue("KEY1")); in TEST()
56 EXPECT_EQ(*(ad.getValue("KEY1")), "VALUE1"); in TEST()
[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()
237 EXPECT_EQ(action.getValue(), 1); in TEST()
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Duser_header.cpp63 auto ss = additionalData.getValue("PEL_SUBSYSTEM"); in UserHeader()
67 std::string subsystemString = pv::getValue(eventSubsystem, in UserHeader()
174 auto sevLevel = additionalData.getValue("SEVERITY_DETAIL"); in UserHeader()
259 severity = pv::getValue(_eventSeverity, pel_values::severityValues); in getJSON()
260 subsystem = pv::getValue(_eventSubsystem, pel_values::subsystemValues); in getJSON()
261 eventScope = pv::getValue(_eventScope, pel_values::eventScopeValues); in getJSON()
262 eventType = pv::getValue(_eventType, pel_values::eventTypeValues); in getJSON()
H A Dsrc.cpp362 auto ss = additionalData.getValue("PEL_SUBSYSTEM"); in SRC()
366 std::string subsystem = pv::getValue(eventSubsystem, in SRC()
409 auto value = ad.getValue(std::get<0>(adName)); in setUserDefinedHexWords()
633 pv::getValue(entry->priority(), in getCallouts()
834 auto item = additionalData.getValue("CALLOUT_INVENTORY_PATH"); in addCallouts()
835 auto priority = additionalData.getValue("CALLOUT_PRIORITY"); in addCallouts()
1108 auto i2cBus = additionalData.getValue("CALLOUT_IIC_BUS"); in addDevicePathCallouts()
1109 auto i2cAddr = additionalData.getValue("CALLOUT_IIC_ADDR"); in addDevicePathCallouts()
1110 auto devPath = additionalData.getValue("CALLOUT_DEVICE_PATH"); in addDevicePathCallouts()
/openbmc/dbus-sensors/src/
H A DPwmSensor.cpp52 uint32_t pwmValue = getValue(false); in PwmSensor()
104 auto getInt = getValue(); in PwmSensor()
145 auto getInt = getValue(); in PwmSensor()
209 uint32_t PwmSensor::getValue(bool errThrow) in getValue() function in PwmSensor
/openbmc/gpioplus/src/gpioplus/
H A Devent.hpp48 virtual uint8_t getValue() const = 0;
93 uint8_t getValue() const override;
/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/
H A Dimage_manager.cpp123 auto version = Version::getValue(manifestPath.string(), "version"); in processImage()
145 std::string machineStr = Version::getValue(manifestPath.string(), in processImage()
169 auto purposeString = Version::getValue(manifestPath.string(), "purpose"); in processImage()
191 std::string extendedVersion = Version::getValue(manifestPath.string(), in processImage()
H A Dimage_verify.cpp46 keyType = Version::getValue(file, keyTypeTag); in Signature()
47 hashType = Version::getValue(file, hashFunctionTag); in Signature()
50 auto purposeString = Version::getValue(file, "purpose"); in Signature()
274 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-fan-presence/control/json/actions/
H A Dtimer_based_actions.cpp47 [](const auto& group) { return group.getValue() == std::nullopt; }); in TimerBasedActions()
85 return group.getValue() == in run()
/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.hpp96 uint8_t getValue() const in getValue() function in phosphor::power::regulators::I2CCompareByteAction
H A Di2c_write_byte_action.hpp94 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/phosphor-bmc-code-mgmt/test/
H A Dutest.cpp59 EXPECT_EQ(Version::getValue(manifestFilePath, "version"), version); in TEST_F()
60 EXPECT_EQ(Version::getValue(manifestFilePath, "purpose"), purpose); in TEST_F()
96 EXPECT_EQ(Version::getValue(manifestFilePath, "version"), version); in TEST_F()
97 EXPECT_EQ(Version::getValue(manifestFilePath, "purpose"), purpose); in TEST_F()
/openbmc/telemetry/tests/src/stubs/
H A Ddbus_sensor_object.hpp23 double getValue() const;
/openbmc/skeleton/pytools/
H A Dgpioutil102 def getValue(self):
185 print gpio.getValue()

123