Home
last modified time | relevance | path

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

12

/packages/modules/StatsD/statsd/tests/e2e/
DAlarm_e2e_test.cpp36 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()
DWakelockDuration_e2e_test.cpp78 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()
DStringReplace_e2e_test.cpp83 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()
DCountMetric_e2e_test.cpp79 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 …]
DDurationMetric_e2e_test.cpp51 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 …]
DGaugeMetric_e2e_push_test.cpp133 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()
DGaugeMetric_e2e_pull_test.cpp74 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()
DAnomaly_duration_sum_e2e_test.cpp118 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()
DValueMetric_pull_e2e_test.cpp157 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()
DConfigTtl_e2e_test.cpp66 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000; in TEST()
DConfigUpdate_e2e_test.cpp358 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 …]
DMetricConditionLink_e2e_test.cpp105 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST()
224 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST()
DAttribution_e2e_test.cpp99 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()
DAnomaly_count_e2e_test.cpp64 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()
DKllMetric_e2e_test.cpp48 bucketSizeNs = TimeUnitToBucketSizeInMillis(TEN_MINUTES) * 1000000LL; in SetUp()
DMetricActivation_e2e_test.cpp236 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()
DConfigUpdate_e2e_ab_test.cpp322 uint64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(TEN_MINUTES) * 1000000LL; in TEST_P()
/packages/modules/StatsD/statsd/tests/metrics/
DDurationMetricProducer_test.cpp89 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()
DCountMetricProducer_test.cpp89 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()
DKllMetricProducer_test.cpp56 const int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL;
/packages/modules/StatsD/statsd/benchmark/
Dduration_metric_benchmark.cpp137 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/
Dstats_log_util.h54 int64_t TimeUnitToBucketSizeInMillis(TimeUnit unit);
Dstats_log_util.cpp429 int64_t bucketSizeMillis = TimeUnitToBucketSizeInMillis(unit); in TimeUnitToBucketSizeInMillisGuardrailed()
437 int64_t TimeUnitToBucketSizeInMillis(TimeUnit unit) { in TimeUnitToBucketSizeInMillis() function
/packages/modules/StatsD/statsd/tests/
DStatsService_test.cpp179 TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000000; in TEST_F()
/packages/modules/StatsD/statsd/src/metrics/
DGaugeMetricProducer.cpp115 bucketSizeMills = TimeUnitToBucketSizeInMillis(ONE_HOUR);

12