Home
last modified time | relevance | path

Searched refs:mShardingModulo (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DBinderLatencyObserver.java64 private int mShardingModulo = SHARDING_MODULO_DEFAULT; field in BinderLatencyObserver
165 mShardingModulo, in writeAtomToStatsd()
194 mShardingOffset = mRandom.nextInt(mShardingModulo); in BinderLatencyObserver()
236 return (dims.hashCode() + mShardingOffset) % mShardingModulo == 0; in shouldCollect()
268 if (shardingModulo != mShardingModulo) { in setShardingModulo()
269 mShardingModulo = shardingModulo; in setShardingModulo()
DBinderCallsStats.java113 private int mShardingModulo = SHARDING_MODULO_DEFAULT; field in BinderCallsStats
188 this.mShardingOffset = mRandom.nextInt(mShardingModulo); in BinderCallsStats()
371 return (hash + mShardingOffset) % mShardingModulo == 0; in shouldExport()
493 resultCallStats.add(createDebugEntry("sharding_modulo", mShardingModulo)); in getExportedCallStats()
612 pw.println("Sharding modulo: " + mShardingModulo); in dumpLocked()
851 if (shardingModulo != mShardingModulo) { in setShardingModulo()
852 mShardingModulo = shardingModulo; in setShardingModulo()