Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/e2e/
DGaugeMetric_e2e_push_test.cpp31 StatsdConfig CreateStatsdConfigForPushedEvent(const GaugeMetric::SamplingType sampling_type) { in CreateStatsdConfigForPushedEvent() argument
50 gaugeMetric->set_sampling_type(sampling_type); in CreateStatsdConfigForPushedEvent()
91 for (const auto& sampling_type : in TEST()
93 auto config = CreateStatsdConfigForPushedEvent(sampling_type); in TEST()
173 if (sampling_type == GaugeMetric::FIRST_N_SAMPLES) { in TEST()
DGaugeMetric_e2e_pull_test.cpp33 StatsdConfig CreateStatsdConfig(const GaugeMetric::SamplingType sampling_type, in CreateStatsdConfig() argument
51 gaugeMetric->set_sampling_type(sampling_type); in CreateStatsdConfig()
/frameworks/base/cmds/statsd/src/metrics/
Dmetrics_manager_util.cpp554 if (metric.sampling_type() != GaugeMetric::FIRST_N_SAMPLES) { in initMetrics()
567 metric.sampling_type() == GaugeMetric::FIRST_N_SAMPLES) { in initMetrics()
DGaugeMetricProducer.cpp108 mSamplingType = metric.sampling_type(); in GaugeMetricProducer()
/frameworks/base/cmds/statsd/src/
Dstatsd_config.proto240 optional SamplingType sampling_type = 9 [default = RANDOM_ONE_SAMPLE] ; field