Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/
DContentResolver.java1513 int samplePercent = samplePercentForDuration(durationMillis); in maybeLogQueryToEventLog() local
1514 if (samplePercent < 100) { in maybeLogQueryToEventLog()
1516 if (mRandom.nextInt(100) >= samplePercent) { in maybeLogQueryToEventLog()
1547 samplePercent); in maybeLogQueryToEventLog()
1552 int samplePercent = samplePercentForDuration(durationMillis); in maybeLogUpdateToEventLog() local
1553 if (samplePercent < 100) { in maybeLogUpdateToEventLog()
1555 if (mRandom.nextInt(100) >= samplePercent) { in maybeLogUpdateToEventLog()
1568 samplePercent); in maybeLogUpdateToEventLog()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabase.java2028 int samplePercent; in logTimeStat() local
2039 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()