Home
last modified time | relevance | path

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

/frameworks/base/cmds/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.cpp81 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in FeedEvents()
123 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST()
160 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()
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()
227 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000LL * 1000LL; in TEST()
391 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST()
490 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST()
599 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST()
DAnomaly_count_e2e_test.cpp65 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000; in TEST()
168 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000; in TEST()
DConfigTtl_e2e_test.cpp68 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000; in TEST()
DValueMetric_pull_e2e_test.cpp69 TimeUnitToBucketSizeInMillis(config.value_metric(0).bucket()) * 1000000; in TEST()
173 TimeUnitToBucketSizeInMillis(config.value_metric(0).bucket()) * 1000000; in TEST()
275 TimeUnitToBucketSizeInMillis(config.value_metric(0).bucket()) * 1000000; in TEST()
DGaugeMetric_e2e_pull_test.cpp69 TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000000; in TEST()
214 TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000000; in TEST()
315 TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000000; in TEST()
414 TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000000; in TEST()
542 TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000000; in TEST()
DAnomaly_duration_sum_e2e_test.cpp101 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000; in TEST()
278 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000; in TEST()
387 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000; in TEST()
DMetricConditionLink_e2e_test.cpp106 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST()
227 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST()
DAttribution_e2e_test.cpp62 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000; in TEST()
210 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000; in TEST()
DDimensionInCondition_e2e_combination_OR_cond_test.cpp76 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST()
288 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST()
474 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST()
680 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST()
DDimensionInCondition_e2e_simple_cond_test.cpp80 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST()
366 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST()
588 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST()
DDimensionInCondition_e2e_combination_AND_cond_test.cpp122 TimeUnitToBucketSizeInMillis( in TEST()
462 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST()
712 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST()
DGaugeMetric_e2e_push_test.cpp96 TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000000; in TEST()
DMetricActivation_e2e_test.cpp241 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000LL * 1000LL; in TEST()
455 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000LL * 1000LL; in TEST()
778 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000LL * 1000LL; in TEST()
1113 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000LL * 1000LL; in TEST()
1310 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000LL * 1000LL; in TEST()
/frameworks/base/cmds/statsd/tests/metrics/
DDurationMetricProducer_test.cpp62 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST()
99 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST()
147 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST()
200 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST()
254 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST()
303 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST()
343 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST()
390 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST()
DCountMetricProducer_test.cpp55 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST()
119 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST()
161 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST()
217 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST()
278 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST()
338 int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL; in TEST()
DGaugeMetricProducer_test.cpp47 const int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL;
DValueMetricProducer_test.cpp48 const int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL;
/frameworks/base/cmds/statsd/src/
Dstats_log_util.h48 int64_t TimeUnitToBucketSizeInMillis(TimeUnit unit);
Dstats_log_util.cpp416 int64_t bucketSizeMillis = TimeUnitToBucketSizeInMillis(unit); in TimeUnitToBucketSizeInMillisGuardrailed()
424 int64_t TimeUnitToBucketSizeInMillis(TimeUnit unit) { in TimeUnitToBucketSizeInMillis() function
/frameworks/base/cmds/statsd/benchmark/
Dduration_metric_benchmark.cpp138 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in BM_DurationMetricNoLink()
231 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in BM_DurationMetricLink()
/frameworks/base/cmds/statsd/src/metrics/
DGaugeMetricProducer.cpp102 bucketSizeMills = TimeUnitToBucketSizeInMillis(ONE_HOUR); in GaugeMetricProducer()
DValueMetricProducer.cpp113 bucketSizeMills = TimeUnitToBucketSizeInMillis(ONE_HOUR); in ValueMetricProducer()