Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java76 public static final int PERIODIC_SCAN_INTERVAL_MS = 20 * 1000; // 20 seconds field in WifiConnectivityManager
148 private int mPeriodicSingleScanInterval = PERIODIC_SCAN_INTERVAL_MS;
674 if (msSinceLastScan < PERIODIC_SCAN_INTERVAL_MS) { in startPeriodicSingleScan()
677 schedulePeriodicScanTimer(PERIODIC_SCAN_INTERVAL_MS - (int) msSinceLastScan); in startPeriodicSingleScan()
770 mPeriodicSingleScanInterval = PERIODIC_SCAN_INTERVAL_MS; in startPeriodicScan()
778 settings.periodInMs = PERIODIC_SCAN_INTERVAL_MS; in startPeriodicScan()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConnectivityManagerTest.java555 assertEquals(firstIntervalMs, WifiConnectivityManager.PERIODIC_SCAN_INTERVAL_MS); in checkPeriodicScanIntervalWhenDisconnected()
618 assertEquals(firstIntervalMs, WifiConnectivityManager.PERIODIC_SCAN_INTERVAL_MS); in checkPeriodicScanIntervalWhenConnected()
693 + WifiConnectivityManager.PERIODIC_SCAN_INTERVAL_MS); in checkMinimumPeriodicScanIntervalWhenScreenOn()