Searched refs:ShardOffsetProvider (Results 1 – 12 of 12) sorted by relevance
23 ShardOffsetProvider::ShardOffsetProvider(const uint32_t shardOffset) : mShardOffset(shardOffset) { in ShardOffsetProvider() function in android::os::statsd::ShardOffsetProvider26 ShardOffsetProvider& ShardOffsetProvider::getInstance() { in getInstance()27 static ShardOffsetProvider sShardOffsetProvider(rand()); in getInstance()
31 class ShardOffsetProvider final {33 ~ShardOffsetProvider(){}; in ~ShardOffsetProvider()39 static ShardOffsetProvider& getInstance();42 ShardOffsetProvider(const uint32_t shardOffset);
206 ShardOffsetProvider::getInstance().setShardOffset(5); in TEST_F()
417 ShardOffsetProvider::getInstance().setShardOffset(5); in TEST_F()594 ShardOffsetProvider::getInstance().setShardOffset(5); in TEST_F()
1656 ShardOffsetProvider::getInstance().setShardOffset(5); in TEST()
1931 ShardOffsetProvider::getInstance().setShardOffset(5); in TEST()
416 return shouldKeepSample(sampleFieldValue, ShardOffsetProvider::getInstance().getShardOffset(), in passesSampleCheckLocked()
129 "src/utils/ShardOffsetProvider.cpp",
1629 dprintf(out, "Shard Offset: %u\n", ShardOffsetProvider::getInstance().getShardOffset()); in dumpStats()2002 static_cast<long>(ShardOffsetProvider::getInstance().getShardOffset())); in dumpStats()
937 ShardOffsetProvider::getInstance().setShardOffset(5); in TEST()
7624 ShardOffsetProvider::getInstance().setShardOffset(5); in TEST()
886 ShardOffsetProvider::getInstance().setShardOffset(15); in TEST()