Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/wificond/
DSingleScanSettings.java37 public ArrayList<HiddenNetwork> hiddenNetworks; field in SingleScanSettings
55 && hiddenNetworks.equals(settings.hiddenNetworks); in equals()
61 return Objects.hash(scanType, channelSettings, hiddenNetworks); in hashCode()
88 out.writeTypedList(hiddenNetworks); in writeToParcel()
106 result.hiddenNetworks = new ArrayList<HiddenNetwork>();
107 in.readTypedList(result.hiddenNetworks, HiddenNetwork.CREATOR);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/wificond/
DSingleScanSettingsTest.java76 scanSettings.hiddenNetworks = in canSerializeAndDeserialize()
99 scanSettings1.hiddenNetworks = in testAsHashMapKey()
106 scanSettings2.hiddenNetworks = in testAsHashMapKey()
/frameworks/base/wifi/java/android/net/wifi/
DWifiScanner.java220 public HiddenNetwork[] hiddenNetworks; field in WifiScanner.ScanSettings
302 if (hiddenNetworks != null) { in writeToParcel()
303 dest.writeInt(hiddenNetworks.length); in writeToParcel()
304 for (int i = 0; i < hiddenNetworks.length; i++) { in writeToParcel()
305 dest.writeString(hiddenNetworks[i].ssid); in writeToParcel()
338 settings.hiddenNetworks = new HiddenNetwork[numNetworks];
341 settings.hiddenNetworks[i] = new HiddenNetwork(ssid);;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWificondScannerImpl.java177 if (settings.hiddenNetworks != null) { in startSingleScan()
179 Math.min(settings.hiddenNetworks.length, MAX_HIDDEN_NETWORK_IDS_PER_SCAN); in startSingleScan()
181 hiddenNetworkSSIDSet.add(settings.hiddenNetworks[i].ssid); in startSingleScan()
DWifiScanningServiceImpl.java810 if (!ArrayUtils.isEmpty(settings.hiddenNetworks)) { in validateScanRequest()
899 if (!ArrayUtils.isEmpty(settings.hiddenNetworks)) { in activeScanSatisfies()
900 if (ArrayUtils.isEmpty(mActiveScanSettings.hiddenNetworks)) { in activeScanSatisfies()
904 for (WifiNative.HiddenNetwork hiddenNetwork : mActiveScanSettings.hiddenNetworks) { in activeScanSatisfies()
907 for (ScanSettings.HiddenNetwork hiddenNetwork : settings.hiddenNetworks) { in activeScanSatisfies()
954 if (entry.settings.hiddenNetworks != null) { in tryToStartNewScan()
955 for (int i = 0; i < entry.settings.hiddenNetworks.length; i++) { in tryToStartNewScan()
957 hiddenNetwork.ssid = entry.settings.hiddenNetworks[i].ssid; in tryToStartNewScan()
967 settings.hiddenNetworks = new WifiNative.HiddenNetwork[hiddenNetworkList.size()]; in tryToStartNewScan()
970 settings.hiddenNetworks[numHiddenNetworks++] = hiddenNetwork; in tryToStartNewScan()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkSuggestionsManager.java1019 List<WifiScanner.ScanSettings.HiddenNetwork> hiddenNetworks = new ArrayList<>(); in retrieveHiddenNetworkList() local
1024 hiddenNetworks.add( in retrieveHiddenNetworkList()
1027 if (hiddenNetworks.size() >= NUMBER_OF_HIDDEN_NETWORK_FOR_ONE_SCAN) { in retrieveHiddenNetworkList()
1028 return hiddenNetworks; in retrieveHiddenNetworkList()
1032 return hiddenNetworks; in retrieveHiddenNetworkList()
DWificondControl.java684 settings.hiddenNetworks = new ArrayList<>(); in scan()
704 if (!settings.hiddenNetworks.contains(network)) { in scan()
705 settings.hiddenNetworks.add(network); in scan()
DWifiNetworkFactory.java1052 mScanSettings.hiddenNetworks = new WifiScanner.ScanSettings.HiddenNetwork[1]; in startPeriodicScans()
1054 mScanSettings.hiddenNetworks[0] = in startPeriodicScans()
1067 mScanSettings.hiddenNetworks = null; in cancelPeriodicScans()
DScanRequestProxy.java493 settings.hiddenNetworks = hiddenNetworkList.toArray( in startScan()
DWifiConnectivityManager.java925 settings.hiddenNetworks = in startSingleScan()
DWifiMetrics.java1759 int hiddenNetworks = 0; in countScanResults() local
1772 hiddenNetworks++; in countScanResults()
1807 mWifiLogProto.numHiddenNetworkScanResults += hiddenNetworks; in countScanResults()
DWifiNative.java2478 public HiddenNetwork[] hiddenNetworks; field in WifiNative.ScanSettings
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanRequestProxyTest.java883 assertNotNull(scanSettings.hiddenNetworks); in validateScanSettings()
884 assertEquals(hiddenNetworkList.size(), scanSettings.hiddenNetworks.length); in validateScanSettings()
885 for (int i = 0; i < scanSettings.hiddenNetworks.length; i++) { in validateScanSettings()
886 validateHiddenNetworkInList(scanSettings.hiddenNetworks[i], hiddenNetworkList); in validateScanSettings()
889 assertNull(scanSettings.hiddenNetworks); in validateScanSettings()
DScanTestUtil.java132 mSettings.hiddenNetworks = new WifiNative.HiddenNetwork[networkSSIDs.length]; in withHiddenNetworkSSIDs()
134 mSettings.hiddenNetworks[i] = new WifiNative.HiddenNetwork(); in withHiddenNetworkSSIDs()
135 mSettings.hiddenNetworks[i].ssid = networkSSIDs[i]; in withHiddenNetworkSSIDs()
DWificondControlTest.java1276 ArrayList<HiddenNetwork> hiddenNetworks = settings.hiddenNetworks; in matches() local
1293 for (HiddenNetwork network : hiddenNetworks) { in matches()
1302 if (hiddenNetworks != null && hiddenNetworks.size() > 0) { in matches()
DWifiNetworkFactoryTest.java2822 assertNull(scanSettings.hiddenNetworks); in validateScanSettings()
2824 assertNotNull(scanSettings.hiddenNetworks); in validateScanSettings()
2825 assertNotNull(scanSettings.hiddenNetworks[0]); in validateScanSettings()
2826 assertEquals(scanSettings.hiddenNetworks[0].ssid, addEnclosingQuotes(hiddenSsid)); in validateScanSettings()
DWifiNetworkSuggestionsManagerTest.java2111 List<WifiScanner.ScanSettings.HiddenNetwork> hiddenNetworks = in testGetHiddenNetworks() local
2113 assertEquals(1, hiddenNetworks.size()); in testGetHiddenNetworks()
2114 assertEquals(hiddenNetworkSuggestion1.wifiConfiguration.SSID, hiddenNetworks.get(0).ssid); in testGetHiddenNetworks()
DWifiConfigManagerTest.java3886 List<WifiScanner.ScanSettings.HiddenNetwork> hiddenNetworks = in testRetrieveHiddenList() local
3888 assertEquals(3, hiddenNetworks.size()); in testRetrieveHiddenList()
3889 assertEquals(network3.SSID, hiddenNetworks.get(0).ssid); in testRetrieveHiddenList()
3890 assertEquals(network1.SSID, hiddenNetworks.get(1).ssid); in testRetrieveHiddenList()
3891 assertEquals(network2.SSID, hiddenNetworks.get(2).ssid); in testRetrieveHiddenList()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWifiScanningServiceTest.java749 requestSettings.hiddenNetworks = new WifiScanner.ScanSettings.HiddenNetwork[] { in sendSingleScanRequestWithPrivilegedHiddenNetworkParamsSetFromNonPrivilegedApp()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt47562 Landroid/net/wifi/WifiScanner$ScanSettings;->hiddenNetworks:[Landroid/net/wifi/WifiScanner$ScanSett…