/packages/modules/StatsD/statsd/tests/e2e/ |
D | Alarm_e2e_test.cpp | 37 alarm->set_offset_millis(TimeUnitToBucketSizeInMillis(TEN_MINUTES)); in CreateStatsdConfig() 38 alarm->set_period_millis(TimeUnitToBucketSizeInMillis(ONE_HOUR)); in CreateStatsdConfig() 42 alarm->set_offset_millis(TimeUnitToBucketSizeInMillis(FIVE_MINUTES)); in CreateStatsdConfig() 43 alarm->set_period_millis(TimeUnitToBucketSizeInMillis(THIRTY_MINUTES)); in CreateStatsdConfig()
|
D | WakelockDuration_e2e_test.cpp | 79 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in FeedEvents() 122 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST() 159 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST() 197 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST() 244 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST() 274 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST() 306 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST()
|
D | CountMetric_e2e_test.cpp | 80 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST() 148 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST() 305 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST() 456 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST() 642 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST() 852 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST() 1112 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST() 1180 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST() 1248 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST() 1316 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST() [all …]
|
D | DurationMetric_e2e_test.cpp | 52 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000LL * 1000LL; in TEST() 135 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000LL * 1000LL; in TEST() 228 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000LL * 1000LL; in TEST() 402 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST() 514 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST() 625 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST() 769 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST() 918 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST() 1076 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST() 1230 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST() [all …]
|
D | GaugeMetric_e2e_pull_test.cpp | 75 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()
|
D | Anomaly_duration_sum_e2e_test.cpp | 119 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1e6; in TEST_F() 301 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1e6; in TEST_F() 423 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1e6; in TEST_F() 500 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1e6; in TEST_F()
|
D | ValueMetric_pull_e2e_test.cpp | 159 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.value_metric(0).bucket()) * 1000000; in TEST() 209 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.value_metric(0).bucket()) * 1000000; in TEST() 330 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.value_metric(0).bucket()) * 1000000; in TEST() 456 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.value_metric(0).bucket()) * 1000000; in TEST() 678 TimeUnitToBucketSizeInMillis(config.value_metric(0).bucket()) * 1000000LL; in TEST()
|
D | GaugeMetric_e2e_push_test.cpp | 135 TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000000; in TEST_F() 330 TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000000; in TEST_F() 439 TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000LL * 1000LL; in TEST_F()
|
D | ConfigUpdate_e2e_test.cpp | 375 uint64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(TEN_MINUTES) * 1000000LL; in TEST_P() 651 uint64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(TEN_MINUTES) * 1000000LL; in TEST_P() 990 uint64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(TEN_MINUTES) * 1000000LL; in TEST_P() 1391 uint64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(TEN_MINUTES) * 1000000LL; in TEST_P() 1712 uint64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(TEN_MINUTES) * 1000000LL; in TEST_P() 1973 uint64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(TEN_MINUTES) * 1000000LL; in TEST_P() 2246 uint64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(TEN_MINUTES) * 1000000LL; in TEST_P() 2484 uint64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(TEN_MINUTES) * 1000000LL; in TEST_P() 2735 /*period*/ TimeUnitToBucketSizeInMillis(ONE_MINUTE)); in TEST_P() 2737 /*period*/ TimeUnitToBucketSizeInMillis(FIVE_MINUTES)); in TEST_P() [all …]
|
D | ConfigTtl_e2e_test.cpp | 67 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000; in TEST()
|
D | MetricConditionLink_e2e_test.cpp | 106 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST() 225 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST()
|
D | Attribution_e2e_test.cpp | 100 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000; in TEST() 214 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000; in TEST()
|
D | Anomaly_count_e2e_test.cpp | 65 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000; in TEST() 182 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 | 241 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000LL * 1000LL; in TEST() 459 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000LL * 1000LL; in TEST() 787 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000LL * 1000LL; in TEST() 1127 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000LL * 1000LL; in TEST() 1331 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000LL * 1000LL; in TEST()
|
D | ConfigUpdate_e2e_ab_test.cpp | 328 uint64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(TEN_MINUTES) * 1000000LL; in TEST_P()
|
/packages/modules/StatsD/statsd/tests/metrics/ |
D | DurationMetricProducer_test.cpp | 88 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST() 127 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST() 185 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST() 241 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST_P() 305 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST_P() 365 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST_P() 417 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST_P() 472 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST_P() 535 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST()
|
D | CountMetricProducer_test.cpp | 87 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST() 152 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST() 198 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST() 256 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST_P() 328 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST_P() 388 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST() 461 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST()
|
D | KllMetricProducer_test.cpp | 56 const int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL;
|
D | GaugeMetricProducer_test.cpp | 53 const int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL;
|
/packages/modules/StatsD/statsd/benchmark/ |
D | duration_metric_benchmark.cpp | 138 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in BM_DurationMetricNoLink() 228 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 | 428 int64_t bucketSizeMillis = TimeUnitToBucketSizeInMillis(unit); in TimeUnitToBucketSizeInMillisGuardrailed() 436 int64_t TimeUnitToBucketSizeInMillis(TimeUnit unit) { in TimeUnitToBucketSizeInMillis() function
|
/packages/modules/StatsD/statsd/tests/ |
D | StatsService_test.cpp | 212 TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000000; in TEST_P()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | GaugeMetricProducer.cpp | 108 bucketSizeMills = TimeUnitToBucketSizeInMillis(ONE_HOUR);
|