Home
last modified time | relevance | path

Searched refs:sampling_type (Results 1 – 4 of 4) 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::ALL_CONDITION_CHANGES) { in TEST()
DGaugeMetric_e2e_pull_test.cpp31 StatsdConfig CreateStatsdConfig(const GaugeMetric::SamplingType sampling_type) { in CreateStatsdConfig() argument
46 gaugeMetric->set_sampling_type(sampling_type); in CreateStatsdConfig()
/frameworks/base/cmds/statsd/src/
Dstatsd_config.proto239 optional SamplingType sampling_type = 9 [default = RANDOM_ONE_SAMPLE] ; field
/frameworks/base/cmds/statsd/src/metrics/
DGaugeMetricProducer.cpp99 mSamplingType = metric.sampling_type(); in GaugeMetricProducer()