Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DBackgroundScanScheduler.java108 private static final int[] PREDEFINED_BUCKET_PERIODS = { field in BackgroundScanScheduler
122 (PREDEFINED_BUCKET_PERIODS.length - 1);
124 (PREDEFINED_BUCKET_PERIODS.length - 1);
226 period = PREDEFINED_BUCKET_PERIODS[bucketIndex]; in createBucketSettings()
260 mBuckets = new Bucket[PREDEFINED_BUCKET_PERIODS.length]; in BucketList()
279 bucket = mBuckets[index] = new Bucket(PREDEFINED_BUCKET_PERIODS[index]); in getOrCreate()
513 int diff = Math.abs(PREDEFINED_BUCKET_PERIODS[i] - requestedPeriod); in findBestRegularBucketIndex()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DBackgroundScanSchedulerTest.java836 private static final int[] PREDEFINED_BUCKET_PERIODS = getPredefinedBuckets(); field in BackgroundScanSchedulerTest
842 for (int bucketPeriod : PREDEFINED_BUCKET_PERIODS) { in computeExpectedPeriod()