/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | SupplicantPnoScannerTest.java | 92 WifiNative.PnoSettings pnoSettings = createDummyPnoSettings(false); in startHwDisconnectedPnoScan() local 97 startSuccessfulPnoScan(null, pnoSettings, null, pnoEventHandler); in startHwDisconnectedPnoScan() 98 expectSuccessfulHwDisconnectedPnoScan(order, pnoSettings, pnoEventHandler, scanResults); in startHwDisconnectedPnoScan() 111 WifiNative.PnoSettings pnoSettings = createDummyPnoSettings(false); in pauseResumeHwDisconnectedPnoScanForSingleScan() local 118 startSuccessfulPnoScan(null, pnoSettings, null, pnoEventHandler); in pauseResumeHwDisconnectedPnoScanForSingleScan() 135 expectSuccessfulHwDisconnectedPnoScan(order, pnoSettings, pnoEventHandler, scanResults); in pauseResumeHwDisconnectedPnoScanForSingleScan() 181 WifiNative.PnoSettings pnoSettings = createDummyPnoSettings(false); in delayedHwDisconnectedPnoScanFailure() local 188 startSuccessfulPnoScan(null, pnoSettings, null, pnoEventHandler); in delayedHwDisconnectedPnoScanFailure() 208 startSuccessfulPnoScan(null, pnoSettings, null, pnoEventHandler); in delayedHwDisconnectedPnoScanFailure() 213 expectSuccessfulHwDisconnectedPnoScan(order, pnoSettings, pnoEventHandler, scanResults); in delayedHwDisconnectedPnoScanFailure() [all …]
|
D | WifiScanningServiceTest.java | 963 WifiScanner.PnoSettings pnoSettings) { in sendPnoScanRequest() argument 967 pnoParams.putParcelable(WifiScanner.PNO_PARAMS_PNO_SETTINGS_KEY, pnoSettings); in sendPnoScanRequest() 1073 Pair<WifiScanner.PnoSettings, WifiNative.PnoSettings> pnoSettings = in testSuccessfulHwPnoScanWithNoBackgroundScan() local 1076 sendPnoScanRequest(controlChannel, requestId, scanSettings.first, pnoSettings.first); in testSuccessfulHwPnoScanWithNoBackgroundScan() 1077 expectHwPnoScanWithNoBackgroundScan(order, handler, requestId, pnoSettings.second, in testSuccessfulHwPnoScanWithNoBackgroundScan() 1097 Pair<WifiScanner.PnoSettings, WifiNative.PnoSettings> pnoSettings = in testSuccessfulHwPnoScanWithBackgroundScan() local 1100 sendPnoScanRequest(controlChannel, requestId, scanSettings.first, pnoSettings.first); in testSuccessfulHwPnoScanWithBackgroundScan() 1102 pnoSettings.second, scanResults); in testSuccessfulHwPnoScanWithBackgroundScan() 1121 Pair<WifiScanner.PnoSettings, WifiNative.PnoSettings> pnoSettings = in testSuccessfulHwPnoScanWithBackgroundScanWithNoIE() local 1124 sendPnoScanRequest(controlChannel, requestId, scanSettings.first, pnoSettings.first); in testSuccessfulHwPnoScanWithBackgroundScanWithNoIE() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConnectivityManager.java | 788 PnoSettings pnoSettings = new PnoSettings(); in startDisconnectedPnoScan() local 799 pnoSettings.networkList = new PnoSettings.PnoNetwork[listSize]; in startDisconnectedPnoScan() 800 pnoSettings.networkList = pnoNetworkList.toArray(pnoSettings.networkList); in startDisconnectedPnoScan() 801 pnoSettings.min5GHzRssi = mMin5GHzRssi; in startDisconnectedPnoScan() 802 pnoSettings.min24GHzRssi = mMin24GHzRssi; in startDisconnectedPnoScan() 803 pnoSettings.initialScoreMax = mInitialScoreMax; in startDisconnectedPnoScan() 804 pnoSettings.currentConnectionBonus = mCurrentConnectionBonus; in startDisconnectedPnoScan() 805 pnoSettings.sameNetworkBonus = mSameNetworkBonus; in startDisconnectedPnoScan() 806 pnoSettings.secureBonus = mSecureBonus; in startDisconnectedPnoScan() 807 pnoSettings.band5GHzBonus = mBand5GHzBonus; in startDisconnectedPnoScan() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | WifiScanningServiceImpl.java | 1439 PnoSettings pnoSettings = in processMessage() local 1443 if (mScannerImpl.isHwPnoSupported(pnoSettings.isConnected)) { in processMessage() 1483 PnoSettings pnoSettings = in processMessage() local 1487 if (addHwPnoScanRequest(ci, msg.arg2, scanSettings, pnoSettings)) { in processMessage() 1582 PnoSettings pnoSettings = in processMessage() local 1586 if (addSwPnoScanRequest(ci, msg.arg2, scanSettings, pnoSettings)) { in processMessage() 1619 private WifiNative.PnoSettings convertPnoSettingsToNative(PnoSettings pnoSettings) { in convertPnoSettingsToNative() argument 1621 nativePnoSetting.min5GHzRssi = pnoSettings.min5GHzRssi; in convertPnoSettingsToNative() 1622 nativePnoSetting.min24GHzRssi = pnoSettings.min24GHzRssi; in convertPnoSettingsToNative() 1623 nativePnoSetting.initialScoreMax = pnoSettings.initialScoreMax; in convertPnoSettingsToNative() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiScanner.java | 757 private void startPnoScan(ScanSettings scanSettings, PnoSettings pnoSettings, int key) { in startPnoScan() argument 763 pnoParams.putParcelable(PNO_PARAMS_PNO_SETTINGS_KEY, pnoSettings); in startPnoScan() 777 public void startConnectedPnoScan(ScanSettings scanSettings, PnoSettings pnoSettings, in startConnectedPnoScan() argument 780 Preconditions.checkNotNull(pnoSettings, "pnoSettings cannot be null"); in startConnectedPnoScan() 784 pnoSettings.isConnected = true; in startConnectedPnoScan() 785 startPnoScan(scanSettings, pnoSettings, key); in startConnectedPnoScan() 798 public void startDisconnectedPnoScan(ScanSettings scanSettings, PnoSettings pnoSettings, in startDisconnectedPnoScan() argument 801 Preconditions.checkNotNull(pnoSettings, "pnoSettings cannot be null"); in startDisconnectedPnoScan() 805 pnoSettings.isConnected = false; in startDisconnectedPnoScan() 806 startPnoScan(scanSettings, pnoSettings, key); in startDisconnectedPnoScan()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConnectivityManagerTest.java | 162 public void answer(ScanSettings settings, PnoSettings pnoSettings, in mockWifiScanner() 168 public void answer(ScanSettings settings, PnoSettings pnoSettings, in mockWifiScanner()
|