Home
last modified time | relevance | path

Searched refs:hiddenNetworks (Results 1 – 18 of 18) 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/tests/wifitests/src/com/android/server/wifi/
DScanRequestProxyTest.java864 assertNotNull(scanSettings.hiddenNetworks); in validateScanSettings()
865 assertEquals(TEST_HIDDEN_NETWORKS_LIST.size(), scanSettings.hiddenNetworks.length); in validateScanSettings()
866 for (int i = 0; i < scanSettings.hiddenNetworks.length; i++) { in validateScanSettings()
867 validateHiddenNetworkInList(scanSettings.hiddenNetworks[i], in validateScanSettings()
871 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.java1281 ArrayList<HiddenNetwork> hiddenNetworks = settings.hiddenNetworks; in matches() local
1298 for (HiddenNetwork network : hiddenNetworks) { in matches()
1307 if (hiddenNetworks != null && hiddenNetworks.size() > 0) { in matches()
DWifiNetworkFactoryTest.java2556 assertNull(scanSettings.hiddenNetworks); in validateScanSettings()
2558 assertNotNull(scanSettings.hiddenNetworks); in validateScanSettings()
2559 assertNotNull(scanSettings.hiddenNetworks[0]); in validateScanSettings()
2560 assertEquals(scanSettings.hiddenNetworks[0].ssid, addEnclosingQuotes(hiddenSsid)); in validateScanSettings()
DWifiConfigManagerTest.java3833 List<WifiScanner.ScanSettings.HiddenNetwork> hiddenNetworks = in testRetrieveHiddenList() local
3835 assertEquals(3, hiddenNetworks.size()); in testRetrieveHiddenList()
3836 assertEquals(network3.SSID, hiddenNetworks.get(0).ssid); in testRetrieveHiddenList()
3837 assertEquals(network1.SSID, hiddenNetworks.get(1).ssid); in testRetrieveHiddenList()
3838 assertEquals(network2.SSID, hiddenNetworks.get(2).ssid); in testRetrieveHiddenList()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWificondControl.java687 settings.hiddenNetworks = new ArrayList<>(); in scan()
707 if (!settings.hiddenNetworks.contains(network)) { in scan()
708 settings.hiddenNetworks.add(network); in scan()
DWifiNetworkFactory.java1025 mScanSettings.hiddenNetworks = new WifiScanner.ScanSettings.HiddenNetwork[1]; in startPeriodicScans()
1027 mScanSettings.hiddenNetworks[0] = in startPeriodicScans()
1040 mScanSettings.hiddenNetworks = null; in cancelPeriodicScans()
DScanRequestProxy.java490 settings.hiddenNetworks = hiddenNetworkList.toArray( in startScan()
DWifiConnectivityManager.java922 settings.hiddenNetworks = in startSingleScan()
DWifiMetrics.java1654 int hiddenNetworks = 0; in countScanResults() local
1667 hiddenNetworks++; in countScanResults()
1702 mWifiLogProto.numHiddenNetworkScanResults += hiddenNetworks; in countScanResults()
DWifiNative.java2477 public HiddenNetwork[] hiddenNetworks; field in WifiNative.ScanSettings
/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.txt50986 Landroid/net/wifi/WifiScanner$ScanSettings;->hiddenNetworks:[Landroid/net/wifi/WifiScanner$ScanSett…