Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DBaseWifiScannerImplTest.java156 int[] hiddenNetworkIds = {0, 5}; in singleScanSuccessWithHiddenNetworkIds() local
160 .withHiddenNetworkIds(hiddenNetworkIds) in singleScanSuccessWithHiddenNetworkIds()
165 for (int i = 0; i < hiddenNetworkIds.length; i++) { in singleScanSuccessWithHiddenNetworkIds()
166 hiddenNetworkIdSet.add(hiddenNetworkIds[i]); in singleScanSuccessWithHiddenNetworkIds()
179 int[] hiddenNetworkIds = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17}; in singleScanSuccessWithTruncatedHiddenNetworkIds() local
183 .withHiddenNetworkIds(hiddenNetworkIds) in singleScanSuccessWithTruncatedHiddenNetworkIds()
189 hiddenNetworkIdSet.add(hiddenNetworkIds[i]); in singleScanSuccessWithTruncatedHiddenNetworkIds()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DSupplicantWifiScannerImpl.java388 int[] hiddenNetworkIds = mBackgroundScanSettings.hiddenNetworkIds; in processPendingScans() local
389 if (hiddenNetworkIds != null) { in processPendingScans()
390 int numHiddenNetworkIds = Math.min(hiddenNetworkIds.length, in processPendingScans()
393 hiddenNetworkIdSet.add(hiddenNetworkIds[i]); in processPendingScans()
420 int[] hiddenNetworkIds = mPendingSingleScanSettings.hiddenNetworkIds; in processPendingScans() local
421 if (hiddenNetworkIds != null) { in processPendingScans()
422 int numHiddenNetworkIds = Math.min(hiddenNetworkIds.length, in processPendingScans()
425 hiddenNetworkIdSet.add(hiddenNetworkIds[i]); in processPendingScans()
DBackgroundScanScheduler.java462 if (settings.hiddenNetworkIds != null) { in createSchedule()
463 for (int j = 0; j < settings.hiddenNetworkIds.length; j++) { in createSchedule()
464 hiddenNetworkIdSet.add(settings.hiddenNetworkIds[j]); in createSchedule()
477 schedule.hiddenNetworkIds = new int[hiddenNetworkIdSet.size()]; in createSchedule()
480 schedule.hiddenNetworkIds[numHiddenNetworks++] = hiddenNetworkId; in createSchedule()
572 settings.hiddenNetworkIds = originalSettings.hiddenNetworkIds; in cloneScanSettings()
DWifiScanningServiceImpl.java692 if (entry.settings.hiddenNetworkIds != null) { in tryToStartNewScan()
693 for (int i = 0; i < entry.settings.hiddenNetworkIds.length; i++) { in tryToStartNewScan()
694 hiddenNetworkIdSet.add(entry.settings.hiddenNetworkIds[i]); in tryToStartNewScan()
703 settings.hiddenNetworkIds = new int[hiddenNetworkIdSet.size()]; in tryToStartNewScan()
706 settings.hiddenNetworkIds[numHiddenNetworks++] = hiddenNetworkId; in tryToStartNewScan()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java743 Set<Integer> hiddenNetworkIds = mConfigManager.getHiddenConfiguredNetworkIds(); in startSingleScan() local
744 if (hiddenNetworkIds != null && hiddenNetworkIds.size() > 0) { in startSingleScan()
746 settings.hiddenNetworkIds = new int[hiddenNetworkIds.size()]; in startSingleScan()
747 for (Integer netId : hiddenNetworkIds) { in startSingleScan()
748 settings.hiddenNetworkIds[i++] = netId; in startSingleScan()
DWifiNative.java363 public boolean scan(Set<Integer> freqs, Set<Integer> hiddenNetworkIds) { in scan() argument
369 if (hiddenNetworkIds != null && hiddenNetworkIds.size() != 0) { in scan()
370 hiddenNetworkIdList = createCSVStringFromIntegerSet(hiddenNetworkIds); in scan()
1692 public int[] hiddenNetworkIds; field in WifiNative.ScanSettings
DWifiStateMachine.java1616 Set<Integer> hiddenNetworkIds = mWifiConfigManager.getHiddenConfiguredNetworkIds(); in handleScanRequest() local
1619 if (startScanNative(freqs, hiddenNetworkIds, workSource)) { in handleScanRequest()
1673 private boolean startScanNative(final Set<Integer> freqs, Set<Integer> hiddenNetworkIds, in startScanNative() argument
1688 if (hiddenNetworkIds != null && hiddenNetworkIds.size() > 0) { in startScanNative()
1690 settings.hiddenNetworkIds = new int[hiddenNetworkIds.size()]; in startScanNative()
1691 for (Integer netId : hiddenNetworkIds) { in startScanNative()
1692 settings.hiddenNetworkIds[i++] = netId; in startScanNative()
6408 Set<Integer> hiddenNetworkIds = new HashSet<>(); in startScanForConfiguration() local
6410 hiddenNetworkIds.add(config.networkId); in startScanForConfiguration()
6413 if (startScanNative(freqs, hiddenNetworkIds, WIFI_WORK_SOURCE)) { in startScanForConfiguration()
/frameworks/base/wifi/java/android/net/wifi/
DWifiScanner.java181 public int[] hiddenNetworkIds; field in WifiScanner.ScanSettings
236 dest.writeIntArray(hiddenNetworkIds); in writeToParcel()
261 settings.hiddenNetworkIds = in.createIntArray();
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiStateMachineTest.java790 if (actualSettings.hiddenNetworkIds != null) { in verifyScan()
791 for (int i = 0; i < actualSettings.hiddenNetworkIds.length; ++i) { in verifyScan()
792 actualConfiguredNetworkIds.add(actualSettings.hiddenNetworkIds[i]); in verifyScan()
DScanTestUtil.java119 mSettings.hiddenNetworkIds = networkIds; in withHiddenNetworkIds()