Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DBackgroundScanScheduler.java508 private static int findBestRegularBucketIndex(int requestedPeriod, int maxNumBuckets) { in findBestRegularBucketIndex() argument
513 int diff = Math.abs(PREDEFINED_BUCKET_PERIODS[i] - requestedPeriod); in findBestRegularBucketIndex()
520 Log.wtf(TAG, "Could not find best bucket for period " + requestedPeriod + " in " in findBestRegularBucketIndex()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/
DBackgroundScanSchedulerTest.java843 private static int computeExpectedPeriod(int requestedPeriod) { in computeExpectedPeriod() argument
847 int diff = Math.abs(bucketPeriod - requestedPeriod); in computeExpectedPeriod()
857 private static int computeExpectedPeriod(int requestedPeriod, in computeExpectedPeriod() argument
863 int diff = Math.abs(bucketPeriod - requestedPeriod); in computeExpectedPeriod()