Searched refs:threshold_ns (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/cmds/statsd/tests/e2e/ |
D | Anomaly_duration_sum_e2e_test.cpp | 33 uint64_t threshold_ns, in CreateStatsdConfig() argument 68 alert->set_trigger_if_sum_gt(threshold_ns); in CreateStatsdConfig() 94 const uint64_t threshold_ns = NS_PER_SEC; in TEST() local 95 auto config = CreateStatsdConfig(num_buckets, threshold_ns, DurationMetric::SUM, true); in TEST() 122 EXPECT_EQ((bucketStartTimeNs + 11 + threshold_ns) / NS_PER_SEC + 1, in TEST() 135 EXPECT_EQ((bucketStartTimeNs + 110 + threshold_ns - 90) / NS_PER_SEC + 1, in TEST() 237 EXPECT_EQ((bucketStartTimeNs + 2 * bucketSizeNs + NS_PER_SEC + threshold_ns) / NS_PER_SEC, in TEST() 271 const uint64_t threshold_ns = NS_PER_SEC; in TEST() local 272 auto config = CreateStatsdConfig(num_buckets, threshold_ns, DurationMetric::SUM, true); in TEST() 383 const uint64_t threshold_ns = 3 * NS_PER_SEC; in TEST() local [all …]
|