Home
last modified time | relevance | path

Searched refs:shouldKeepSample (Results 1 – 4 of 4) sorted by relevance

/packages/modules/StatsD/statsd/tests/
DFieldValue_test.cpp1229 EXPECT_TRUE(shouldKeepSample(fieldValue1, shardOffset, shardCount)); in TEST()
1230 EXPECT_FALSE(shouldKeepSample(fieldValue2, shardOffset, shardCount)); in TEST()
1246 EXPECT_FALSE(shouldKeepSample(fieldValue1, shardOffset, shardCount)); in TEST()
1247 EXPECT_TRUE(shouldKeepSample(fieldValue2, shardOffset, shardCount)); in TEST()
1263 EXPECT_TRUE(shouldKeepSample(fieldValue1, shardOffset, shardCount)); in TEST()
1264 EXPECT_FALSE(shouldKeepSample(fieldValue2, shardOffset, shardCount)); in TEST()
1280 EXPECT_TRUE(shouldKeepSample(fieldValue1, shardOffset, shardCount)); in TEST()
1281 EXPECT_FALSE(shouldKeepSample(fieldValue2, shardOffset, shardCount)); in TEST()
1297 EXPECT_FALSE(shouldKeepSample(fieldValue1, shardOffset, shardCount)); in TEST()
1298 EXPECT_TRUE(shouldKeepSample(fieldValue2, shardOffset, shardCount)); in TEST()
[all …]
/packages/modules/StatsD/statsd/src/
DFieldValue.h492 bool shouldKeepSample(const FieldValue& sampleFieldValue, int shardOffset, int shardCount);
DFieldValue.cpp581 bool shouldKeepSample(const FieldValue& sampleFieldValue, int shardOffset, int shardCount) { in shouldKeepSample() function
/packages/modules/StatsD/statsd/src/metrics/
DMetricProducer.cpp416 return shouldKeepSample(sampleFieldValue, ShardOffsetProvider::getInstance().getShardOffset(), in passesSampleCheckLocked()