/packages/modules/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 | 134 private void serializeNetworkList(XmlSerializer out, List<WifiConfiguration> networkList, in serializeNetworkList() argument 137 if (networkList == null) { in serializeNetworkList() 141 Collections.sort(networkList, Comparator.comparing(a -> a.SSID)); in serializeNetworkList() 142 for (WifiConfiguration network : networkList) { in serializeNetworkList() 203 List<WifiConfiguration> networkList = new ArrayList<>(); in parseNetworkList() local 211 networkList.add(config); in parseNetworkList() 217 return networkList; in parseNetworkList()
|
D | WifiConnectivityManager.java | 1925 pnoSettings.networkList = new PnoSettings.PnoNetwork[listSize]; in startDisconnectedPnoScan() 1926 pnoSettings.networkList = pnoNetworkList.toArray(pnoSettings.networkList); in startDisconnectedPnoScan()
|
D | WifiNative.java | 3103 public PnoNetwork[] networkList; 3114 if (networkList != null) { 3115 for (PnoNetwork network : networkList) {
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | NetworkListStoreDataTest.java | 459 List<WifiConfiguration> networkList = new ArrayList<>(); in getTestNetworksConfig() local 460 networkList.add(openNetwork); in getTestNetworksConfig() 461 networkList.add(eapNetwork); in getTestNetworksConfig() 462 networkList.add(saeNetwork); in getTestNetworksConfig() 463 return networkList; in getTestNetworksConfig() 543 List<WifiConfiguration> networkList = getTestNetworksConfig(true /* shared */); in serializeSharedConfigurations() local 544 mNetworkListSharedStoreData.setConfigurations(networkList); in serializeSharedConfigurations() 545 byte[] expectedData = getTestNetworksXmlBytes(networkList.get(0), networkList.get(1), in serializeSharedConfigurations() 546 networkList.get(2)); in serializeSharedConfigurations() 559 List<WifiConfiguration> networkList = getTestNetworksConfig(true /* shared */); in deserializeSharedConfigurations() local [all …]
|
D | ScanTestUtil.java | 493 assertNotNull("expected networkList was null", expected.networkList); in assertNativePnoSettingsEquals() 494 assertNotNull("actual networkList was null", actual.networkList); in assertNativePnoSettingsEquals() 495 assertEquals("networkList.length", expected.networkList.length, actual.networkList.length); in assertNativePnoSettingsEquals() 496 for (int i = 0; i < expected.networkList.length; i++) { in assertNativePnoSettingsEquals() 498 expected.networkList[i].ssid, actual.networkList[i].ssid); in assertNativePnoSettingsEquals() 500 expected.networkList[i].flags, actual.networkList[i].flags); in assertNativePnoSettingsEquals() 502 expected.networkList[i].auth_bit_field, actual.networkList[i].auth_bit_field); in assertNativePnoSettingsEquals()
|
D | WifiNativeTest.java | 175 networkList = new WifiNative.PnoNetwork[2]; 176 networkList[0] = new WifiNative.PnoNetwork(); 177 networkList[1] = new WifiNative.PnoNetwork(); 178 networkList[0].ssid = TEST_QUOTED_SSID_1; 179 networkList[1].ssid = TEST_QUOTED_SSID_2; 180 networkList[0].frequencies = TEST_FREQUENCIES_1; 181 networkList[1].frequencies = TEST_FREQUENCIES_2;
|
D | WifiConfigStoreTest.java | 562 NetworkListStoreData networkList = new NetworkListUserStoreData(mContext); in testReadWifiConfigStoreData() local 563 mWifiConfigStore.registerStoreData(networkList); in testReadWifiConfigStoreData() 584 userConfigs, networkList.getConfigurations()); in testReadWifiConfigStoreData() 599 NetworkListStoreData networkList = new NetworkListUserStoreData(mContext); in testWriteWifiConfigStoreData() local 600 mWifiConfigStore.registerStoreData(networkList); in testWriteWifiConfigStoreData() 609 networkList.setConfigurations(userConfigs); in testWriteWifiConfigStoreData()
|
D | WifiConnectivityManagerTest.java | 463 List<WifiConfiguration> networkList = new ArrayList<>(); in mockWifiConfigManager() local 464 networkList.add(config); in mockWifiConfigManager() 466 when(wifiConfigManager.getSavedNetworks(anyInt())).thenReturn(networkList); in mockWifiConfigManager() 3976 List<WifiConfiguration> networkList = new ArrayList<>(); in testRetrievePnoList() local 3977 networkList.add(network1); in testRetrievePnoList() 3978 networkList.add(network2); in testRetrievePnoList() 3979 networkList.add(network3); in testRetrievePnoList() 3983 when(mWifiConfigManager.getSavedNetworks(anyInt())).thenReturn(networkList); in testRetrievePnoList() 4020 List<WifiConfiguration> networkList = new ArrayList<>(); in testRetrievePnoListFrequencies() local 4021 networkList.add(network1); in testRetrievePnoListFrequencies() [all …]
|
D | WifiConfigManagerTest.java | 996 List<WifiConfiguration> networkList = new ArrayList<>(); in testAddMultipleNetworksAndEnsureEphemeralNetworkNotPersisted() local 997 networkList.addAll(networkListStoreData.first); in testAddMultipleNetworksAndEnsureEphemeralNetworkNotPersisted() 998 networkList.addAll(networkListStoreData.second); in testAddMultipleNetworksAndEnsureEphemeralNetworkNotPersisted() 999 assertFalse(isNetworkInConfigStoreData(ephemeralNetwork, networkList)); in testAddMultipleNetworksAndEnsureEphemeralNetworkNotPersisted() 1000 assertTrue(isNetworkInConfigStoreData(openNetwork, networkList)); in testAddMultipleNetworksAndEnsureEphemeralNetworkNotPersisted() 5452 List<WifiConfiguration> networkList = new ArrayList<>(); in isNetworkInConfigStoreData() local 5453 networkList.addAll(networkListStoreData.first); in isNetworkInConfigStoreData() 5454 networkList.addAll(networkListStoreData.second); in isNetworkInConfigStoreData() 5455 return isNetworkInConfigStoreData(configuration, networkList); in isNetworkInConfigStoreData() 5462 WifiConfiguration configuration, List<WifiConfiguration> networkList) { in isNetworkInConfigStoreData() argument [all …]
|
D | WifiScoreCardTest.java | 693 NetworkList networkList = NetworkList.parseFrom(serialized); in testNetworksSerialization() local 694 assertEquals(diag, 1, networkList.getNetworksCount()); in testNetworksSerialization() 695 Network network = networkList.getNetworks(0); in testNetworksSerialization()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
D | ThreeGPPNetworkElementTest.java | 135 List<CellularNetwork> networkList = new ArrayList<>(); in parseBufferWithTestData() local 136 networkList.add(TEST_NETWORK1); in parseBufferWithTestData() 137 networkList.add(TEST_NETWORK2); in parseBufferWithTestData() 138 ThreeGPPNetworkElement expected = new ThreeGPPNetworkElement(networkList); in parseBufferWithTestData()
|
D | ANQPParserTest.java | 369 List<CellularNetwork> networkList = new ArrayList<>(); in parseThreeGPPNetworkElement() local 370 networkList.add(new CellularNetwork(Arrays.asList(plmnList))); in parseThreeGPPNetworkElement() 371 ThreeGPPNetworkElement expected = new ThreeGPPNetworkElement(networkList); in parseThreeGPPNetworkElement()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiScanner.java | 968 public PnoNetwork[] networkList; field in WifiScanner.PnoSettings 981 if (networkList != null) { in writeToParcel() 982 dest.writeInt(networkList.length); in writeToParcel() 983 for (int i = 0; i < networkList.length; i++) { in writeToParcel() 984 dest.writeString(networkList[i].ssid); in writeToParcel() 985 dest.writeByte(networkList[i].flags); in writeToParcel() 986 dest.writeByte(networkList[i].authBitField); in writeToParcel() 987 dest.writeIntArray(networkList[i].frequencies); in writeToParcel() 1004 settings.networkList = new PnoNetwork[numNetworks]; 1011 settings.networkList[i] = network;
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkNominateHelper.java | 238 @NonNull List<PasspointNetworkCandidate> networkList) { in findHomeNetworksIfPossible() 239 List<PasspointNetworkCandidate> homeProviderCandidates = networkList.stream() in findHomeNetworksIfPossible() 243 return networkList; in findHomeNetworksIfPossible()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiScannerTest.java | 181 pnoSettings.networkList = new PnoNetwork[]{pnoNetwork1, pnoNetwork2}; in canSerializeAndDeserializePnoSettings() 201 assertEquals(pnoSettings.networkList.length, pnoSettingsDeserialized.networkList.length); in canSerializeAndDeserializePnoSettings() 202 for (int i = 0; i < pnoSettings.networkList.length; i++) { in canSerializeAndDeserializePnoSettings() 203 PnoNetwork expected = pnoSettings.networkList[i]; in canSerializeAndDeserializePnoSettings() 204 PnoNetwork actual = pnoSettingsDeserialized.networkList[i]; in canSerializeAndDeserializePnoSettings()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | NetworkSelectSettings.java | 442 final List<NetworkRegistrationInfo> networkList = in forceUpdateConnectedPreferenceCategory() local 445 if (networkList == null || networkList.size() == 0) { in forceUpdateConnectedPreferenceCategory() 455 for (NetworkRegistrationInfo regInfo : networkList) { in forceUpdateConnectedPreferenceCategory()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | WificondPnoScannerTest.java | 177 pnoSettings.networkList = new WifiNative.PnoNetwork[2]; in createDummyPnoSettings() 178 pnoSettings.networkList[0] = createDummyPnoNetwork("ssid_pno_1"); in createDummyPnoSettings() 179 pnoSettings.networkList[1] = createDummyPnoNetwork("ssid_pno_2"); in createDummyPnoSettings()
|
D | WifiScanningServiceTest.java | 2438 requestPnoSettings.networkList = in createPnoSettings() 2442 requestPnoSettings.networkList[i++] = in createPnoSettings() 2451 nativePnoSettings.networkList = in createPnoSettings() 2452 new WifiNative.PnoNetwork[requestPnoSettings.networkList.length]; in createPnoSettings() 2453 for (i = 0; i < requestPnoSettings.networkList.length; i++) { in createPnoSettings() 2454 nativePnoSettings.networkList[i] = new WifiNative.PnoNetwork(); in createPnoSettings() 2455 nativePnoSettings.networkList[i].ssid = requestPnoSettings.networkList[i].ssid; in createPnoSettings() 2456 nativePnoSettings.networkList[i].flags = requestPnoSettings.networkList[i].flags; in createPnoSettings() 2457 nativePnoSettings.networkList[i].auth_bit_field = in createPnoSettings() 2458 requestPnoSettings.networkList[i].authBitField; in createPnoSettings()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/ |
D | WifiScanningServiceImpl.java | 2262 nativePnoSetting.networkList = in convertSettingsToPnoNative() 2263 new WifiNative.PnoNetwork[pnoSettings.networkList.length]; in convertSettingsToPnoNative() 2264 for (int i = 0; i < pnoSettings.networkList.length; i++) { in convertSettingsToPnoNative() 2265 nativePnoSetting.networkList[i] = new WifiNative.PnoNetwork(); in convertSettingsToPnoNative() 2266 nativePnoSetting.networkList[i].ssid = pnoSettings.networkList[i].ssid; in convertSettingsToPnoNative() 2267 nativePnoSetting.networkList[i].flags = pnoSettings.networkList[i].flags; in convertSettingsToPnoNative() 2268 nativePnoSetting.networkList[i].auth_bit_field = in convertSettingsToPnoNative() 2269 pnoSettings.networkList[i].authBitField; in convertSettingsToPnoNative() 2270 nativePnoSetting.networkList[i].frequencies = in convertSettingsToPnoNative() 2271 pnoSettings.networkList[i].frequencies; in convertSettingsToPnoNative() [all …]
|
D | WificondScannerImpl.java | 442 settings.networkList, eventHandler); in setHwPnoList()
|
/packages/modules/Wifi/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 1964 Landroid/net/wifi/WifiScanner$PnoSettings;->networkList:[Landroid/net/wifi/WifiScanner$PnoSettings$…
|