Home
last modified time | relevance | path

Searched refs:mSamplingType (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/cmds/statsd/src/metrics/
DGaugeMetricProducer.cpp106 mSamplingType = metric.sampling_type(); in GaugeMetricProducer()
135 if (mIsPulled && mSamplingType == GaugeMetric::RANDOM_ONE_SAMPLE) { in GaugeMetricProducer()
150 if (mIsPulled && mSamplingType == GaugeMetric::RANDOM_ONE_SAMPLE) { in ~GaugeMetricProducer()
309 if (mIsActive && mIsPulled && mSamplingType == GaugeMetric::RANDOM_ONE_SAMPLE) { in prepareFirstBucketLocked()
316 switch(mSamplingType) { in pullAndMatchEventsLocked()
365 if (mTriggerAtomId == -1 || (mIsActive && mSamplingType == GaugeMetric::RANDOM_ONE_SAMPLE)) { in onActiveStateChangedLocked()
482 mSamplingType == GaugeMetric::RANDOM_ONE_SAMPLE) { in onMatchedLogEventInternalLocked()
DGaugeMetricProducer.h86 if (mIsPulled && mSamplingType == GaugeMetric::RANDOM_ONE_SAMPLE) { in notifyAppUpgrade()
171 GaugeMetric::SamplingType mSamplingType; variable