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.cpp49 auto valueMetric = config.add_value_metric(); in CreateStatsdConfig() local
50 valueMetric->set_id(metricId); in CreateStatsdConfig()
51 valueMetric->set_what(pulledAtomMatcher.id()); in CreateStatsdConfig()
53 valueMetric->set_condition(screenIsOffPredicate.id()); in CreateStatsdConfig()
55 *valueMetric->mutable_value_field() = in CreateStatsdConfig()
57 *valueMetric->mutable_dimensions_in_what() = in CreateStatsdConfig()
59 valueMetric->set_bucket(FIVE_MINUTES); in CreateStatsdConfig()
60 valueMetric->set_use_absolute_value_on_reset(true); in CreateStatsdConfig()
61 valueMetric->set_skip_zero_diff_output(false); in CreateStatsdConfig()
62 valueMetric->set_max_pull_delay_sec(INT_MAX); in CreateStatsdConfig()
[all …]
DPartialBucket_e2e_test.cpp82 auto valueMetric = config.add_value_metric(); in MakeValueMetricConfig() local
83 valueMetric->set_id(123456); in MakeValueMetricConfig()
84 valueMetric->set_what(pulledAtomMatcher.id()); in MakeValueMetricConfig()
85 *valueMetric->mutable_value_field() = in MakeValueMetricConfig()
87 *valueMetric->mutable_dimensions_in_what() = in MakeValueMetricConfig()
89 valueMetric->set_bucket(FIVE_MINUTES); in MakeValueMetricConfig()
90 valueMetric->set_min_bucket_size_nanos(minTime); in MakeValueMetricConfig()
91 valueMetric->set_use_absolute_value_on_reset(true); in MakeValueMetricConfig()
92 valueMetric->set_skip_zero_diff_output(false); in MakeValueMetricConfig()
/packages/modules/StatsD/statsd/src/metrics/
DValueMetricProducer.h53 const ConfigKey& key, const ValueMetric& valueMetric, const int conditionIndex,
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
Dconfig_update_utils_test.cpp3082 ValueMetric valueMetric = createValueMetric("VALUE1", matcher3, 2, predicate1Id, {}); in TEST_F() local
3083 int64_t valueMetricId = valueMetric.id(); in TEST_F()
3084 *config.add_value_metric() = valueMetric; in TEST_F()
3134 *newConfig.add_value_metric() = valueMetric; in TEST_F()