Home
last modified time | relevance | path

Searched refs:durationMetric (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/cmds/statsd/tests/e2e/
DDurationMetric_e2e_test.cpp42 auto durationMetric = config.add_duration_metric(); in TEST() local
43 durationMetric->set_id(metricId); in TEST()
44 durationMetric->set_what(durationPredicate.id()); in TEST()
45 durationMetric->set_bucket(FIVE_MINUTES); in TEST()
46 durationMetric->set_aggregation_type(DurationMetric_AggregationType_SUM); in TEST()
125 auto durationMetric = config.add_duration_metric(); in TEST() local
126 durationMetric->set_id(metricId); in TEST()
127 durationMetric->set_what(durationPredicate.id()); in TEST()
128 durationMetric->set_bucket(FIVE_MINUTES); in TEST()
129 durationMetric->set_aggregation_type(DurationMetric_AggregationType_SUM); in TEST()
[all …]
DWakelockDuration_e2e_test.cpp51 auto durationMetric = config.add_duration_metric(); in CreateStatsdConfig() local
52 durationMetric->set_id(StringToId("WakelockDuration")); in CreateStatsdConfig()
53 durationMetric->set_what(holdingWakelockPredicate.id()); in CreateStatsdConfig()
54 durationMetric->set_condition(screenIsOffPredicate.id()); in CreateStatsdConfig()
55 durationMetric->set_aggregation_type(aggregationType); in CreateStatsdConfig()
57 *durationMetric->mutable_dimensions_in_what() = in CreateStatsdConfig()
60 durationMetric->set_bucket(FIVE_MINUTES); in CreateStatsdConfig()
DAnomaly_duration_sum_e2e_test.cpp54 auto durationMetric = config.add_duration_metric(); in CreateStatsdConfig() local
55 durationMetric->set_id(StringToId("WakelockDuration")); in CreateStatsdConfig()
56 durationMetric->set_what(holdingWakelockPredicate.id()); in CreateStatsdConfig()
57 durationMetric->set_condition(screenIsOffPredicate.id()); in CreateStatsdConfig()
58 durationMetric->set_aggregation_type(aggregationType); in CreateStatsdConfig()
59 *durationMetric->mutable_dimensions_in_what() = in CreateStatsdConfig()
61 durationMetric->set_bucket(FIVE_MINUTES); in CreateStatsdConfig()
/frameworks/base/cmds/statsd/src/metrics/
DDurationMetricProducer.h41 DurationMetricProducer(const ConfigKey& key, const DurationMetric& durationMetric,
Dmetrics_manager_util.cpp408 sp<MetricProducer> durationMetric = new DurationMetricProducer( in initMetrics() local
412 allMetricProducers.push_back(durationMetric); in initMetrics()