/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | TransportManagerTest.java | 81 List<QualifiedNetworks> networkList = new ArrayList<>(Arrays.asList( in testHandoverNeeded() local 86 new AsyncResult(null, networkList, null)).sendToTarget(); in testHandoverNeeded() 95 networkList = new ArrayList<>(Arrays.asList( in testHandoverNeeded() 100 new AsyncResult(null, networkList, null)).sendToTarget(); in testHandoverNeeded() 121 networkList = new ArrayList<>(Arrays.asList( in testHandoverNeeded() 126 new AsyncResult(null, networkList, null)).sendToTarget(); in testHandoverNeeded() 156 List<QualifiedNetworks> networkList = new ArrayList<>(Arrays.asList( in testHandoverNotNeeded() local 161 new AsyncResult(null, networkList, null)).sendToTarget(); in testHandoverNotNeeded() 167 networkList = new ArrayList<>(Arrays.asList( in testHandoverNotNeeded() 172 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 | 132 private void serializeNetworkList(XmlSerializer out, List<WifiConfiguration> networkList, in serializeNetworkList() argument 135 if (networkList == null) { in serializeNetworkList() 138 for (WifiConfiguration network : networkList) { in serializeNetworkList() 199 List<WifiConfiguration> networkList = new ArrayList<>(); in parseNetworkList() local 207 networkList.add(config); in parseNetworkList() 213 return networkList; in parseNetworkList()
|
D | WifiConnectivityManager.java | 1015 pnoSettings.networkList = new PnoSettings.PnoNetwork[listSize]; in startDisconnectedPnoScan() 1016 pnoSettings.networkList = pnoNetworkList.toArray(pnoSettings.networkList); in startDisconnectedPnoScan()
|
D | WificondControl.java | 735 if (pnoSettings.networkList != null) { in startPnoScan() 736 for (WifiNative.PnoNetwork network : pnoSettings.networkList) { in startPnoScan()
|
D | WifiNative.java | 2524 public PnoNetwork[] networkList; field in WifiNative.PnoSettings
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | NetworkListStoreDataTest.java | 260 List<WifiConfiguration> networkList = new ArrayList<>(); in getTestNetworksConfig() local 261 networkList.add(openNetwork); in getTestNetworksConfig() 262 networkList.add(eapNetwork); in getTestNetworksConfig() 263 return networkList; in getTestNetworksConfig() 335 List<WifiConfiguration> networkList = getTestNetworksConfig(true /* shared */); in serializeSharedConfigurations() local 336 mNetworkListSharedStoreData.setConfigurations(networkList); in serializeSharedConfigurations() 337 byte[] expectedData = getTestNetworksXmlBytes(networkList.get(0), networkList.get(1)); in serializeSharedConfigurations() 348 List<WifiConfiguration> networkList = getTestNetworksConfig(true /* shared */); in deserializeSharedConfigurations() local 349 byte[] xmlData = getTestNetworksXmlBytes(networkList.get(0), networkList.get(1)); in deserializeSharedConfigurations() 351 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 | 188 networkList = new WifiNative.PnoNetwork[2]; 189 networkList[0] = new WifiNative.PnoNetwork(); 190 networkList[1] = new WifiNative.PnoNetwork(); 191 networkList[0].ssid = TEST_QUOTED_SSID_1; 192 networkList[0].flags = WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN; 193 networkList[0].frequencies = TEST_FREQUENCIES_1; 194 networkList[1].ssid = TEST_QUOTED_SSID_2; 195 networkList[1].flags = 0; 196 networkList[1].frequencies = TEST_FREQUENCIES_2; 1333 if (settings.pnoNetworks == null || mExpectedPnoSettings.networkList == null) { in matches() [all …]
|
D | WifiConfigStoreTest.java | 515 NetworkListStoreData networkList = new NetworkListUserStoreData(mContext); in testReadWifiConfigStoreData() local 516 mWifiConfigStore.registerStoreData(networkList); in testReadWifiConfigStoreData() 544 userConfigs, networkList.getConfigurations()); in testReadWifiConfigStoreData() 560 NetworkListStoreData networkList = new NetworkListUserStoreData(mContext); in testWriteWifiConfigStoreData() local 561 mWifiConfigStore.registerStoreData(networkList); in testWriteWifiConfigStoreData() 569 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 | 673 List<WifiConfiguration> networkList = new ArrayList<>(); in testAddMultipleNetworksAndEnsureEphemeralNetworkNotPersisted() local 674 networkList.addAll(networkListStoreData.first); in testAddMultipleNetworksAndEnsureEphemeralNetworkNotPersisted() 675 networkList.addAll(networkListStoreData.second); in testAddMultipleNetworksAndEnsureEphemeralNetworkNotPersisted() 676 assertFalse(isNetworkInConfigStoreData(ephemeralNetwork, networkList)); in testAddMultipleNetworksAndEnsureEphemeralNetworkNotPersisted() 677 assertTrue(isNetworkInConfigStoreData(openNetwork, networkList)); in testAddMultipleNetworksAndEnsureEphemeralNetworkNotPersisted() 4812 List<WifiConfiguration> networkList = new ArrayList<>(); in isNetworkInConfigStoreData() local 4813 networkList.addAll(networkListStoreData.first); in isNetworkInConfigStoreData() 4814 networkList.addAll(networkListStoreData.second); in isNetworkInConfigStoreData() 4815 return isNetworkInConfigStoreData(configuration, networkList); in isNetworkInConfigStoreData() 4822 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 | 444 int[] networkList = mCurrentAvailableNetworks.valueAt(i); in isAnyApnPreferredOnIwlan() local 445 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/base/services/core/java/com/android/server/ |
D | NetworkScoreService.java | 454 List<ScoredNetwork> networkList = networksByType.get(network.networkKey.type); in updateScores() local 455 if (networkList == null) { in updateScores() 456 networkList = new ArrayList<>(); in updateScores() 457 networksByType.put(network.networkKey.type, networkList); in updateScores() 459 networkList.add(network); in updateScores()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkEvaluator.java | 267 List<PasspointNetworkCandidate> networkList, String currentNetworkSsid) { in findBestNetwork() argument 270 for (PasspointNetworkCandidate candidate : networkList) { in findBestNetwork()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 47546 Landroid/net/wifi/WifiScanner$PnoSettings;->networkList:[Landroid/net/wifi/WifiScanner$PnoSettings$…
|