Home
last modified time | relevance | path

Searched refs:intervalMs (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/location/
DLocationRequestStatistics.java27 public void startRequesting(String packageName, String providerName, long intervalMs) { in startRequesting() argument
34 stats.startRequesting(intervalMs); in startRequesting()
114 private void startRequesting(long intervalMs) { in startRequesting() argument
119 if (intervalMs < mFastestIntervalMs) { in startRequesting()
120 mFastestIntervalMs = intervalMs; in startRequesting()
123 if (intervalMs > mSlowestIntervalMs) { in startRequesting()
124 mSlowestIntervalMs = intervalMs; in startRequesting()
DGeofenceManager.java302 long intervalMs; in updateFences() local
304 intervalMs = (long)Math.min(MAX_INTERVAL_MS, Math.max(MIN_INTERVAL_MS, in updateFences()
307 intervalMs = MIN_INTERVAL_MS; in updateFences()
309 if (!mReceivingLocationUpdates || mLocationUpdateInterval != intervalMs) { in updateFences()
311 mLocationUpdateInterval = intervalMs; in updateFences()
315 request.setInterval(intervalMs).setFastestInterval(0); in updateFences()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConnectivityManagerTest.java576 long intervalMs = 0; in checkPeriodicScanIntervalWhenDisconnected() local
580 intervalMs = mAlarmManager in checkPeriodicScanIntervalWhenDisconnected()
583 currentTimeStamp += intervalMs; in checkPeriodicScanIntervalWhenDisconnected()
587 assertEquals(intervalMs, WifiConnectivityManager.MAX_PERIODIC_SCAN_INTERVAL_MS); in checkPeriodicScanIntervalWhenDisconnected()
639 long intervalMs = 0; in checkPeriodicScanIntervalWhenConnected() local
643 intervalMs = mAlarmManager in checkPeriodicScanIntervalWhenConnected()
646 currentTimeStamp += intervalMs; in checkPeriodicScanIntervalWhenConnected()
650 assertEquals(intervalMs, WifiConnectivityManager.MAX_PERIODIC_SCAN_INTERVAL_MS); in checkPeriodicScanIntervalWhenConnected()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java877 private void schedulePeriodicScanTimer(int intervalMs) { in schedulePeriodicScanTimer() argument
879 mClock.elapsedRealtime() + intervalMs, in schedulePeriodicScanTimer()