Searched refs:intervalMs (Results 1 – 4 of 4) sorted by relevance
27 public void startRequesting(String packageName, String providerName, long intervalMs) { in startRequesting() argument34 stats.startRequesting(intervalMs); in startRequesting()114 private void startRequesting(long intervalMs) { in startRequesting() argument119 if (intervalMs < mFastestIntervalMs) { in startRequesting()120 mFastestIntervalMs = intervalMs; in startRequesting()123 if (intervalMs > mSlowestIntervalMs) { in startRequesting()124 mSlowestIntervalMs = intervalMs; in startRequesting()
302 long intervalMs; in updateFences() local304 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()
576 long intervalMs = 0; in checkPeriodicScanIntervalWhenDisconnected() local580 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() local643 intervalMs = mAlarmManager in checkPeriodicScanIntervalWhenConnected()646 currentTimeStamp += intervalMs; in checkPeriodicScanIntervalWhenConnected()650 assertEquals(intervalMs, WifiConnectivityManager.MAX_PERIODIC_SCAN_INTERVAL_MS); in checkPeriodicScanIntervalWhenConnected()
877 private void schedulePeriodicScanTimer(int intervalMs) { in schedulePeriodicScanTimer() argument879 mClock.elapsedRealtime() + intervalMs, in schedulePeriodicScanTimer()