Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/wificond/
DPnoSettings.java31 public int intervalMs; field in PnoSettings
50 return intervalMs == settings.intervalMs in equals()
59 return Objects.hash(intervalMs, min2gRssi, min5gRssi, pnoNetworks); in hashCode()
74 out.writeInt(intervalMs); in writeToParcel()
86 result.intervalMs = in.readInt();
/frameworks/base/services/core/java/com/android/server/location/
DLocationRequestStatistics.java27 public void startRequesting(String packageName, String providerName, long intervalMs, in startRequesting() argument
35 stats.startRequesting(intervalMs); in startRequesting()
140 private void startRequesting(long intervalMs) { in startRequesting() argument
145 if (intervalMs < mFastestIntervalMs) { in startRequesting()
146 mFastestIntervalMs = intervalMs; in startRequesting()
149 if (intervalMs > mSlowestIntervalMs) { in startRequesting()
150 mSlowestIntervalMs = intervalMs; in startRequesting()
DGeofenceManager.java336 long intervalMs; in updateFences() local
338 intervalMs = (long)Math.min(MAX_INTERVAL_MS, Math.max(mEffectiveMinIntervalMs, in updateFences()
341 intervalMs = mEffectiveMinIntervalMs; in updateFences()
343 if (!mReceivingLocationUpdates || mLocationUpdateInterval != intervalMs) { in updateFences()
345 mLocationUpdateInterval = intervalMs; in updateFences()
349 request.setInterval(intervalMs).setFastestInterval(0); in updateFences()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/wificond/
DPnoSettingsTest.java72 pnoSettings.intervalMs = TEST_INTERVAL_MS; in canSerializeAndDeserialize()
93 pnoSettings1.intervalMs = TEST_INTERVAL_MS; in testAsHashMapKey()
99 pnoSettings2.intervalMs = TEST_INTERVAL_MS; in testAsHashMapKey()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConnectivityManagerTest.java947 long intervalMs = 0; in checkPeriodicScanIntervalWhenDisconnected() local
951 intervalMs = mAlarmManager in checkPeriodicScanIntervalWhenDisconnected()
954 currentTimeStamp += intervalMs; in checkPeriodicScanIntervalWhenDisconnected()
958 assertEquals(intervalMs, WifiConnectivityManager.MAX_PERIODIC_SCAN_INTERVAL_MS); in checkPeriodicScanIntervalWhenDisconnected()
1010 long intervalMs = 0; in checkPeriodicScanIntervalWhenConnected() local
1014 intervalMs = mAlarmManager in checkPeriodicScanIntervalWhenConnected()
1017 currentTimeStamp += intervalMs; in checkPeriodicScanIntervalWhenConnected()
1021 assertEquals(intervalMs, WifiConnectivityManager.MAX_PERIODIC_SCAN_INTERVAL_MS); in checkPeriodicScanIntervalWhenConnected()
DWificondControlTest.java1333 if (settings.intervalMs != mExpectedPnoSettings.periodInMs in matches()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java1056 private void schedulePeriodicScanTimer(int intervalMs) { in schedulePeriodicScanTimer() argument
1058 mClock.getElapsedSinceBootMillis() + intervalMs, in schedulePeriodicScanTimer()
DWificondControl.java735 settings.intervalMs = pnoSettings.periodInMs; in startPnoScan()