Home
last modified time | relevance | path

Searched refs:periodInMs (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DBackgroundScanScheduler.java220 && setting.maxPeriodInMs != setting.periodInMs) { in createBucketSettings()
224 bucketIndex = findBestRegularBucketIndex(setting.periodInMs, in createBucketSettings()
495 if (settings.maxPeriodInMs != 0 && settings.maxPeriodInMs != settings.periodInMs) { in addScanToBuckets()
499 bucketIndex = findBestRegularBucketIndex(settings.periodInMs, NUM_OF_REGULAR_BUCKETS); in addScanToBuckets()
542 int newBucketIndex = findBestRegularBucketIndex(scanRequest.periodInMs, i); in compactBuckets()
557 settings.periodInMs = originalSettings.periodInMs; in cloneScanSettings()
DWifiScanningServiceImpl.java1679 if (settings.periodInMs < WifiScanner.MIN_SCAN_PERIOD_MS) { in addBackgroundScanRequest()
1680 loge("Failing scan request because periodInMs is " + settings.periodInMs in addBackgroundScanRequest()
1697 if (settings.periodInMs < minSupportedPeriodMs) { in addBackgroundScanRequest()
1699 + minSupportedPeriodMs + " but the request wants " + settings.periodInMs); in addBackgroundScanRequest()
1704 if (settings.maxPeriodInMs != 0 && settings.maxPeriodInMs != settings.periodInMs) { in addBackgroundScanRequest()
1705 if (settings.maxPeriodInMs < settings.periodInMs) { in addBackgroundScanRequest()
1707 + " but less than periodInMs " + settings.periodInMs); in addBackgroundScanRequest()
2257 nativePnoSetting.periodInMs = scanSettings.periodInMs; in convertSettingsToPnoNative()
2461 int scans_per_Hour = settings.periodInMs == 0 ? 1 : (3600 * 1000) / in getCsph()
2462 settings.periodInMs; in getCsph()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/
DBackgroundScanSchedulerTest.java676 int expectedPeriod = computeExpectedPeriod(settings.periodInMs); in scheduleAndTestExactRequest()
779 if (settings.maxPeriodInMs != 0 && settings.periodInMs != settings.maxPeriodInMs) { in assertSettingsSatisfied()
781 expectedPeriod = settings.periodInMs; in assertSettingsSatisfied()
784 expectedPeriod = computeExpectedPeriod(settings.periodInMs, schedule); in assertSettingsSatisfied()
786 expectedPeriod = computeExpectedPeriod(settings.periodInMs); in assertSettingsSatisfied()
798 .append(settings.periodInMs); in assertSettingsSatisfied()
809 .append(settings.periodInMs); in assertSettingsSatisfied()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiScanner.java384 public int periodInMs; field in WifiScanner.ScanSettings
544 dest.writeInt(periodInMs); in writeToParcel()
578 settings.periodInMs = in.readInt();
1036 public void onPeriodChanged(int periodInMs); in onPeriodChanged() argument
1381 public int periodInMs; /* scan period in millisecond */ field in WifiScanner.WifiChangeSettings
1423 int periodInMs, /* period of scan */ in configureWifiChange() argument
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java674 public void onPeriodChanged(int periodInMs) { in onPeriodChanged() argument
818 public void onPeriodChanged(int periodInMs) { in onPeriodChanged() argument
820 + "actual scan period " + periodInMs + "ms"); in onPeriodChanged()
881 public void onPeriodChanged(int periodInMs) { in onPeriodChanged() argument
883 + "actual scan period " + periodInMs + "ms"); in onPeriodChanged()
1937 scanSettings.periodInMs = deviceMobilityStateToPnoScanIntervalMs(mDeviceMobilityState); in startDisconnectedPnoScan()
DScanRequestProxy.java165 public void onPeriodChanged(int periodInMs) { in onPeriodChanged() argument
197 public void onPeriodChanged(int periodInMs) { in onPeriodChanged() argument
DWakeupController.java73 public void onPeriodChanged(int periodInMs) {
DWifiVendorHal.java914 pa.periodInMs = bs.period_ms; in makeStaBackgroundScanBucketParametersFromBucketSettings()
2513 byte[] packet, int protocol, int periodInMs) { in startSendingOffloadedPacket() argument
2514 enter("slot=% periodInMs=%").c(slot).c(periodInMs).flush(); in startSendingOffloadedPacket()
2528 periodInMs); in startSendingOffloadedPacket()
DWifiHealthMonitor.java1076 public void onPeriodChanged(int periodInMs) { in onPeriodChanged() argument
DWifiNative.java3101 public int periodInMs;
3108 nativePnoSettings.setIntervalMillis(periodInMs);
DWifiNetworkFactory.java278 public void onPeriodChanged(int periodInMs) { in onPeriodChanged() argument
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DWifiGScanReceiver.java159 public void onPeriodChanged(int periodInMs) { in onPeriodChanged() argument
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DScanTestUtil.java66 request.periodInMs = period; in createRequest()
94 request.periodInMs = period; in createRequest()
DWifiConnectivityManagerTest.java3745 assertEquals(interval, scanSettingsCaptor.getValue().periodInMs); in verifyPnoScanWithInterval()
3768 assertEquals(scanSettingsCaptor.getValue().periodInMs, MOVING_PNO_SCAN_INTERVAL_MILLIS); in changeDeviceMobilityStateDuringScan()
3777 assertEquals(scanSettingsCaptor.getValue().periodInMs, STATIONARY_PNO_SCAN_INTERVAL_MILLIS); in changeDeviceMobilityStateDuringScan()
3803 assertEquals(scanSettingsCaptor.getValue().periodInMs, MOVING_PNO_SCAN_INTERVAL_MILLIS); in changeDeviceMobilityStateDuringScanWithSameScanPeriod()
3842 assertEquals(scanSettingsCaptor.getValue().periodInMs, STATIONARY_PNO_SCAN_INTERVAL_MILLIS); in setDeviceMobilityStateBeforePnoScan()
DWifiNativeTest.java174 periodInMs = 6000;
/packages/modules/Wifi/framework/api/
Dsystem-current.txt877 field @Deprecated public int periodInMs;
898 field @Deprecated public int periodInMs;