/openbmc/telemetry/tests/src/ |
H A D | test_sensor.cpp | 75 EXPECT_CALL(*listenerMock, sensorUpdated(Ref(*sut), Ge(timestamp), 42.7)) in TEST_F() 85 EXPECT_CALL(*listenerMock, sensorUpdated(Ref(*sut), Ge(timestamp), 42.7)) in TEST_F() 87 EXPECT_CALL(*listenerMock2, sensorUpdated(Ref(*sut), Ge(timestamp), 42.7)) in TEST_F() 142 EXPECT_CALL(*listenerMock, sensorUpdated(Ref(*sut), Ge(timestamp), 42.7)) in TEST_F() 152 EXPECT_CALL(*listenerMock, sensorUpdated(Ref(*sut), Ge(timestamp), 42.7)) in TEST_F() 164 EXPECT_CALL(*listenerMock2, sensorUpdated(Ref(*sut), Ge(timestamp), 0.)); in TEST_F() 178 EXPECT_CALL(*listenerMock2, sensorUpdated(Ref(*sut), Ge(timestamp), 0.)); in TEST_F() 185 EXPECT_CALL(*listenerMock2, sensorUpdated(Ref(*sut), Ge(timestamp), 0.)); in TEST_F() 186 EXPECT_CALL(*listenerMock, sensorUpdated(Ref(*sut), Ge(timestamp), 42.7)) in TEST_F() 205 sensorUpdated(Ref(*sut), Ge(timestamp), DoubleEq(42.7))) in TEST_F() [all …]
|
H A D | test_metric.cpp | 98 sut->sensorUpdated(*sensorMocks.front(), Milliseconds{18}, 31.2); in TEST_F() 112 sut->sensorUpdated(*sensorMocks.front(), Milliseconds{18}, 31.2); in TEST_F() 118 sut->sensorUpdated(*sensorMocks.front(), Milliseconds{180}, 11.); in TEST_F() 139 sut->sensorUpdated(*sensorMocks.front(), Milliseconds{18}, 31.2); in TEST_F() 153 EXPECT_THROW(sut->sensorUpdated(*sensor, Milliseconds{10}, 20.0), in TEST_F() 183 sut->sensorUpdated(*sensorMocks.front(), Milliseconds{18}, 31.2); in TEST_F() 192 sut->sensorUpdated(*sensorMocks.front(), Milliseconds{18}, 31.2); in TEST_F() 193 sut->sensorUpdated(*sensorMocks.front(), Milliseconds{70}, 31.2); in TEST_F() 202 sut->sensorUpdated(*sensorMocks.front(), Milliseconds{18}, 31.2); in TEST_F() 349 sut->sensorUpdated(*sensorMocks.front(), clockFake.steadyTimestamp(), in TEST_P() [all …]
|
H A D | test_on_change_threshold.cpp | 77 sut->sensorUpdated(*sensorMocks.front(), 0ms, 42); in TEST_F() 150 sut->sensorUpdated(*sensorMocks.front(), 0ms, 42); in TEST_P() 154 sut->sensorUpdated(*sensorMocks[index], 42ms, value); in TEST_P()
|
H A D | test_numeric_threshold.cpp | 218 sut->sensorUpdated(*sensorMocks[idx], 0ms, value); in testBodySensorIsUpdatedMultipleTimes() 227 sut->sensorUpdated(*sensorMocks[index], 42ms, value); in testBodySensorIsUpdatedMultipleTimes()
|
H A D | test_discrete_threshold.cpp | 242 sut->sensorUpdated(*sensorMocks[index], 42ms, value); in testBodySensorIsUpdatedMultipleTimes()
|
/openbmc/telemetry/src/interfaces/ |
H A D | sensor_listener.hpp | 18 virtual void sensorUpdated(interfaces::Sensor&, Milliseconds, double) = 0;
|
/openbmc/telemetry/tests/src/mocks/ |
H A D | sensor_listener_mock.hpp | 10 MOCK_METHOD(void, sensorUpdated,
|
/openbmc/telemetry/src/ |
H A D | sensor.cpp | 81 listener->sensorUpdated(*this, timestamp, *value); in registerForUpdates() 117 listener->sensorUpdated(*this, timestamp, *value); in updateValue()
|
H A D | on_change_threshold.hpp | 30 void sensorUpdated(interfaces::Sensor&, Milliseconds, double) override;
|
H A D | metric.hpp | 23 void sensorUpdated(interfaces::Sensor&, Milliseconds,
|
H A D | on_change_threshold.cpp | 54 void OnChangeThreshold::sensorUpdated(interfaces::Sensor& sensor, in sensorUpdated() function in OnChangeThreshold
|
H A D | numeric_threshold.hpp | 36 void sensorUpdated(interfaces::Sensor&, Milliseconds, double) override;
|
H A D | discrete_threshold.hpp | 36 void sensorUpdated(interfaces::Sensor&, Milliseconds, double) override;
|
H A D | discrete_threshold.cpp | 49 void DiscreteThreshold::sensorUpdated(interfaces::Sensor& sensor, in sensorUpdated() function in DiscreteThreshold
|
H A D | metric.cpp | 92 void Metric::sensorUpdated(interfaces::Sensor& notifier, Milliseconds timestamp, in sensorUpdated() function in Metric
|
H A D | numeric_threshold.cpp | 44 void NumericThreshold::sensorUpdated(interfaces::Sensor& sensor, in sensorUpdated() function in NumericThreshold
|