/frameworks/base/cmds/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 | 81 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()
|
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() 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()
|
D | Anomaly_count_e2e_test.cpp | 65 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000; in TEST() 168 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000; in TEST()
|
D | ConfigTtl_e2e_test.cpp | 68 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000; in TEST()
|
D | ValueMetric_pull_e2e_test.cpp | 69 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()
|
D | GaugeMetric_e2e_pull_test.cpp | 69 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()
|
D | Anomaly_duration_sum_e2e_test.cpp | 101 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()
|
D | MetricConditionLink_e2e_test.cpp | 106 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST() 227 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000LL; in TEST()
|
D | Attribution_e2e_test.cpp | 62 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000; in TEST() 210 TimeUnitToBucketSizeInMillis(config.count_metric(0).bucket()) * 1000000; in TEST()
|
D | DimensionInCondition_e2e_combination_OR_cond_test.cpp | 76 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()
|
D | DimensionInCondition_e2e_simple_cond_test.cpp | 80 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()
|
D | DimensionInCondition_e2e_combination_AND_cond_test.cpp | 122 TimeUnitToBucketSizeInMillis( in TEST() 462 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST() 712 TimeUnitToBucketSizeInMillis(config.duration_metric(0).bucket()) * 1000000LL; in TEST()
|
D | GaugeMetric_e2e_push_test.cpp | 96 TimeUnitToBucketSizeInMillis(config.gauge_metric(0).bucket()) * 1000000; in TEST()
|
D | MetricActivation_e2e_test.cpp | 241 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/ |
D | DurationMetricProducer_test.cpp | 62 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()
|
D | CountMetricProducer_test.cpp | 55 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()
|
D | GaugeMetricProducer_test.cpp | 47 const int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL;
|
D | ValueMetricProducer_test.cpp | 48 const int64_t bucketSizeNs = TimeUnitToBucketSizeInMillis(ONE_MINUTE) * 1000000LL;
|
/frameworks/base/cmds/statsd/src/ |
D | stats_log_util.h | 48 int64_t TimeUnitToBucketSizeInMillis(TimeUnit unit);
|
D | stats_log_util.cpp | 416 int64_t bucketSizeMillis = TimeUnitToBucketSizeInMillis(unit); in TimeUnitToBucketSizeInMillisGuardrailed() 424 int64_t TimeUnitToBucketSizeInMillis(TimeUnit unit) { in TimeUnitToBucketSizeInMillis() function
|
/frameworks/base/cmds/statsd/benchmark/ |
D | duration_metric_benchmark.cpp | 138 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/ |
D | GaugeMetricProducer.cpp | 102 bucketSizeMills = TimeUnitToBucketSizeInMillis(ONE_HOUR); in GaugeMetricProducer()
|
D | ValueMetricProducer.cpp | 113 bucketSizeMills = TimeUnitToBucketSizeInMillis(ONE_HOUR); in ValueMetricProducer()
|