Searched refs:shouldKeepSample (Results 1 – 4 of 4) sorted by relevance
/packages/modules/StatsD/statsd/tests/ |
D | FieldValue_test.cpp | 1229 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/ |
D | FieldValue.h | 492 bool shouldKeepSample(const FieldValue& sampleFieldValue, int shardOffset, int shardCount);
|
D | FieldValue.cpp | 581 bool shouldKeepSample(const FieldValue& sampleFieldValue, int shardOffset, int shardCount) { in shouldKeepSample() function
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | MetricProducer.cpp | 416 return shouldKeepSample(sampleFieldValue, ShardOffsetProvider::getInstance().getShardOffset(), in passesSampleCheckLocked()
|