Home
last modified time | relevance | path

Searched refs:pnoSettings (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWificondPnoScannerTest.java90 WifiNative.PnoSettings pnoSettings = createDummyPnoSettings(false); in startHwDisconnectedPnoScan() local
95 startSuccessfulPnoScan(null, pnoSettings, null, pnoEventHandler); in startHwDisconnectedPnoScan()
96 expectSuccessfulHwDisconnectedPnoScan(order, pnoSettings, pnoEventHandler, scanResults); in startHwDisconnectedPnoScan()
109 WifiNative.PnoSettings pnoSettings = createDummyPnoSettings(false); in pauseResumeHwDisconnectedPnoScanForSingleScan() local
116 startSuccessfulPnoScan(null, pnoSettings, null, pnoEventHandler); in pauseResumeHwDisconnectedPnoScanForSingleScan()
132 expectSuccessfulHwDisconnectedPnoScan(order, pnoSettings, pnoEventHandler, scanResults); in pauseResumeHwDisconnectedPnoScanForSingleScan()
178 WifiNative.PnoSettings pnoSettings = createDummyPnoSettings(false); in delayedHwDisconnectedPnoScanFailure() local
185 startSuccessfulPnoScan(null, pnoSettings, null, pnoEventHandler); in delayedHwDisconnectedPnoScanFailure()
204 startSuccessfulPnoScan(null, pnoSettings, null, pnoEventHandler); in delayedHwDisconnectedPnoScanFailure()
209 expectSuccessfulHwDisconnectedPnoScan(order, pnoSettings, pnoEventHandler, scanResults); in delayedHwDisconnectedPnoScanFailure()
[all …]
DWifiScanningServiceTest.java1795 WifiScanner.PnoSettings pnoSettings) { in sendPnoScanRequest() argument
1799 pnoParams.putParcelable(WifiScanner.PNO_PARAMS_PNO_SETTINGS_KEY, pnoSettings); in sendPnoScanRequest()
1906 Pair<WifiScanner.PnoSettings, WifiNative.PnoSettings> pnoSettings = in testSuccessfulHwPnoScanWithNoBackgroundScan() local
1909 sendPnoScanRequest(controlChannel, requestId, scanSettings.first, pnoSettings.first); in testSuccessfulHwPnoScanWithNoBackgroundScan()
1910 expectHwPnoScanWithNoBackgroundScan(order, handler, requestId, pnoSettings.second, in testSuccessfulHwPnoScanWithNoBackgroundScan()
1931 Pair<WifiScanner.PnoSettings, WifiNative.PnoSettings> pnoSettings = in testSuccessfulHwPnoScanWithBackgroundScan() local
1934 sendPnoScanRequest(controlChannel, requestId, scanSettings.first, pnoSettings.first); in testSuccessfulHwPnoScanWithBackgroundScan()
1936 pnoSettings.second, scanResults); in testSuccessfulHwPnoScanWithBackgroundScan()
1956 Pair<WifiScanner.PnoSettings, WifiNative.PnoSettings> pnoSettings = in testSuccessfulHwPnoScanWithBackgroundScanWithNoIE() local
1959 sendPnoScanRequest(controlChannel, requestId, scanSettings.first, pnoSettings.first); in testSuccessfulHwPnoScanWithBackgroundScanWithNoIE()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/wificond/
DPnoSettingsTest.java51 PnoSettings pnoSettings = new PnoSettings(); in canSerializeAndDeserialize() local
61 pnoSettings.pnoNetworks = new ArrayList(Arrays.asList(pnoNetwork1, pnoNetwork2)); in canSerializeAndDeserialize()
63 pnoSettings.intervalMs = TEST_INTERVAL_MS; in canSerializeAndDeserialize()
64 pnoSettings.min2gRssi = TEST_MIN_2G_RSSI; in canSerializeAndDeserialize()
65 pnoSettings.min5gRssi = TEST_MIN_5G_RSSI; in canSerializeAndDeserialize()
68 pnoSettings.writeToParcel(parcel, 0); in canSerializeAndDeserialize()
72 pnoSettings.CREATOR.createFromParcel(parcel); in canSerializeAndDeserialize()
75 assertEquals(pnoSettings, pnoSettingsDeserialized); in canSerializeAndDeserialize()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java1467 PnoSettings pnoSettings = in processMessage() local
1471 if (mScannerImpl.isHwPnoSupported(pnoSettings.isConnected)) { in processMessage()
1511 PnoSettings pnoSettings = in processMessage() local
1515 if (addHwPnoScanRequest(ci, msg.arg2, scanSettings, pnoSettings)) { in processMessage()
1610 PnoSettings pnoSettings = in processMessage() local
1614 if (addSwPnoScanRequest(ci, msg.arg2, scanSettings, pnoSettings)) { in processMessage()
1648 PnoSettings pnoSettings) { in convertSettingsToPnoNative() argument
1651 nativePnoSetting.min5GHzRssi = pnoSettings.min5GHzRssi; in convertSettingsToPnoNative()
1652 nativePnoSetting.min24GHzRssi = pnoSettings.min24GHzRssi; in convertSettingsToPnoNative()
1653 nativePnoSetting.initialScoreMax = pnoSettings.initialScoreMax; in convertSettingsToPnoNative()
[all …]
DWificondScannerImpl.java711 private boolean startHwPnoScan(WifiNative.PnoSettings pnoSettings) { in startHwPnoScan() argument
712 return mHwPnoDebouncer.startPnoScan(pnoSettings, mHwPnoDebouncerListener); in startHwPnoScan()
723 private boolean restartHwPnoScan(WifiNative.PnoSettings pnoSettings) { in restartHwPnoScan() argument
725 return mHwPnoDebouncer.startPnoScan(pnoSettings, mHwPnoDebouncerListener); in restartHwPnoScan()
1042 public boolean startPnoScan(WifiNative.PnoSettings pnoSettings, Listener listener) { in startPnoScan() argument
1045 mPnoSettings = pnoSettings; in startPnoScan()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java906 PnoSettings pnoSettings = new PnoSettings(); in startDisconnectedPnoScan() local
916 pnoSettings.networkList = new PnoSettings.PnoNetwork[listSize]; in startDisconnectedPnoScan()
917 pnoSettings.networkList = pnoNetworkList.toArray(pnoSettings.networkList); in startDisconnectedPnoScan()
918 pnoSettings.min5GHzRssi = mMin5GHzRssi; in startDisconnectedPnoScan()
919 pnoSettings.min24GHzRssi = mMin24GHzRssi; in startDisconnectedPnoScan()
920 pnoSettings.initialScoreMax = mInitialScoreMax; in startDisconnectedPnoScan()
921 pnoSettings.currentConnectionBonus = mCurrentConnectionBonus; in startDisconnectedPnoScan()
922 pnoSettings.sameNetworkBonus = mSameNetworkBonus; in startDisconnectedPnoScan()
923 pnoSettings.secureBonus = mSecureBonus; in startDisconnectedPnoScan()
924 pnoSettings.band5GHzBonus = mBand5GHzBonus; in startDisconnectedPnoScan()
[all …]
DWificondControl.java457 public boolean startPnoScan(WifiNative.PnoSettings pnoSettings) { in startPnoScan() argument
464 settings.intervalMs = pnoSettings.periodInMs; in startPnoScan()
465 settings.min2gRssi = pnoSettings.min24GHzRssi; in startPnoScan()
466 settings.min5gRssi = pnoSettings.min5GHzRssi; in startPnoScan()
467 if (pnoSettings.networkList != null) { in startPnoScan()
468 for (WifiNative.PnoNetwork network : pnoSettings.networkList) { in startPnoScan()
DWifiNative.java247 public boolean startPnoScan(PnoSettings pnoSettings) { in startPnoScan() argument
248 return mWificondControl.startPnoScan(pnoSettings); in startPnoScan()
/frameworks/base/wifi/java/android/net/wifi/
DWifiScanner.java850 private void startPnoScan(ScanSettings scanSettings, PnoSettings pnoSettings, int key) { in startPnoScan() argument
856 pnoParams.putParcelable(PNO_PARAMS_PNO_SETTINGS_KEY, pnoSettings); in startPnoScan()
870 public void startConnectedPnoScan(ScanSettings scanSettings, PnoSettings pnoSettings, in startConnectedPnoScan() argument
873 Preconditions.checkNotNull(pnoSettings, "pnoSettings cannot be null"); in startConnectedPnoScan()
877 pnoSettings.isConnected = true; in startConnectedPnoScan()
878 startPnoScan(scanSettings, pnoSettings, key); in startConnectedPnoScan()
891 public void startDisconnectedPnoScan(ScanSettings scanSettings, PnoSettings pnoSettings, in startDisconnectedPnoScan() argument
894 Preconditions.checkNotNull(pnoSettings, "pnoSettings cannot be null"); in startDisconnectedPnoScan()
898 pnoSettings.isConnected = false; in startDisconnectedPnoScan()
899 startPnoScan(scanSettings, pnoSettings, key); in startDisconnectedPnoScan()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConnectivityManagerTest.java220 public void answer(ScanSettings settings, PnoSettings pnoSettings, in mockWifiScanner()
226 public void answer(ScanSettings settings, PnoSettings pnoSettings, in mockWifiScanner()