/packages/modules/StatsD/statsd/tests/e2e/ |
D | Alarm_e2e_test.cpp | 36 alarm->set_offset_millis(TimeUnitToBucketSizeInMillis(TEN_MINUTES)); in CreateStatsdConfig() 37 alarm->set_period_millis(TimeUnitToBucketSizeInMillis(ONE_HOUR)); in CreateStatsdConfig() 41 alarm->set_offset_millis(TimeUnitToBucketSizeInMillis(FIVE_MINUTES)); in CreateStatsdConfig() 42 alarm->set_period_millis(TimeUnitToBucketSizeInMillis(THIRTY_MINUTES)); in CreateStatsdConfig()
|
D | WakelockDuration_e2e_test.cpp | 78 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in FeedEvents() 121 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST() 158 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST() 196 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST() 243 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST() 273 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST() 305 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST()
|
D | StringReplace_e2e_test.cpp | 83 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST() 180 TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000000LL; in TEST() 259 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000000; in TEST() 322 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000000; in TEST() 397 const uint64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(countMetric->bucket()) * 1000000LL; in TEST() 531 const uint64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(durationMetric.bucket()) * 1000000LL; in TEST() 644 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.value_metric(0).bucket()) * 1000000; in TEST()
|
D | CountMetric_e2e_test.cpp | 79 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST() 146 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST() 303 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST() 453 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST() 638 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST() 847 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST() 1106 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST() 1173 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST() 1240 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST() 1307 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST() [all …]
|
D | DurationMetric_e2e_test.cpp | 51 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000LL * 1000LL; in TEST() 134 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000LL * 1000LL; in TEST() 226 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000LL * 1000LL; in TEST() 399 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST() 509 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST() 619 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST() 762 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST() 910 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST() 1067 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST() 1220 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST() [all …]
|
D | GaugeMetric_e2e_push_test.cpp | 133 TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000000; in TEST_F() 329 TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000000; in TEST_F() 437 TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000LL * 1000LL; in TEST_F() 525 TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000LL * 1000LL; in TEST_F() 620 TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000LL * 1000LL; in TEST_F()
|
D | GaugeMetric_e2e_pull_test.cpp | 74 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000000; in TEST() 217 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000000; in TEST() 337 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000000; in TEST() 435 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000000; in TEST() 534 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000000; in TEST() 714 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000000; in TEST() 875 TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000000; in TEST() 974 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000000; in TEST() 1094 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000000; in TEST() 1294 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000000; in TEST()
|
D | Anomaly_duration_sum_e2e_test.cpp | 118 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1e6; in TEST_F() 300 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1e6; in TEST_F() 422 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1e6; in TEST_F() 499 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1e6; in TEST_F()
|
D | ValueMetric_pull_e2e_test.cpp | 157 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.value_metric(0).bucket()) * 1000000; in TEST() 207 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.value_metric(0).bucket()) * 1000000; in TEST() 329 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.value_metric(0).bucket()) * 1000000; in TEST() 455 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.value_metric(0).bucket()) * 1000000; in TEST() 676 TimeUnitToBucketSizeInMillis(config.value_metric(0).bucket()) * 1000000LL; in TEST()
|
D | ConfigTtl_e2e_test.cpp | 66 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000; in TEST()
|
D | ConfigUpdate_e2e_test.cpp | 358 uint64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(TEN_MINUTES) * 1000000LL; in TEST_F() 629 uint64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(TEN_MINUTES) * 1000000LL; in TEST_F() 963 uint64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(TEN_MINUTES) * 1000000LL; in TEST_F() 1358 uint64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(TEN_MINUTES) * 1000000LL; in TEST_F() 1673 uint64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(TEN_MINUTES) * 1000000LL; in TEST_F() 1929 uint64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(TEN_MINUTES) * 1000000LL; in TEST_F() 2197 uint64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(TEN_MINUTES) * 1000000LL; in TEST_F() 2428 uint64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(TEN_MINUTES) * 1000000LL; in TEST_F() 2675 /*period*/ TimeUnitToBucketSizeInMillis(ONE_MINUTE)); in TEST_F() 2677 /*period*/ TimeUnitToBucketSizeInMillis(FIVE_MINUTES)); in TEST_F() [all …]
|
D | MetricConditionLink_e2e_test.cpp | 105 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST() 224 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST()
|
D | Attribution_e2e_test.cpp | 99 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000; in TEST() 209 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000; in TEST()
|
D | Anomaly_count_e2e_test.cpp | 64 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000; in TEST() 181 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000; in TEST()
|
D | KllMetric_e2e_test.cpp | 48 bucketSizeNs = TimeUnitToBucketSizeInMillis(TEN_MINUTES) * 1000000LL; in SetUp()
|
D | MetricActivation_e2e_test.cpp | 236 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000LL * 1000LL; in TEST() 454 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000LL * 1000LL; in TEST() 782 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000LL * 1000LL; in TEST() 1122 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000LL * 1000LL; in TEST() 1326 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000LL * 1000LL; in TEST()
|
D | ConfigUpdate_e2e_ab_test.cpp | 322 uint64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(TEN_MINUTES) * 1000000LL; in TEST_P()
|
/packages/modules/StatsD/statsd/tests/metrics/ |
D | DurationMetricProducer_test.cpp | 89 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST() 129 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST() 188 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST() 245 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST_P() 310 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST_P() 371 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST_P() 424 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST_P() 480 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST_P() 544 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST() 589 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST()
|
D | CountMetricProducer_test.cpp | 89 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST() 155 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST() 202 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST() 261 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST_P() 333 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST_P() 393 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST() 467 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST()
|
D | KllMetricProducer_test.cpp | 56 const int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL;
|
/packages/modules/StatsD/statsd/benchmark/ |
D | duration_metric_benchmark.cpp | 137 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in BM_DurationMetricNoLink() 227 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in BM_DurationMetricLink()
|
/packages/modules/StatsD/statsd/src/ |
D | stats_log_util.h | 54 int64_t TimeUnitToBucketSizeInMillis(TimeUnit unit);
|
D | stats_log_util.cpp | 429 int64_t bucketSizeMillis = TimeUnitToBucketSizeInMillis(unit); in TimeUnitToBucketSizeInMillisGuardrailed() 437 int64_t TimeUnitToBucketSizeInMillis(TimeUnit unit) { in TimeUnitToBucketSizeInMillis() function
|
/packages/modules/StatsD/statsd/tests/ |
D | StatsService_test.cpp | 179 TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000000; in TEST_F()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | GaugeMetricProducer.cpp | 115 bucketSizeMills = TimeUnitToBucketSizeInMillis(ONE_HOUR);
|