Home
last modified time | relevance | path

Searched refs:hiddenNetworks (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/nl80211/
DSingleScanSettings.java36 public ArrayList<HiddenNetwork> hiddenNetworks; field in SingleScanSettings
54 && hiddenNetworks.equals(settings.hiddenNetworks); in equals()
60 return Objects.hash(scanType, channelSettings, hiddenNetworks); in hashCode()
87 out.writeTypedList(hiddenNetworks); in writeToParcel()
105 result.hiddenNetworks = new ArrayList<HiddenNetwork>();
106 in.readTypedList(result.hiddenNetworks, HiddenNetwork.CREATOR);
DWifiNl80211Manager.java909 settings.hiddenNetworks = new ArrayList<>(); in startScan()
925 if (!settings.hiddenNetworks.contains(network)) { in startScan()
926 settings.hiddenNetworks.add(network); in startScan()
/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/
DSingleScanSettingsTest.java75 scanSettings.hiddenNetworks = in canSerializeAndDeserialize()
98 scanSettings1.hiddenNetworks = in testAsHashMapKey()
105 scanSettings2.hiddenNetworks = in testAsHashMapKey()
DWifiNl80211ManagerTest.java1084 ArrayList<HiddenNetwork> hiddenNetworks = settings.hiddenNetworks; in matches() local
1101 for (HiddenNetwork network : hiddenNetworks) { in matches()
1109 if (hiddenNetworks != null && hiddenNetworks.size() > 0) { in matches()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanRequestProxy.java449 settings.hiddenNetworks.clear(); in startScan()
451 settings.hiddenNetworks.addAll(mWifiConfigManager.retrieveHiddenNetworkList()); in startScan()
453 settings.hiddenNetworks.addAll( in startScan()
DWifiNetworkFactory.java1079 mScanSettings.hiddenNetworks.clear(); in startPeriodicScans()
1080 mScanSettings.hiddenNetworks.add(new WifiScanner.ScanSettings.HiddenNetwork( in startPeriodicScans()
1093 mScanSettings.hiddenNetworks.clear(); in cancelPeriodicScans()
DWifiNetworkSuggestionsManager.java1665 List<WifiScanner.ScanSettings.HiddenNetwork> hiddenNetworks = new ArrayList<>(); in retrieveHiddenNetworkList() local
1670 hiddenNetworks.add( in retrieveHiddenNetworkList()
1673 if (hiddenNetworks.size() >= NUMBER_OF_HIDDEN_NETWORK_FOR_ONE_SCAN) { in retrieveHiddenNetworkList()
1674 return hiddenNetworks; in retrieveHiddenNetworkList()
1678 return hiddenNetworks; in retrieveHiddenNetworkList()
DWifiConnectivityManager.java1273 settings.hiddenNetworks.clear(); in startForcedSingleScan()
1275 settings.hiddenNetworks.addAll(mConfigManager.retrieveHiddenNetworkList()); in startForcedSingleScan()
1277 settings.hiddenNetworks.addAll(mWifiNetworkSuggestionsManager.retrieveHiddenNetworkList()); in startForcedSingleScan()
DWifiMetrics.java2321 int hiddenNetworks = 0; in countScanResults() local
2343 hiddenNetworks++; in countScanResults()
2405 mWifiLogProto.numHiddenNetworkScanResults += hiddenNetworks; in countScanResults()
DWifiNative.java2689 public HiddenNetwork[] hiddenNetworks;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWificondScannerImpl.java172 if (settings.hiddenNetworks != null) { in startSingleScan()
174 Math.min(settings.hiddenNetworks.length, MAX_HIDDEN_NETWORK_IDS_PER_SCAN); in startSingleScan()
176 hiddenNetworkSSIDSet.add(settings.hiddenNetworks[i].ssid); in startSingleScan()
DWifiScanningServiceImpl.java1062 if (!ArrayUtils.isEmpty(settings.hiddenNetworks)) { in validateScanRequest()
1136 if (!ArrayUtils.isEmpty(settings.hiddenNetworks)) { in activeScanSatisfies()
1137 if (ArrayUtils.isEmpty(mActiveScanSettings.hiddenNetworks)) { in activeScanSatisfies()
1141 for (WifiNative.HiddenNetwork hiddenNetwork : mActiveScanSettings.hiddenNetworks) { in activeScanSatisfies()
1144 for (ScanSettings.HiddenNetwork hiddenNetwork : settings.hiddenNetworks) { in activeScanSatisfies()
1190 for (ScanSettings.HiddenNetwork srcNetwork : entry.settings.hiddenNetworks) { in tryToStartNewScan()
1201 settings.hiddenNetworks = new WifiNative.HiddenNetwork[hiddenNetworkList.size()]; in tryToStartNewScan()
1204 settings.hiddenNetworks[numHiddenNetworks++] = hiddenNetwork; in tryToStartNewScan()
/frameworks/base/wifi/java/android/net/wifi/
DWifiScanner.java310 public final List<HiddenNetwork> hiddenNetworks = new ArrayList<>(); field in WifiScanner.ScanSettings
435 dest.writeInt(hiddenNetworks.size()); in writeToParcel()
436 for (HiddenNetwork hiddenNetwork : hiddenNetworks) { in writeToParcel()
467 settings.hiddenNetworks.clear();
470 settings.hiddenNetworks.add(new HiddenNetwork(ssid));
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanTestUtil.java134 mSettings.hiddenNetworks = new WifiNative.HiddenNetwork[networkSSIDs.length]; in withHiddenNetworkSSIDs()
136 mSettings.hiddenNetworks[i] = new WifiNative.HiddenNetwork(); in withHiddenNetworkSSIDs()
137 mSettings.hiddenNetworks[i].ssid = networkSSIDs[i]; in withHiddenNetworkSSIDs()
DScanRequestProxyTest.java882 assertEquals(hiddenNetworkList.size(), scanSettings.hiddenNetworks.size()); in validateScanSettings()
883 for (HiddenNetwork hiddenNetwork : scanSettings.hiddenNetworks) { in validateScanSettings()
887 assertEquals(Collections.emptyList(), scanSettings.hiddenNetworks); in validateScanSettings()
DWifiNetworkFactoryTest.java2843 assertEquals(Collections.emptyList(), scanSettings.hiddenNetworks); in validateScanSettings()
2845 assertNotNull(scanSettings.hiddenNetworks.get(0)); in validateScanSettings()
2846 assertEquals(scanSettings.hiddenNetworks.get(0).ssid, addEnclosingQuotes(hiddenSsid)); in validateScanSettings()
DWifiConfigManagerTest.java3836 List<WifiScanner.ScanSettings.HiddenNetwork> hiddenNetworks = in testRetrieveHiddenList() local
3838 assertEquals(3, hiddenNetworks.size()); in testRetrieveHiddenList()
3839 assertEquals(network3.SSID, hiddenNetworks.get(0).ssid); in testRetrieveHiddenList()
3840 assertEquals(network2.SSID, hiddenNetworks.get(1).ssid); in testRetrieveHiddenList()
3841 assertEquals(network1.SSID, hiddenNetworks.get(2).ssid); in testRetrieveHiddenList()
DWifiNetworkSuggestionsManagerTest.java2534 List<WifiScanner.ScanSettings.HiddenNetwork> hiddenNetworks = in testGetHiddenNetworks() local
2536 assertEquals(1, hiddenNetworks.size()); in testGetHiddenNetworks()
2537 assertEquals(hiddenNetworkSuggestion1.wifiConfiguration.SSID, hiddenNetworks.get(0).ssid); in testGetHiddenNetworks()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWifiScanningServiceTest.java816 requestSettings.hiddenNetworks.clear(); in sendSingleScanRequestWithPrivilegedHiddenNetworkParamsSetFromNonPrivilegedApp()
817 requestSettings.hiddenNetworks.add( in sendSingleScanRequestWithPrivilegedHiddenNetworkParamsSetFromNonPrivilegedApp()
819 requestSettings.hiddenNetworks.add( in sendSingleScanRequestWithPrivilegedHiddenNetworkParamsSetFromNonPrivilegedApp()
/frameworks/base/wifi/api/
Dsystem-current.txt711 …ublic final java.util.List<android.net.wifi.WifiScanner.ScanSettings.HiddenNetwork> hiddenNetworks;
/frameworks/base/api/
Dsystem-current.txt7545 …ublic final java.util.List<android.net.wifi.WifiScanner.ScanSettings.HiddenNetwork> hiddenNetworks;