Home
last modified time | relevance | path

Searched refs:createAlert (Results 1 – 6 of 6) sorted by relevance

/packages/modules/StatsD/statsd/tests/anomaly/
DAnomalyTracker_test.cpp414 Alert alertRand = createAlert("alertRand", /*metric id=*/0, /*buckets=*/1, /*triggerSum=*/0); in TEST()
426 createAlert("alertAlways", /*metric id=*/0, /*buckets=*/1, /*triggerSum=*/0); in TEST()
436 Alert alertNever = createAlert("alertNever", /*metric id=*/0, /*buckets=*/1, /*triggerSum=*/0); in TEST()
/packages/modules/StatsD/statsd/tests/e2e/
DConfigUpdate_e2e_test.cpp2125 createAlert("AlertPreserve", countWakelock.id(), /*buckets=*/2, /*triggerSumGt=*/1); in TEST_F()
2127 Alert alertReplace = createAlert("AlertReplace", countSync.id(), 1, 1); in TEST_F()
2129 Alert alertRemove = createAlert("AlertRemove", countWakelock.id(), 1, 0); in TEST_F()
2248 Alert alertNew = createAlert("AlertNew", countWakelock.id(), /*buckets=*/1, /*triggerSumGt=*/1); in TEST_F()
2343 Alert alertPreserve = createAlert("AlertPreserve", durationWakelock.id(), /*buckets=*/2, in TEST_F()
2346 Alert alertReplace = createAlert("AlertReplace", durationScreen.id(), 2, 30 * NS_PER_SEC); in TEST_F()
2348 Alert alertRemove = createAlert("AlertRemove", durationWakelock.id(), 5, 10 * NS_PER_SEC); in TEST_F()
2581 Alert alertNew = createAlert("AlertNew", durationWakelock.id(), /*buckets=*/2, in TEST_F()
/packages/modules/StatsD/statsd/tests/metrics/
DOringDurationTracker_test.cpp637 Alert alert = createAlert("Alert_1", /*metric_id=*/1, /*num_buckets*/ 2, in TEST()
683 Alert alert = createAlert("Alert_1", /*metric_id=*/1, /*num_buckets*/ 2, in TEST()
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
Dconfig_update_utils_test.cpp3666 Alert alert = createAlert("Alert1", config.count_metric(0).id(), 1, 1); in TEST_F()
3685 Alert alert = createAlert("Alert1", config.count_metric(0).id(), 1, 1); in TEST_F()
3703 Alert alert = createAlert("Alert1", config.count_metric(0).id(), 1, 1); in TEST_F()
3734 Alert alert1 = createAlert("Alert1", durationMetricId, /*buckets*/ 1, /*triggerSum*/ 5000); in TEST_F()
3739 Alert alert2 = createAlert("Alert2", countMetricId, /*buckets*/ 1, /*triggerSum*/ 2); in TEST_F()
3744 Alert alert3 = createAlert("Alert3", durationMetricId, /*buckets*/ 3, /*triggerSum*/ 5000); in TEST_F()
3770 Alert alert4 = createAlert("Alert4", durationMetricId, /*buckets*/ 3, /*triggerSum*/ 10000); in TEST_F()
/packages/modules/StatsD/statsd/tests/
Dstatsd_test_util.h359 Alert createAlert(const string& name, int64_t metricId, int buckets, const int64_t triggerSum);
Dstatsd_test_util.cpp630 Alert createAlert(const string& name, const int64_t metricId, const int buckets, in createAlert() function