/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | WificondPnoScannerTest.java | 100 WifiNative.PnoSettings pnoSettings = createDummyPnoSettings(false); in startHwDisconnectedPnoScan() local 105 startSuccessfulPnoScan(null, pnoSettings, null, pnoEventHandler); in startHwDisconnectedPnoScan() 106 expectSuccessfulHwDisconnectedPnoScan(order, pnoSettings, pnoEventHandler, scanResults); in startHwDisconnectedPnoScan() 119 WifiNative.PnoSettings pnoSettings = createDummyPnoSettings(false); in startHwDisconnectedPnoScanFailure() local 126 assertTrue(mScanner.setHwPnoList(pnoSettings, pnoEventHandler)); in startHwDisconnectedPnoScanFailure() 143 WifiNative.PnoSettings pnoSettings = createDummyPnoSettings(false); in ignoreHwDisconnectedPnoScanStopFailure() local 146 startSuccessfulPnoScan(null, pnoSettings, null, pnoEventHandler); in ignoreHwDisconnectedPnoScanStopFailure() 155 startSuccessfulPnoScan(null, pnoSettings, null, pnoEventHandler); in ignoreHwDisconnectedPnoScanStopFailure() 159 expectSuccessfulHwDisconnectedPnoScan(order, pnoSettings, pnoEventHandler, scanResults); in ignoreHwDisconnectedPnoScanStopFailure() 177 WifiNative.PnoSettings pnoSettings = new WifiNative.PnoSettings(); in createDummyPnoSettings() local [all …]
|
D | WifiScanningServiceTest.java | 359 WifiScanner.PnoSettings pnoSettings) { in sendPnoScanRequest() argument 363 pnoParams.putParcelable(WifiScanner.PNO_PARAMS_PNO_SETTINGS_KEY, pnoSettings); in sendPnoScanRequest() 364 mWifiScanningServiceImpl.startPnoScan(listener, scanSettings, pnoSettings, in sendPnoScanRequest() 2552 Pair<WifiScanner.PnoSettings, WifiNative.PnoSettings> pnoSettings = in testSuccessfulSwPnoScan() local 2558 client.sendPnoScanRequest(scanSettings.first, pnoSettings.first); in testSuccessfulSwPnoScan() 2564 client.sendPnoScanRequest(scanSettings.first, pnoSettings.first); in testSuccessfulSwPnoScan() 2626 Pair<WifiScanner.PnoSettings, WifiNative.PnoSettings> pnoSettings = in testSwPnoScanIterations() local 2632 client.sendPnoScanRequest(scanSettings.first, pnoSettings.first); in testSwPnoScanIterations() 2679 Pair<WifiScanner.PnoSettings, WifiNative.PnoSettings> pnoSettings = in testFailedSwPnoScanInvalidConfigs() local 2685 client.sendPnoScanRequest(scanSettings.first, pnoSettings.first); in testFailedSwPnoScanInvalidConfigs() [all …]
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiScannerTest.java | 177 PnoSettings pnoSettings = new PnoSettings(); in canSerializeAndDeserializePnoSettings() local 184 pnoSettings.networkList = new PnoNetwork[]{pnoNetwork1, pnoNetwork2}; in canSerializeAndDeserializePnoSettings() 185 pnoSettings.isConnected = TEST_PNOSETTINGS_IS_CONNECTED; in canSerializeAndDeserializePnoSettings() 186 pnoSettings.min5GHzRssi = TEST_PNOSETTINGS_MIN_5GHZ_RSSI; in canSerializeAndDeserializePnoSettings() 187 pnoSettings.min24GHzRssi = TEST_PNOSETTINGS_MIN_2GHZ_RSSI; in canSerializeAndDeserializePnoSettings() 188 pnoSettings.min6GHzRssi = TEST_PNOSETTINGS_MIN_6GHZ_RSSI; in canSerializeAndDeserializePnoSettings() 191 pnoSettings.writeToParcel(parcel, 0); in canSerializeAndDeserializePnoSettings() 195 pnoSettings.CREATOR.createFromParcel(parcel); in canSerializeAndDeserializePnoSettings() 204 assertEquals(pnoSettings.networkList.length, pnoSettingsDeserialized.networkList.length); in canSerializeAndDeserializePnoSettings() 205 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 | 360 public WifiScanner.PnoSettings pnoSettings; field in WifiScanningServiceImpl.ScanParams 371 WifiScanner.PnoSettings pnoSettings, WorkSource workSource, String packageName, in ScanParams() argument 375 this.pnoSettings = pnoSettings; in ScanParams() 485 WifiScanner.PnoSettings pnoSettings, String packageName, String featureId) { in startPnoScan() argument 507 msg.obj = new ScanParams(listener, scanSettings, pnoSettings, null, packageName, null); in startPnoScan() 2284 public boolean setHwPnoList(WifiNative.PnoSettings pnoSettings) { in setHwPnoList() argument 2291 pnoSettings, new PnoEventHandler(ifaceName)); in setHwPnoList() 2450 if (scanParams.pnoSettings == null || scanParams.settings == null) { in processMessage() 2456 scanParams.pnoSettings.isConnected)) { in processMessage() 2510 if (scanParams.pnoSettings == null || scanParams.settings == null) { in processMessage() [all …]
|
D | WifiScannerInternal.java | 162 WifiScanner.PnoSettings pnoSettings, in startPnoScan() argument
|
D | WificondScannerImpl.java | 449 private boolean startHwPnoScan(WifiNative.PnoSettings pnoSettings) { in startHwPnoScan() argument 450 return mWifiNative.startPnoScan(getIfaceName(), pnoSettings); in startHwPnoScan()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiScanner.java | 1625 ScanSettings scanSettings, PnoSettings pnoSettings) { in startPnoScan() argument 1634 mService.startPnoScan(serviceListener, scanSettings, pnoSettings, in startPnoScan() 1654 public void startConnectedPnoScan(ScanSettings scanSettings, PnoSettings pnoSettings, in startConnectedPnoScan() argument 1657 Objects.requireNonNull(pnoSettings, "pnoSettings cannot be null"); in startConnectedPnoScan() 1658 pnoSettings.isConnected = true; in startConnectedPnoScan() 1659 startPnoScan(listener, executor, scanSettings, pnoSettings); in startConnectedPnoScan() 1673 public void startDisconnectedPnoScan(ScanSettings scanSettings, PnoSettings pnoSettings, in startDisconnectedPnoScan() argument 1676 Objects.requireNonNull(pnoSettings, "pnoSettings cannot be null"); in startDisconnectedPnoScan() 1677 pnoSettings.isConnected = false; in startDisconnectedPnoScan() 1678 startPnoScan(listener, executor, scanSettings, pnoSettings); in startDisconnectedPnoScan()
|
D | IWifiScanner.aidl | 64 in WifiScanner.PnoSettings pnoSettings, in startPnoScan() argument
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiConnectivityManager.java | 2497 PnoSettings pnoSettings = new PnoSettings(); in startDisconnectedPnoScan() local 2507 pnoSettings.networkList = new PnoSettings.PnoNetwork[listSize]; in startDisconnectedPnoScan() 2508 pnoSettings.networkList = pnoNetworkList.toArray(pnoSettings.networkList); in startDisconnectedPnoScan() 2509 pnoSettings.min6GHzRssi = mScoringParams.getEntryRssi(ScanResult.BAND_6_GHZ_START_FREQ_MHZ); in startDisconnectedPnoScan() 2510 pnoSettings.min5GHzRssi = mScoringParams.getEntryRssi(ScanResult.BAND_5_GHZ_START_FREQ_MHZ); in startDisconnectedPnoScan() 2511 pnoSettings.min24GHzRssi = mScoringParams.getEntryRssi( in startDisconnectedPnoScan() 2513 pnoSettings.scanIterations = mContext.getResources() in startDisconnectedPnoScan() 2515 pnoSettings.scanIntervalMultiplier = mContext.getResources() in startDisconnectedPnoScan() 2525 pnoSettings.isConnected = false; in startDisconnectedPnoScan() 2526 mScanner.startPnoScan(scanSettings, pnoSettings, mInternalPnoScanListener); in startDisconnectedPnoScan()
|
D | WifiNative.java | 2165 public boolean startPnoScan(@NonNull String ifaceName, PnoSettings pnoSettings) { in startPnoScan() argument 2171 .startPnoScan(ifaceName, pnoSettings.toNativePnoSettings(), in startPnoScan() 2183 return mWifiCondManager.startPnoScan(ifaceName, pnoSettings.toNativePnoSettings(), in startPnoScan()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConnectivityManagerTest.java | 525 public void answer(ScanSettings settings, PnoSettings pnoSettings, in mockWifiScanner()
|