Home
last modified time | relevance | path

Searched refs:splitSensorNameAndType (Results 1 – 4 of 4) sorted by relevance

/openbmc/bmcweb/test/redfish-core/include/utils/
H A Dsensor_utils_test.cpp16 EXPECT_EQ(splitSensorNameAndType("fantach_foo_1").first, "fan_tach"); in TEST()
17 EXPECT_EQ(splitSensorNameAndType("temperature_foo2").first, "temperature"); in TEST()
22 EXPECT_EQ(splitSensorNameAndType("fantach_foo_1").second, "foo_1"); in TEST()
23 EXPECT_EQ(splitSensorNameAndType("temperature_foo2").second, "foo2"); in TEST()
28 EXPECT_TRUE(splitSensorNameAndType("fantach").first.empty()); in TEST()
29 EXPECT_TRUE(splitSensorNameAndType("temperature").second.empty()); in TEST()
/openbmc/bmcweb/redfish-core/include/utils/
H A Dsensor_utils.hpp143 splitSensorNameAndType(std::string_view sensorId) in splitSensorNameAndType() function
/openbmc/bmcweb/redfish-core/lib/
H A Dsensors.hpp2201 redfish::sensor_utils::splitSensorNameAndType(sensor); in setSensorsOverride()
2427 redfish::sensor_utils::splitSensorNameAndType(sensorId); in handleSensorGet()
H A Dtrigger.hpp566 redfish::sensor_utils::splitSensorNameAndType(sensorName); in parseMetricProperties()