/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | NetworkListStoreDataTest.java | 253 List<WifiConfiguration> networkList = new ArrayList<>(); in getTestNetworksConfig() local 254 networkList.add(openNetwork); in getTestNetworksConfig() 255 networkList.add(eapNetwork); in getTestNetworksConfig() 256 return networkList; in getTestNetworksConfig() 324 List<WifiConfiguration> networkList = getTestNetworksConfig(true /* shared */); in serializeSharedConfigurations() local 325 mNetworkListStoreData.setSharedConfigurations(networkList); in serializeSharedConfigurations() 326 byte[] expectedData = getTestNetworksXmlBytes(networkList.get(0), networkList.get(1)); in serializeSharedConfigurations() 337 List<WifiConfiguration> networkList = getTestNetworksConfig(true /* shared */); in deserializeSharedConfigurations() local 338 byte[] xmlData = getTestNetworksXmlBytes(networkList.get(0), networkList.get(1)); in deserializeSharedConfigurations() 340 networkList, deserializeData(xmlData, true /* shared */)); in deserializeSharedConfigurations() [all …]
|
D | ScanTestUtil.java | 412 assertNotNull("expected networkList was null", expected.networkList); in assertNativePnoSettingsEquals() 413 assertNotNull("actual networkList was null", actual.networkList); in assertNativePnoSettingsEquals() 414 assertEquals("networkList.length", expected.networkList.length, actual.networkList.length); in assertNativePnoSettingsEquals() 415 for (int i = 0; i < expected.networkList.length; i++) { in assertNativePnoSettingsEquals() 417 expected.networkList[i].ssid, actual.networkList[i].ssid); in assertNativePnoSettingsEquals() 419 expected.networkList[i].flags, actual.networkList[i].flags); in assertNativePnoSettingsEquals() 421 expected.networkList[i].auth_bit_field, actual.networkList[i].auth_bit_field); in assertNativePnoSettingsEquals()
|
D | WificondControlTest.java | 157 networkList = new WifiNative.PnoNetwork[2]; 158 networkList[0] = new WifiNative.PnoNetwork(); 159 networkList[1] = new WifiNative.PnoNetwork(); 160 networkList[0].ssid = TEST_QUOTED_SSID_1; 161 networkList[0].flags = WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN; 162 networkList[1].ssid = TEST_QUOTED_SSID_2; 163 networkList[1].flags = 0; 1189 if (settings.pnoNetworks == null || mExpectedPnoSettings.networkList == null) { in matches() 1192 if (settings.pnoNetworks.size() != mExpectedPnoSettings.networkList.length) { in matches() 1197 if (!mExpectedPnoSettings.networkList[i].ssid.equals(NativeUtil.encodeSsid( in matches() [all …]
|
D | WifiConfigStoreTest.java | 416 NetworkListStoreData networkList = new NetworkListStoreData(mContext); in testReadWifiConfigStoreData() local 417 mWifiConfigStore.registerStoreData(networkList); in testReadWifiConfigStoreData() 445 userConfigs, networkList.getUserConfigurations()); in testReadWifiConfigStoreData() 461 NetworkListStoreData networkList = new NetworkListStoreData(mContext); in testWriteWifiConfigStoreData() local 462 mWifiConfigStore.registerStoreData(networkList); in testWriteWifiConfigStoreData() 470 networkList.setUserConfigurations(userConfigs); in testWriteWifiConfigStoreData()
|
D | WifiNativeTest.java | 140 networkList = new WifiNative.PnoNetwork[2]; 141 networkList[0] = new WifiNative.PnoNetwork(); 142 networkList[1] = new WifiNative.PnoNetwork(); 143 networkList[0].ssid = TEST_QUOTED_SSID_1; 144 networkList[1].ssid = TEST_QUOTED_SSID_2;
|
D | WifiConfigManagerTest.java | 326 List<WifiConfiguration> networkList = new ArrayList<>(); in testAddMultipleNetworksAndEnsureEphemeralNetworkNotPersisted() local 327 networkList.addAll(networkListStoreData.first); in testAddMultipleNetworksAndEnsureEphemeralNetworkNotPersisted() 328 networkList.addAll(networkListStoreData.second); in testAddMultipleNetworksAndEnsureEphemeralNetworkNotPersisted() 329 assertFalse(isNetworkInConfigStoreData(ephemeralNetwork, networkList)); in testAddMultipleNetworksAndEnsureEphemeralNetworkNotPersisted() 330 assertTrue(isNetworkInConfigStoreData(openNetwork, networkList)); in testAddMultipleNetworksAndEnsureEphemeralNetworkNotPersisted() 3756 List<WifiConfiguration> networkList = new ArrayList<>(); in isNetworkInConfigStoreData() local 3757 networkList.addAll(networkListStoreData.first); in isNetworkInConfigStoreData() 3758 networkList.addAll(networkListStoreData.second); in isNetworkInConfigStoreData() 3759 return isNetworkInConfigStoreData(configuration, networkList); in isNetworkInConfigStoreData() 3766 WifiConfiguration configuration, List<WifiConfiguration> networkList) { in isNetworkInConfigStoreData() argument [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WakeupLock.java | 148 private void addToLock(Collection<ScanResultMatchInfo> networkList) { in addToLock() argument 150 Log.d(TAG, "Initializing lock with networks: " + networkList); in addToLock() 155 for (ScanResultMatchInfo network : networkList) { in addToLock() 179 private void removeFromLock(Collection<ScanResultMatchInfo> networkList) { in removeFromLock() argument 181 Log.d(TAG, "Filtering lock with networks: " + networkList); in removeFromLock() 191 if (networkList.contains(entry.getKey())) { in removeFromLock() 230 public void update(Collection<ScanResultMatchInfo> networkList) { in update() argument 244 removeFromLock(networkList); in update() 246 addToLock(networkList); in update()
|
D | NetworkListStoreData.java | 156 private void serializeNetworkList(XmlSerializer out, List<WifiConfiguration> networkList) in serializeNetworkList() argument 158 if (networkList == null) { in serializeNetworkList() 161 for (WifiConfiguration network : networkList) { in serializeNetworkList() 215 List<WifiConfiguration> networkList = new ArrayList<>(); in parseNetworkList() local 222 networkList.add(config); in parseNetworkList() 228 return networkList; in parseNetworkList()
|
D | WifiConnectivityManager.java | 963 pnoSettings.networkList = new PnoSettings.PnoNetwork[listSize]; in startDisconnectedPnoScan() 964 pnoSettings.networkList = pnoNetworkList.toArray(pnoSettings.networkList); in startDisconnectedPnoScan()
|
D | WificondControl.java | 675 if (pnoSettings.networkList != null) { in startPnoScan() 676 for (WifiNative.PnoNetwork network : pnoSettings.networkList) { in startPnoScan()
|
D | WifiNative.java | 2089 public PnoNetwork[] networkList; field in WifiNative.PnoSettings
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
D | ThreeGPPNetworkElementTest.java | 133 List<CellularNetwork> networkList = new ArrayList<>(); in parseBufferWithTestData() local 134 networkList.add(TEST_NETWORK1); in parseBufferWithTestData() 135 networkList.add(TEST_NETWORK2); in parseBufferWithTestData() 136 ThreeGPPNetworkElement expected = new ThreeGPPNetworkElement(networkList); in parseBufferWithTestData()
|
D | ANQPParserTest.java | 366 List<CellularNetwork> networkList = new ArrayList<>(); in parseThreeGPPNetworkElement() local 367 networkList.add(new CellularNetwork(Arrays.asList(plmnList))); in parseThreeGPPNetworkElement() 368 ThreeGPPNetworkElement expected = new ThreeGPPNetworkElement(networkList); in parseThreeGPPNetworkElement()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiScanner.java | 630 public PnoNetwork[] networkList; field in WifiScanner.PnoSettings 647 if (networkList != null) { in writeToParcel() 648 dest.writeInt(networkList.length); in writeToParcel() 649 for (int i = 0; i < networkList.length; i++) { in writeToParcel() 650 dest.writeString(networkList[i].ssid); in writeToParcel() 651 dest.writeByte(networkList[i].flags); in writeToParcel() 652 dest.writeByte(networkList[i].authBitField); in writeToParcel() 673 settings.networkList = new PnoNetwork[numNetworks]; 679 settings.networkList[i] = network;
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | WificondPnoScannerTest.java | 151 pnoSettings.networkList = new WifiNative.PnoNetwork[2]; in createDummyPnoSettings() 152 pnoSettings.networkList[0] = createDummyPnoNetwork("ssid_pno_1"); in createDummyPnoSettings() 153 pnoSettings.networkList[1] = createDummyPnoNetwork("ssid_pno_2"); in createDummyPnoSettings()
|
D | WifiScanningServiceTest.java | 2057 requestPnoSettings.networkList = in createPnoSettings() 2061 requestPnoSettings.networkList[i++] = in createPnoSettings() 2074 nativePnoSettings.networkList = in createPnoSettings() 2075 new WifiNative.PnoNetwork[requestPnoSettings.networkList.length]; in createPnoSettings() 2076 for (i = 0; i < requestPnoSettings.networkList.length; i++) { in createPnoSettings() 2077 nativePnoSettings.networkList[i] = new WifiNative.PnoNetwork(); in createPnoSettings() 2078 nativePnoSettings.networkList[i].ssid = requestPnoSettings.networkList[i].ssid; in createPnoSettings() 2079 nativePnoSettings.networkList[i].flags = requestPnoSettings.networkList[i].flags; in createPnoSettings() 2080 nativePnoSettings.networkList[i].auth_bit_field = in createPnoSettings() 2081 requestPnoSettings.networkList[i].authBitField; in createPnoSettings()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkEvaluator.java | 176 List<PasspointNetworkCandidate> networkList, String currentNetworkSsid) { in findBestNetwork() argument 179 for (PasspointNetworkCandidate candidate : networkList) { in findBestNetwork()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | WifiScanningServiceImpl.java | 1677 nativePnoSetting.networkList = in convertSettingsToPnoNative() 1678 new WifiNative.PnoNetwork[pnoSettings.networkList.length]; in convertSettingsToPnoNative() 1679 for (int i = 0; i < pnoSettings.networkList.length; i++) { in convertSettingsToPnoNative() 1680 nativePnoSetting.networkList[i] = new WifiNative.PnoNetwork(); in convertSettingsToPnoNative() 1681 nativePnoSetting.networkList[i].ssid = pnoSettings.networkList[i].ssid; in convertSettingsToPnoNative() 1682 nativePnoSetting.networkList[i].flags = pnoSettings.networkList[i].flags; in convertSettingsToPnoNative() 1683 nativePnoSetting.networkList[i].auth_bit_field = in convertSettingsToPnoNative() 1684 pnoSettings.networkList[i].authBitField; in convertSettingsToPnoNative() 2216 if (pnoSettings.networkList != null) { in describeTo() 2217 for (int i = 0; i < pnoSettings.networkList.length; i++) { in describeTo() [all …]
|
D | WificondScannerImpl.java | 445 settings.networkList, eventHandler); in setHwPnoList()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkScoreService.java | 458 List<ScoredNetwork> networkList = networksByType.get(network.networkKey.type); in updateScores() local 459 if (networkList == null) { in updateScores() 460 networkList = new ArrayList<>(); in updateScores() 461 networksByType.put(network.networkKey.type, networkList); in updateScores() 463 networkList.add(network); in updateScores()
|