/packages/modules/StatsD/statsd/tests/metrics/ |
D | OringDurationTracker_test.cpp | 313 sp<AlarmMonitor> alarmMonitor; in TEST() local 315 new DurationAnomalyTracker(alert, kConfigKey, alarmMonitor); in TEST() 374 sp<AlarmMonitor> alarmMonitor; in TEST() local 376 new DurationAnomalyTracker(alert, kConfigKey, alarmMonitor); in TEST() 419 sp<AlarmMonitor> alarmMonitor; in TEST() local 421 new DurationAnomalyTracker(alert, kConfigKey, alarmMonitor); in TEST() 477 sp<AlarmMonitor> alarmMonitor; in TEST() local 479 new DurationAnomalyTracker(alert, kConfigKey, alarmMonitor); in TEST() 526 sp<AlarmMonitor> alarmMonitor; in TEST() local 528 new DurationAnomalyTracker(alert, kConfigKey, alarmMonitor); in TEST()
|
D | MaxDurationTracker_test.cpp | 264 sp<AlarmMonitor> alarmMonitor; in TEST() local 266 new DurationAnomalyTracker(alert, kConfigKey, alarmMonitor); in TEST() 323 sp<AlarmMonitor> alarmMonitor; in TEST() local 325 new DurationAnomalyTracker(alert, kConfigKey, alarmMonitor); in TEST() 405 sp<AlarmMonitor> alarmMonitor; in TEST() local 407 new DurationAnomalyTracker(alert, kConfigKey, alarmMonitor); in TEST()
|
D | CountMetricProducer_test.cpp | 251 sp<AlarmMonitor> alarmMonitor; in TEST_P() local 272 countProducer.addAnomalyTracker(alert, alarmMonitor, UPDATE_NEW, bucketStartTimeNs); in TEST_P() 381 sp<AlarmMonitor> alarmMonitor; in TEST() local 405 countProducer.addAnomalyTracker(alert, alarmMonitor, UPDATE_NEW, bucketStartTimeNs); in TEST()
|
D | GaugeMetricProducer_test.cpp | 201 sp<AlarmMonitor> alarmMonitor; in TEST_P() local 225 gaugeProducer.addAnomalyTracker(alert, alarmMonitor, UPDATE_NEW, bucketStartTimeNs); in TEST_P() 542 sp<AlarmMonitor> alarmMonitor; in TEST() local 576 gaugeProducer.addAnomalyTracker(alert, alarmMonitor, UPDATE_NEW, bucketStartTimeNs); in TEST()
|
D | DurationMetricProducer_test.cpp | 354 sp<AlarmMonitor> alarmMonitor; in TEST_P() local 377 durationProducer.addAnomalyTracker(alert, alarmMonitor, UPDATE_NEW, bucketStartTimeNs); in TEST_P()
|
D | ValueMetricProducer_test.cpp | 974 sp<AlarmMonitor> alarmMonitor; in TEST() local 997 valueProducer.addAnomalyTracker(alert, alarmMonitor, UPDATE_NEW, bucketStartTimeNs); in TEST() 1049 sp<AlarmMonitor> alarmMonitor; in TEST() local 1081 valueProducer->addAnomalyTracker(alert, alarmMonitor, UPDATE_NEW, bucketStartTimeNs); in TEST()
|
/packages/modules/StatsD/statsd/src/anomaly/ |
D | AlarmTracker.cpp | 35 const sp<AlarmMonitor>& alarmMonitor) in AlarmTracker() argument 38 mAlarmMonitor(alarmMonitor) { in AlarmTracker()
|
D | DurationAnomalyTracker.cpp | 28 const sp<AlarmMonitor>& alarmMonitor) in DurationAnomalyTracker() argument 29 : AnomalyTracker(alert, configKey), mAlarmMonitor(alarmMonitor) { in DurationAnomalyTracker()
|
D | DurationAnomalyTracker.h | 31 const sp<AlarmMonitor>& alarmMonitor);
|
D | AnomalyTracker.h | 84 virtual void setAlarmMonitor(const sp<AlarmMonitor>& alarmMonitor) { in setAlarmMonitor() argument
|
/packages/modules/StatsD/statsd/tests/e2e/ |
D | ConfigUpdate_e2e_test.cpp | 2501 sp<AlarmMonitor> alarmMonitor = processor->getPeriodicAlarmMonitor(); in TEST_F() local 2503 EXPECT_EQ(alarmMonitor->getRegisteredAlarmTimeSec(), startTimeSec + 5); in TEST_F() 2507 auto alarmSet = alarmMonitor->popSoonerThan(static_cast<uint32_t>(alarmFiredTimestampSec)); in TEST_F() 2512 EXPECT_EQ(alarmMonitor->getRegisteredAlarmTimeSec(), startTimeSec + 60); in TEST_F() 2516 alarmSet = alarmMonitor->popSoonerThan(static_cast<uint32_t>(alarmFiredTimestampSec)); in TEST_F() 2521 EXPECT_EQ(alarmMonitor->getRegisteredAlarmTimeSec(), startTimeSec + 120); in TEST_F() 2559 EXPECT_EQ(alarmMonitor->getRegisteredAlarmTimeSec(), startTimeSec + 120); in TEST_F() 2563 alarmSet = alarmMonitor->popSoonerThan(static_cast<uint32_t>(alarmFiredTimestampSec)); in TEST_F() 2568 EXPECT_EQ(alarmMonitor->getRegisteredAlarmTimeSec(), startTimeSec + 125); in TEST_F() 2572 alarmSet = alarmMonitor->popSoonerThan(static_cast<uint32_t>(alarmFiredTimestampSec)); in TEST_F() [all …]
|