/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | WificondPnoScannerTest.java | 99 WifiNative.PnoSettings pnoSettings = createDummyPnoSettings(false); in startHwDisconnectedPnoScan() local 104 startSuccessfulPnoScan(null, pnoSettings, null, pnoEventHandler); in startHwDisconnectedPnoScan() 105 expectSuccessfulHwDisconnectedPnoScan(order, pnoSettings, pnoEventHandler, scanResults); in startHwDisconnectedPnoScan() 118 WifiNative.PnoSettings pnoSettings = createDummyPnoSettings(false); in startHwDisconnectedPnoScanFailure() local 125 assertTrue(mScanner.setHwPnoList(pnoSettings, pnoEventHandler)); in startHwDisconnectedPnoScanFailure() 142 WifiNative.PnoSettings pnoSettings = createDummyPnoSettings(false); in ignoreHwDisconnectedPnoScanStopFailure() local 145 startSuccessfulPnoScan(null, pnoSettings, null, pnoEventHandler); in ignoreHwDisconnectedPnoScanStopFailure() 154 startSuccessfulPnoScan(null, pnoSettings, null, pnoEventHandler); in ignoreHwDisconnectedPnoScanStopFailure() 158 expectSuccessfulHwDisconnectedPnoScan(order, pnoSettings, pnoEventHandler, scanResults); in ignoreHwDisconnectedPnoScanStopFailure() 175 WifiNative.PnoSettings pnoSettings = new WifiNative.PnoSettings(); in createDummyPnoSettings() local [all …]
|
D | WifiScanningServiceTest.java | 2481 WifiScanner.PnoSettings pnoSettings) { in sendPnoScanRequest() argument 2485 pnoParams.putParcelable(WifiScanner.PNO_PARAMS_PNO_SETTINGS_KEY, pnoSettings); in sendPnoScanRequest() 2575 Pair<WifiScanner.PnoSettings, WifiNative.PnoSettings> pnoSettings = in testSuccessfulHwPnoScanWithNoBackgroundScan() local 2578 sendPnoScanRequest(controlChannel, requestId, scanSettings.first, pnoSettings.first); in testSuccessfulHwPnoScanWithNoBackgroundScan() 2579 expectHwPnoScan(order, handler, requestId, pnoSettings.second, scanResults); in testSuccessfulHwPnoScanWithNoBackgroundScan() 2598 Pair<WifiScanner.PnoSettings, WifiNative.PnoSettings> pnoSettings = in rejectHwPnoScanRequestWhenScannerImplCreateFails() local 2601 sendPnoScanRequest(controlChannel, 122, scanSettings.first, pnoSettings.first); in rejectHwPnoScanRequestWhenScannerImplCreateFails() 2800 Pair<WifiScanner.PnoSettings, WifiNative.PnoSettings> pnoSettings = in hwPnoScanScanAfterDuplicateScanEnable() local 2803 sendPnoScanRequest(controlChannel, requestId, scanSettings.first, pnoSettings.first); in hwPnoScanScanAfterDuplicateScanEnable() 2804 expectHwPnoScan(order, handler, requestId, pnoSettings.second, scanResults); in hwPnoScanScanAfterDuplicateScanEnable() [all …]
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiScannerTest.java | 174 PnoSettings pnoSettings = new PnoSettings(); in canSerializeAndDeserializePnoSettings() local 181 pnoSettings.networkList = new PnoNetwork[]{pnoNetwork1, pnoNetwork2}; in canSerializeAndDeserializePnoSettings() 182 pnoSettings.isConnected = TEST_PNOSETTINGS_IS_CONNECTED; in canSerializeAndDeserializePnoSettings() 183 pnoSettings.min5GHzRssi = TEST_PNOSETTINGS_MIN_5GHZ_RSSI; in canSerializeAndDeserializePnoSettings() 184 pnoSettings.min24GHzRssi = TEST_PNOSETTINGS_MIN_2GHZ_RSSI; in canSerializeAndDeserializePnoSettings() 185 pnoSettings.min6GHzRssi = TEST_PNOSETTINGS_MIN_6GHZ_RSSI; in canSerializeAndDeserializePnoSettings() 188 pnoSettings.writeToParcel(parcel, 0); in canSerializeAndDeserializePnoSettings() 192 pnoSettings.CREATOR.createFromParcel(parcel); in canSerializeAndDeserializePnoSettings() 201 assertEquals(pnoSettings.networkList.length, pnoSettingsDeserialized.networkList.length); in canSerializeAndDeserializePnoSettings() 202 for (int i = 0; i < pnoSettings.networkList.length; i++) { in canSerializeAndDeserializePnoSettings() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/ |
D | WifiScanningServiceImpl.java | 1963 public boolean setHwPnoList(WifiNative.PnoSettings pnoSettings) { in setHwPnoList() argument 1970 pnoSettings, new PnoEventHandler(ifaceName)); in setHwPnoList() 2108 PnoSettings pnoSettings = null; in processMessage() local 2110 pnoSettings = in processMessage() 2119 if (mScannerImplsTracker.isHwPnoSupported(pnoSettings.isConnected)) { in processMessage() 2159 PnoSettings pnoSettings = null; in processMessage() local 2162 pnoSettings = in processMessage() 2175 if (addHwPnoScanRequest(ci, msg.arg2, scanSettings, pnoSettings)) { in processMessage() 2255 PnoSettings pnoSettings) { in convertSettingsToPnoNative() argument 2258 nativePnoSetting.min5GHzRssi = pnoSettings.min5GHzRssi; in convertSettingsToPnoNative() [all …]
|
D | WificondScannerImpl.java | 410 private boolean startHwPnoScan(WifiNative.PnoSettings pnoSettings) { in startHwPnoScan() argument 411 return mWifiNative.startPnoScan(getIfaceName(), pnoSettings); in startHwPnoScan()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiScanner.java | 1292 private void startPnoScan(ScanSettings scanSettings, PnoSettings pnoSettings, int key) { in startPnoScan() argument 1298 pnoParams.putParcelable(PNO_PARAMS_PNO_SETTINGS_KEY, pnoSettings); in startPnoScan() 1313 public void startConnectedPnoScan(ScanSettings scanSettings, PnoSettings pnoSettings, in startConnectedPnoScan() argument 1316 Objects.requireNonNull(pnoSettings, "pnoSettings cannot be null"); in startConnectedPnoScan() 1320 pnoSettings.isConnected = true; in startConnectedPnoScan() 1321 startPnoScan(scanSettings, pnoSettings, key); in startConnectedPnoScan() 1335 public void startDisconnectedPnoScan(ScanSettings scanSettings, PnoSettings pnoSettings, in startDisconnectedPnoScan() argument 1338 Objects.requireNonNull(pnoSettings, "pnoSettings cannot be null"); in startDisconnectedPnoScan() 1342 pnoSettings.isConnected = false; in startDisconnectedPnoScan() 1343 startPnoScan(scanSettings, pnoSettings, key); in startDisconnectedPnoScan()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiConnectivityManager.java | 1915 PnoSettings pnoSettings = new PnoSettings(); in startDisconnectedPnoScan() local 1925 pnoSettings.networkList = new PnoSettings.PnoNetwork[listSize]; in startDisconnectedPnoScan() 1926 pnoSettings.networkList = pnoNetworkList.toArray(pnoSettings.networkList); in startDisconnectedPnoScan() 1927 pnoSettings.min6GHzRssi = mScoringParams.getEntryRssi(ScanResult.BAND_6_GHZ_START_FREQ_MHZ); in startDisconnectedPnoScan() 1928 pnoSettings.min5GHzRssi = mScoringParams.getEntryRssi(ScanResult.BAND_5_GHZ_START_FREQ_MHZ); in startDisconnectedPnoScan() 1929 pnoSettings.min24GHzRssi = mScoringParams.getEntryRssi( in startDisconnectedPnoScan() 1940 scanSettings, pnoSettings, new HandlerExecutor(mEventHandler), mPnoScanListener); in startDisconnectedPnoScan()
|
D | WifiNative.java | 1763 public boolean startPnoScan(@NonNull String ifaceName, PnoSettings pnoSettings) { in startPnoScan() argument 1764 return mWifiCondManager.startPnoScan(ifaceName, pnoSettings.toNativePnoSettings(), in startPnoScan()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConnectivityManagerTest.java | 382 public void answer(ScanSettings settings, PnoSettings pnoSettings, in mockWifiScanner()
|