Home
last modified time | relevance | path

Searched refs:hasHitDimensionGuardrail (Results 1 – 8 of 8) sorted by relevance

/packages/modules/StatsD/statsd/src/metrics/
DDurationMetricProducer.cpp531 if (StatsdStats::getInstance().hasHitDimensionGuardrail(mMetricId)) { in onDumpReportLocked()
872 bool hasHitDimensionGuardrail = in byteSizeLocked() local
873 StatsdStats::getInstance().hasHitDimensionGuardrail(mMetricId); in byteSizeLocked()
874 totalSize += computeOverheadSizeLocked(!mPastBuckets.empty(), hasHitDimensionGuardrail); in byteSizeLocked()
DKllMetricProducer.cpp171 bool dimensionGuardrailHit = StatsdStats::getInstance().hasHitDimensionGuardrail(mMetricId); in byteSizeLocked()
DNumericValueMetricProducer.cpp652 bool dimensionGuardrailHit = StatsdStats::getInstance().hasHitDimensionGuardrail(mMetricId); in byteSizeLocked()
DValueMetricProducer.cpp360 if (StatsdStats::getInstance().hasHitDimensionGuardrail(mMetricId)) { in onDumpReportLocked()
/packages/modules/StatsD/statsd/tests/guardrail/
DStatsdStats_test.cpp902 EXPECT_FALSE(stats.hasHitDimensionGuardrail(metricId1)); in TEST()
905 EXPECT_FALSE(stats.hasHitDimensionGuardrail(metricId2)); in TEST()
908 EXPECT_TRUE(stats.hasHitDimensionGuardrail(metricId3)); in TEST()
/packages/modules/StatsD/statsd/src/guardrail/
DStatsdStats.h751 bool hasHitDimensionGuardrail(int64_t metricId) const;
DStatsdStats.cpp883 bool StatsdStats::hasHitDimensionGuardrail(int64_t metricId) const { in hasHitDimensionGuardrail() function in android::os::statsd::StatsdStats
/packages/modules/StatsD/statsd/tests/metrics/
DNumericValueMetricProducer_test.cpp2237 ASSERT_EQ(false, StatsdStats::getInstance().hasHitDimensionGuardrail(metricId)); in TEST()
2242 ASSERT_EQ(true, StatsdStats::getInstance().hasHitDimensionGuardrail(metricId)); in TEST()
2258 ASSERT_EQ(true, StatsdStats::getInstance().hasHitDimensionGuardrail(metricId)); in TEST()