Home
last modified time | relevance | path

Searched refs:sensorUpdated (Results 1 – 16 of 16) sorted by relevance

/openbmc/telemetry/tests/src/
H A Dtest_sensor.cpp75 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 Dtest_metric.cpp98 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 Dtest_on_change_threshold.cpp77 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 Dtest_numeric_threshold.cpp218 sut->sensorUpdated(*sensorMocks[idx], 0ms, value); in testBodySensorIsUpdatedMultipleTimes()
227 sut->sensorUpdated(*sensorMocks[index], 42ms, value); in testBodySensorIsUpdatedMultipleTimes()
H A Dtest_discrete_threshold.cpp242 sut->sensorUpdated(*sensorMocks[index], 42ms, value); in testBodySensorIsUpdatedMultipleTimes()
/openbmc/telemetry/src/interfaces/
H A Dsensor_listener.hpp18 virtual void sensorUpdated(interfaces::Sensor&, Milliseconds, double) = 0;
/openbmc/telemetry/tests/src/mocks/
H A Dsensor_listener_mock.hpp10 MOCK_METHOD(void, sensorUpdated,
/openbmc/telemetry/src/
H A Dsensor.cpp81 listener->sensorUpdated(*this, timestamp, *value); in registerForUpdates()
117 listener->sensorUpdated(*this, timestamp, *value); in updateValue()
H A Don_change_threshold.hpp30 void sensorUpdated(interfaces::Sensor&, Milliseconds, double) override;
H A Dmetric.hpp23 void sensorUpdated(interfaces::Sensor&, Milliseconds,
H A Don_change_threshold.cpp54 void OnChangeThreshold::sensorUpdated(interfaces::Sensor& sensor, in sensorUpdated() function in OnChangeThreshold
H A Dnumeric_threshold.hpp36 void sensorUpdated(interfaces::Sensor&, Milliseconds, double) override;
H A Ddiscrete_threshold.hpp36 void sensorUpdated(interfaces::Sensor&, Milliseconds, double) override;
H A Ddiscrete_threshold.cpp49 void DiscreteThreshold::sensorUpdated(interfaces::Sensor& sensor, in sensorUpdated() function in DiscreteThreshold
H A Dmetric.cpp92 void Metric::sensorUpdated(interfaces::Sensor& notifier, Milliseconds timestamp, in sensorUpdated() function in Metric
H A Dnumeric_threshold.cpp44 void NumericThreshold::sensorUpdated(interfaces::Sensor& sensor, in sensorUpdated() function in NumericThreshold