Home
last modified time | relevance | path

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

/frameworks/opt/net/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 Slog.wtf(TAG, "Could not find best bucket for period " + requestedPeriod + " in " in findBestRegularBucketIndex()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DBackgroundScanSchedulerTest.java839 private static int computeExpectedPeriod(int requestedPeriod) { in computeExpectedPeriod() argument
843 int diff = Math.abs(bucketPeriod - requestedPeriod); in computeExpectedPeriod()
853 private static int computeExpectedPeriod(int requestedPeriod, in computeExpectedPeriod() argument
859 int diff = Math.abs(bucketPeriod - requestedPeriod); in computeExpectedPeriod()