/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | TransportManagerTest.java | 97 List<QualifiedNetworks> networkList = new ArrayList<>(Arrays.asList( in testHandoverNeeded() local 102 new AsyncResult(null, networkList, null)).sendToTarget(); in testHandoverNeeded() 111 networkList = new ArrayList<>(Arrays.asList( in testHandoverNeeded() 116 new AsyncResult(null, networkList, null)).sendToTarget(); in testHandoverNeeded() 137 networkList = new ArrayList<>(Arrays.asList( in testHandoverNeeded() 142 new AsyncResult(null, networkList, null)).sendToTarget(); in testHandoverNeeded() 172 List<QualifiedNetworks> networkList = new ArrayList<>(Arrays.asList( in testHandoverNotNeeded() local 177 new AsyncResult(null, networkList, null)).sendToTarget(); in testHandoverNotNeeded() 183 networkList = new ArrayList<>(Arrays.asList( in testHandoverNotNeeded() 188 new AsyncResult(null, networkList, null)).sendToTarget(); in testHandoverNotNeeded() [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 | 124 private void serializeNetworkList(XmlSerializer out, List<WifiConfiguration> networkList) in serializeNetworkList() argument 126 if (networkList == null) { in serializeNetworkList() 129 for (WifiConfiguration network : networkList) { in serializeNetworkList() 183 List<WifiConfiguration> networkList = new ArrayList<>(); in parseNetworkList() local 190 networkList.add(config); in parseNetworkList() 196 return networkList; in parseNetworkList()
|
D | WifiConnectivityManager.java | 1012 pnoSettings.networkList = new PnoSettings.PnoNetwork[listSize]; in startDisconnectedPnoScan() 1013 pnoSettings.networkList = pnoNetworkList.toArray(pnoSettings.networkList); in startDisconnectedPnoScan()
|
D | WificondControl.java | 738 if (pnoSettings.networkList != null) { in startPnoScan() 739 for (WifiNative.PnoNetwork network : pnoSettings.networkList) { in startPnoScan()
|
D | WifiNative.java | 2523 public PnoNetwork[] networkList; field in WifiNative.PnoSettings
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | NetworkListStoreDataTest.java | 257 List<WifiConfiguration> networkList = new ArrayList<>(); in getTestNetworksConfig() local 258 networkList.add(openNetwork); in getTestNetworksConfig() 259 networkList.add(eapNetwork); in getTestNetworksConfig() 260 return networkList; in getTestNetworksConfig() 332 List<WifiConfiguration> networkList = getTestNetworksConfig(true /* shared */); in serializeSharedConfigurations() local 333 mNetworkListSharedStoreData.setConfigurations(networkList); in serializeSharedConfigurations() 334 byte[] expectedData = getTestNetworksXmlBytes(networkList.get(0), networkList.get(1)); in serializeSharedConfigurations() 345 List<WifiConfiguration> networkList = getTestNetworksConfig(true /* shared */); in deserializeSharedConfigurations() local 346 byte[] xmlData = getTestNetworksXmlBytes(networkList.get(0), networkList.get(1)); in deserializeSharedConfigurations() 348 networkList, deserializeData(xmlData)); in deserializeSharedConfigurations()
|
D | ScanTestUtil.java | 427 assertNotNull("expected networkList was null", expected.networkList); in assertNativePnoSettingsEquals() 428 assertNotNull("actual networkList was null", actual.networkList); in assertNativePnoSettingsEquals() 429 assertEquals("networkList.length", expected.networkList.length, actual.networkList.length); in assertNativePnoSettingsEquals() 430 for (int i = 0; i < expected.networkList.length; i++) { in assertNativePnoSettingsEquals() 432 expected.networkList[i].ssid, actual.networkList[i].ssid); in assertNativePnoSettingsEquals() 434 expected.networkList[i].flags, actual.networkList[i].flags); in assertNativePnoSettingsEquals() 436 expected.networkList[i].auth_bit_field, actual.networkList[i].auth_bit_field); in assertNativePnoSettingsEquals()
|
D | WifiNativeTest.java | 150 networkList = new WifiNative.PnoNetwork[2]; 151 networkList[0] = new WifiNative.PnoNetwork(); 152 networkList[1] = new WifiNative.PnoNetwork(); 153 networkList[0].ssid = TEST_QUOTED_SSID_1; 154 networkList[1].ssid = TEST_QUOTED_SSID_2; 155 networkList[0].frequencies = TEST_FREQUENCIES_1; 156 networkList[1].frequencies = TEST_FREQUENCIES_2;
|
D | WificondControlTest.java | 187 networkList = new WifiNative.PnoNetwork[2]; 188 networkList[0] = new WifiNative.PnoNetwork(); 189 networkList[1] = new WifiNative.PnoNetwork(); 190 networkList[0].ssid = TEST_QUOTED_SSID_1; 191 networkList[0].flags = WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN; 192 networkList[0].frequencies = TEST_FREQUENCIES_1; 193 networkList[1].ssid = TEST_QUOTED_SSID_2; 194 networkList[1].flags = 0; 195 networkList[1].frequencies = TEST_FREQUENCIES_2; 1338 if (settings.pnoNetworks == null || mExpectedPnoSettings.networkList == null) { in matches() [all …]
|
D | WifiConfigStoreTest.java | 495 NetworkListStoreData networkList = new NetworkListUserStoreData(mContext); in testReadWifiConfigStoreData() local 496 mWifiConfigStore.registerStoreData(networkList); in testReadWifiConfigStoreData() 524 userConfigs, networkList.getConfigurations()); in testReadWifiConfigStoreData() 540 NetworkListStoreData networkList = new NetworkListUserStoreData(mContext); in testWriteWifiConfigStoreData() local 541 mWifiConfigStore.registerStoreData(networkList); in testWriteWifiConfigStoreData() 549 networkList.setConfigurations(userConfigs); in testWriteWifiConfigStoreData()
|
D | WifiScoreCardTest.java | 363 NetworkList networkList = NetworkList.parseFrom(serialized); in testNetworksSerialization() local 364 assertEquals(diag, 1, networkList.getNetworksCount()); in testNetworksSerialization() 365 Network network = networkList.getNetworks(0); in testNetworksSerialization()
|
D | WifiConfigManagerTest.java | 658 List<WifiConfiguration> networkList = new ArrayList<>(); in testAddMultipleNetworksAndEnsureEphemeralNetworkNotPersisted() local 659 networkList.addAll(networkListStoreData.first); in testAddMultipleNetworksAndEnsureEphemeralNetworkNotPersisted() 660 networkList.addAll(networkListStoreData.second); in testAddMultipleNetworksAndEnsureEphemeralNetworkNotPersisted() 661 assertFalse(isNetworkInConfigStoreData(ephemeralNetwork, networkList)); in testAddMultipleNetworksAndEnsureEphemeralNetworkNotPersisted() 662 assertTrue(isNetworkInConfigStoreData(openNetwork, networkList)); in testAddMultipleNetworksAndEnsureEphemeralNetworkNotPersisted() 4759 List<WifiConfiguration> networkList = new ArrayList<>(); in isNetworkInConfigStoreData() local 4760 networkList.addAll(networkListStoreData.first); in isNetworkInConfigStoreData() 4761 networkList.addAll(networkListStoreData.second); in isNetworkInConfigStoreData() 4762 return isNetworkInConfigStoreData(configuration, networkList); in isNetworkInConfigStoreData() 4769 WifiConfiguration configuration, List<WifiConfiguration> networkList) { in isNetworkInConfigStoreData() argument [all …]
|
/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 | 367 List<CellularNetwork> networkList = new ArrayList<>(); in parseThreeGPPNetworkElement() local 368 networkList.add(new CellularNetwork(Arrays.asList(plmnList))); in parseThreeGPPNetworkElement() 369 ThreeGPPNetworkElement expected = new ThreeGPPNetworkElement(networkList); in parseThreeGPPNetworkElement()
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiScannerTest.java | 169 pnoSettings.networkList = new PnoNetwork[]{pnoNetwork1, pnoNetwork2}; in canSerializeAndDeserializePnoSettings() 199 assertEquals(pnoSettings.networkList.length, pnoSettingsDeserialized.networkList.length); in canSerializeAndDeserializePnoSettings() 200 for (int i = 0; i < pnoSettings.networkList.length; i++) { in canSerializeAndDeserializePnoSettings() 201 PnoNetwork expected = pnoSettings.networkList[i]; in canSerializeAndDeserializePnoSettings() 202 PnoNetwork actual = pnoSettingsDeserialized.networkList[i]; in canSerializeAndDeserializePnoSettings()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiScanner.java | 656 public PnoNetwork[] networkList; field in WifiScanner.PnoSettings 673 if (networkList != null) { in writeToParcel() 674 dest.writeInt(networkList.length); in writeToParcel() 675 for (int i = 0; i < networkList.length; i++) { in writeToParcel() 676 dest.writeString(networkList[i].ssid); in writeToParcel() 677 dest.writeByte(networkList[i].flags); in writeToParcel() 678 dest.writeByte(networkList[i].authBitField); in writeToParcel() 679 dest.writeIntArray(networkList[i].frequencies); in writeToParcel() 700 settings.networkList = new PnoNetwork[numNetworks]; 707 settings.networkList[i] = network;
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | WificondPnoScannerTest.java | 153 pnoSettings.networkList = new WifiNative.PnoNetwork[2]; in createDummyPnoSettings() 154 pnoSettings.networkList[0] = createDummyPnoNetwork("ssid_pno_1"); in createDummyPnoSettings() 155 pnoSettings.networkList[1] = createDummyPnoNetwork("ssid_pno_2"); in createDummyPnoSettings()
|
D | WifiScanningServiceTest.java | 2143 requestPnoSettings.networkList = in createPnoSettings() 2147 requestPnoSettings.networkList[i++] = in createPnoSettings() 2160 nativePnoSettings.networkList = in createPnoSettings() 2161 new WifiNative.PnoNetwork[requestPnoSettings.networkList.length]; in createPnoSettings() 2162 for (i = 0; i < requestPnoSettings.networkList.length; i++) { in createPnoSettings() 2163 nativePnoSettings.networkList[i] = new WifiNative.PnoNetwork(); in createPnoSettings() 2164 nativePnoSettings.networkList[i].ssid = requestPnoSettings.networkList[i].ssid; in createPnoSettings() 2165 nativePnoSettings.networkList[i].flags = requestPnoSettings.networkList[i].flags; in createPnoSettings() 2166 nativePnoSettings.networkList[i].auth_bit_field = in createPnoSettings() 2167 requestPnoSettings.networkList[i].authBitField; in createPnoSettings()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | TransportManager.java | 433 int[] networkList = mCurrentAvailableNetworks.valueAt(i); in isAnyApnPreferredOnIwlan() local 434 if (networkList.length > 0 && networkList[0] == AccessNetworkType.IWLAN) { in isAnyApnPreferredOnIwlan()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | WifiScanningServiceImpl.java | 1744 nativePnoSetting.networkList = in convertSettingsToPnoNative() 1745 new WifiNative.PnoNetwork[pnoSettings.networkList.length]; in convertSettingsToPnoNative() 1746 for (int i = 0; i < pnoSettings.networkList.length; i++) { in convertSettingsToPnoNative() 1747 nativePnoSetting.networkList[i] = new WifiNative.PnoNetwork(); in convertSettingsToPnoNative() 1748 nativePnoSetting.networkList[i].ssid = pnoSettings.networkList[i].ssid; in convertSettingsToPnoNative() 1749 nativePnoSetting.networkList[i].flags = pnoSettings.networkList[i].flags; in convertSettingsToPnoNative() 1750 nativePnoSetting.networkList[i].auth_bit_field = in convertSettingsToPnoNative() 1751 pnoSettings.networkList[i].authBitField; in convertSettingsToPnoNative() 1752 nativePnoSetting.networkList[i].frequencies = in convertSettingsToPnoNative() 1753 pnoSettings.networkList[i].frequencies; in convertSettingsToPnoNative() [all …]
|
D | WificondScannerImpl.java | 453 settings.networkList, eventHandler); in setHwPnoList()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkEvaluator.java | 271 List<PasspointNetworkCandidate> networkList, String currentNetworkSsid) { in findBestNetwork() argument 274 for (PasspointNetworkCandidate candidate : networkList) { in findBestNetwork()
|
/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()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 50969 Landroid/net/wifi/WifiScanner$PnoSettings;->networkList:[Landroid/net/wifi/WifiScanner$PnoSettings$…
|