Home
last modified time | relevance | path

Searched refs:valueMetric (Results 1 – 4 of 4) sorted by relevance

/packages/modules/StatsD/statsd/tests/e2e/
DValueMetric_pull_e2e_test.cpp48 auto valueMetric = config.add_value_metric(); in CreateStatsdConfig() local
49 valueMetric->set_id(metricId); in CreateStatsdConfig()
50 valueMetric->set_what(pulledAtomMatcher.id()); in CreateStatsdConfig()
52 valueMetric->set_condition(screenIsOffPredicate.id()); in CreateStatsdConfig()
54 *valueMetric->mutable_value_field() = in CreateStatsdConfig()
56 *valueMetric->mutable_dimensions_in_what() = in CreateStatsdConfig()
58 valueMetric->set_bucket(FIVE_MINUTES); in CreateStatsdConfig()
59 valueMetric->set_use_absolute_value_on_reset(true); in CreateStatsdConfig()
60 valueMetric->set_skip_zero_diff_output(false); in CreateStatsdConfig()
61 valueMetric->set_max_pull_delay_sec(INT_MAX); in CreateStatsdConfig()
[all …]
DPartialBucket_e2e_test.cpp63 auto valueMetric = config.add_value_metric(); in MakeValueMetricConfig() local
64 valueMetric->set_id(123456); in MakeValueMetricConfig()
65 valueMetric->set_what(pulledAtomMatcher.id()); in MakeValueMetricConfig()
66 *valueMetric->mutable_value_field() = in MakeValueMetricConfig()
68 *valueMetric->mutable_dimensions_in_what() = in MakeValueMetricConfig()
70 valueMetric->set_bucket(FIVE_MINUTES); in MakeValueMetricConfig()
71 valueMetric->set_min_bucket_size_nanos(minTime); in MakeValueMetricConfig()
72 valueMetric->set_use_absolute_value_on_reset(true); in MakeValueMetricConfig()
73 valueMetric->set_skip_zero_diff_output(false); in MakeValueMetricConfig()
74 valueMetric->set_split_bucket_for_app_upgrade(true); in MakeValueMetricConfig()
/packages/modules/StatsD/statsd/src/metrics/
DNumericValueMetricProducer.h33 NumericValueMetricProducer(const ConfigKey& key, const ValueMetric& valueMetric,
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
Dconfig_update_utils_test.cpp3498 ValueMetric valueMetric = createValueMetric("VALUE1", matcher3, 2, predicate1Id, {}); in TEST_F() local
3499 int64_t valueMetricId = valueMetric.id(); in TEST_F()
3500 *config.add_value_metric() = valueMetric; in TEST_F()
3555 *newConfig.add_value_metric() = valueMetric; in TEST_F()