Home
last modified time | relevance | path

Searched refs:TimeUnitToBucketSizeInMillis (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/StatsD/statsd/tests/e2e/
DAlarm_e2e_test.cpp37 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()
DWakelockDuration_e2e_test.cpp79 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()
DCountMetric_e2e_test.cpp80 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 …]
DDurationMetric_e2e_test.cpp52 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 …]
DGaugeMetric_e2e_pull_test.cpp75 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()
DAnomaly_duration_sum_e2e_test.cpp119 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()
DValueMetric_pull_e2e_test.cpp159 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()
DGaugeMetric_e2e_push_test.cpp135 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()
DConfigUpdate_e2e_test.cpp375 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 …]
DConfigTtl_e2e_test.cpp67 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000; in TEST()
DMetricConditionLink_e2e_test.cpp106 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST()
225 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST()
DAttribution_e2e_test.cpp100 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()
DAnomaly_count_e2e_test.cpp65 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()
DKllMetric_e2e_test.cpp48 bucketSizeNs = TimeUnitToBucketSizeInMillis(TEN_MINUTES) * 1000000LL; in SetUp()
DMetricActivation_e2e_test.cpp241 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()
DConfigUpdate_e2e_ab_test.cpp328 uint64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(TEN_MINUTES) * 1000000LL; in TEST_P()
/packages/modules/StatsD/statsd/tests/metrics/
DDurationMetricProducer_test.cpp88 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()
DCountMetricProducer_test.cpp87 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()
DKllMetricProducer_test.cpp56 const int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL;
DGaugeMetricProducer_test.cpp53 const int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL;
/packages/modules/StatsD/statsd/benchmark/
Dduration_metric_benchmark.cpp138 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/
Dstats_log_util.h54 int64_t TimeUnitToBucketSizeInMillis(TimeUnit unit);
Dstats_log_util.cpp428 int64_t bucketSizeMillis = TimeUnitToBucketSizeInMillis(unit); in TimeUnitToBucketSizeInMillisGuardrailed()
436 int64_t TimeUnitToBucketSizeInMillis(TimeUnit unit) { in TimeUnitToBucketSizeInMillis() function
/packages/modules/StatsD/statsd/tests/
DStatsService_test.cpp212 TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000000; in TEST_P()
/packages/modules/StatsD/statsd/src/metrics/
DGaugeMetricProducer.cpp108 bucketSizeMills = TimeUnitToBucketSizeInMillis(ONE_HOUR);

12