Searched refs:samplePercent (Results 1 – 2 of 2) sorted by relevance
1513 int samplePercent = samplePercentForDuration(durationMillis); in maybeLogQueryToEventLog() local1514 if (samplePercent < 100) { in maybeLogQueryToEventLog()1516 if (mRandom.nextInt(100) >= samplePercent) { in maybeLogQueryToEventLog()1547 samplePercent); in maybeLogQueryToEventLog()1552 int samplePercent = samplePercentForDuration(durationMillis); in maybeLogUpdateToEventLog() local1553 if (samplePercent < 100) { in maybeLogUpdateToEventLog()1555 if (mRandom.nextInt(100) >= samplePercent) { in maybeLogUpdateToEventLog()1568 samplePercent); in maybeLogUpdateToEventLog()
2028 int samplePercent; in logTimeStat() local2039 samplePercent = 100; in logTimeStat()2041 samplePercent = (int) (100 * durationMillis / sQueryLogTimeInMillis) + 1; in logTimeStat()2042 if (mRandom.nextInt(100) >= samplePercent) return; in logTimeStat()2069 samplePercent); in logTimeStat()