Home
last modified time | relevance | path

Searched refs:ShardOffsetProvider (Results 1 – 12 of 12) sorted by relevance

/packages/modules/StatsD/statsd/src/utils/
DShardOffsetProvider.cpp23 ShardOffsetProvider::ShardOffsetProvider(const uint32_t shardOffset) : mShardOffset(shardOffset) { in ShardOffsetProvider() function in android::os::statsd::ShardOffsetProvider
26 ShardOffsetProvider& ShardOffsetProvider::getInstance() { in getInstance()
27 static ShardOffsetProvider sShardOffsetProvider(rand()); in getInstance()
DShardOffsetProvider.h31 class ShardOffsetProvider final {
33 ~ShardOffsetProvider(){}; in ~ShardOffsetProvider()
39 static ShardOffsetProvider& getInstance();
42 ShardOffsetProvider(const uint32_t shardOffset);
/packages/modules/StatsD/statsd/tests/e2e/
DKllMetric_e2e_test.cpp206 ShardOffsetProvider::getInstance().setShardOffset(5); in TEST_F()
DGaugeMetric_e2e_push_test.cpp417 ShardOffsetProvider::getInstance().setShardOffset(5); in TEST_F()
594 ShardOffsetProvider::getInstance().setShardOffset(5); in TEST_F()
DDurationMetric_e2e_test.cpp1656 ShardOffsetProvider::getInstance().setShardOffset(5); in TEST()
DCountMetric_e2e_test.cpp1931 ShardOffsetProvider::getInstance().setShardOffset(5); in TEST()
/packages/modules/StatsD/statsd/src/metrics/
DMetricProducer.cpp416 return shouldKeepSample(sampleFieldValue, ShardOffsetProvider::getInstance().getShardOffset(), in passesSampleCheckLocked()
/packages/modules/StatsD/statsd/
DAndroid.bp129 "src/utils/ShardOffsetProvider.cpp",
/packages/modules/StatsD/statsd/src/guardrail/
DStatsdStats.cpp1629 dprintf(out, "Shard Offset: %u\n", ShardOffsetProvider::getInstance().getShardOffset()); in dumpStats()
2002 static_cast<long>(ShardOffsetProvider::getInstance().getShardOffset())); in dumpStats()
/packages/modules/StatsD/statsd/tests/metrics/
DGaugeMetricProducer_test.cpp937 ShardOffsetProvider::getInstance().setShardOffset(5); in TEST()
DNumericValueMetricProducer_test.cpp7624 ShardOffsetProvider::getInstance().setShardOffset(5); in TEST()
/packages/modules/StatsD/statsd/tests/guardrail/
DStatsdStats_test.cpp886 ShardOffsetProvider::getInstance().setShardOffset(15); in TEST()