/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetConfigStore.java | 42 SparseArray<IpConfiguration> networks = readIpAndProxyConfigurations(ipConfigFile); in readIpAndProxyConfigurations() local 44 if (networks.size() == 0) { in readIpAndProxyConfigurations() 49 if (networks.size() > 1) { in readIpAndProxyConfigurations() 54 return networks.valueAt(0); in readIpAndProxyConfigurations() 58 SparseArray<IpConfiguration> networks = new SparseArray<IpConfiguration>(); in writeIpAndProxyConfigurations() local 59 networks.put(0, config); in writeIpAndProxyConfigurations() 60 writeIpAndProxyConfigurations(ipConfigFile, networks); in writeIpAndProxyConfigurations()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
D | ThreeGPPNetworkElement.java | 50 public ThreeGPPNetworkElement(List<CellularNetwork> networks) { in ThreeGPPNetworkElement() argument 52 mNetworks = networks; in ThreeGPPNetworkElement() 79 List<CellularNetwork> networks = new ArrayList<>(); in parse() local 83 networks.add(network); in parse() 86 return new ThreeGPPNetworkElement(networks); in parse()
|
/frameworks/base/core/java/android/net/ |
D | NetworkRecommendationProvider.java | 74 public abstract void onRequestScores(NetworkKey[] networks); in onRequestScores() argument 99 public void requestScores(final NetworkKey[] networks) throws RemoteException { in requestScores() argument 101 if (networks != null && networks.length > 0) { in requestScores() 105 onRequestScores(networks); in requestScores()
|
D | NetworkScoreManager.java | 281 public boolean updateScores(ScoredNetwork[] networks) throws SecurityException { in updateScores() argument 283 return mService.updateScores(networks); in updateScores() 355 public boolean requestScores(NetworkKey[] networks) throws SecurityException { in requestScores() argument 357 return mService.requestScores(networks); in requestScores()
|
D | INetworkScoreService.aidl | 35 boolean updateScores(in ScoredNetwork[] networks); in updateScores() argument 91 boolean requestScores(in NetworkKey[] networks); in requestScores() argument
|
D | VpnService.java | 361 public boolean setUnderlyingNetworks(Network[] networks) { in setUnderlyingNetworks() argument 363 return getService().setUnderlyingNetworksForVpn(networks); in setUnderlyingNetworks() 753 public Builder setUnderlyingNetworks(Network[] networks) { in setUnderlyingNetworks() argument 754 mConfig.underlyingNetworks = networks != null ? networks.clone() : null; in setUnderlyingNetworks()
|
D | INetworkRecommendationProvider.aidl | 36 void requestScores(in NetworkKey[] networks); in requestScores() argument
|
D | INetworkScoreCache.aidl | 39 void updateScores(in List<ScoredNetwork> networks); in updateScores() argument
|
D | network-policy-restrictions.md | 24 ## On metered networks 37 ## On non-metered networks
|
D | IConnectivityManager.aidl | 174 boolean setUnderlyingNetworksForVpn(in Network[] networks); in setUnderlyingNetworksForVpn() argument
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 79 List<WifiConfiguration> networks = mWifiManager.getConfiguredNetworks(); in getSsid() local 80 int length = networks.size(); in getSsid() 82 if (networks.get(i).networkId == info.getNetworkId()) { in getSsid() 83 return networks.get(i).SSID; in getSsid()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigurationUtilTest.java | 548 List<WifiConfiguration> networks = new ArrayList<>(); in testPnoListComparator() local 566 networks.add(tempDisabledNetwork1); in testPnoListComparator() 567 networks.add(enabledNetwork1); in testPnoListComparator() 568 networks.add(permDisabledNetwork); in testPnoListComparator() 569 networks.add(tempDisabledNetwork2); in testPnoListComparator() 570 networks.add(enabledNetwork2); in testPnoListComparator() 591 Collections.sort(networks, comparator); in testPnoListComparator() 594 assertEquals(enabledNetwork1, networks.get(0)); in testPnoListComparator() 595 assertEquals(enabledNetwork2, networks.get(1)); in testPnoListComparator() 596 assertEquals(tempDisabledNetwork1, networks.get(2)); in testPnoListComparator() [all …]
|
D | WifiConfigManagerTest.java | 223 List<WifiConfiguration> networks = new ArrayList<>(); in testAddSingleOpenNetwork() local 224 networks.add(openNetwork); in testAddSingleOpenNetwork() 231 networks, retrievedNetworks); in testAddSingleOpenNetwork() 243 List<WifiConfiguration> networks = new ArrayList<>(); in testUpdateSingleOpenNetwork() local 244 networks.add(openNetwork); in testUpdateSingleOpenNetwork() 258 networks, retrievedNetworks); in testUpdateSingleOpenNetwork() 271 List<WifiConfiguration> networks = new ArrayList<>(); in testAddSingleEphemeralNetwork() local 272 networks.add(ephemeralNetwork); in testAddSingleEphemeralNetwork() 279 networks, retrievedNetworks); in testAddSingleEphemeralNetwork() 318 List<WifiConfiguration> networks = new ArrayList<>(); in testUpdateSingleOpenNetworkFailedDueToPermissionDenied() local [all …]
|
D | WifiNetworkSelectorTestUtil.java | 324 List<ScoredNetwork> networks = new ArrayList<>(); in configureScoreCache() local 348 networks.add(scoredNetwork); in configureScoreCache() 351 scoreCache.updateScores(networks); in configureScoreCache()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiNetworkScoreCache.java | 89 @Override public final void updateScores(List<ScoredNetwork> networks) { in updateScores() argument 90 if (networks == null || networks.isEmpty()) { in updateScores() 94 Log.d(TAG, "updateScores list size=" + networks.size()); in updateScores() 100 for (ScoredNetwork network : networks) { in updateScores() 113 mListener.post(networks); in updateScores()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | IpConfigStore.java | 167 final SparseArray<IpConfiguration> networks) { in writeIpAndProxyConfigurations() argument 171 for(int i = 0; i < networks.size(); i++) { in writeIpAndProxyConfigurations() 172 writeConfig(out, networks.keyAt(i), networks.valueAt(i)); in writeIpAndProxyConfigurations() 193 SparseArray<IpConfiguration> networks = new SparseArray<IpConfiguration>(); in readIpAndProxyConfigurations() local 285 networks.put(id, config); in readIpAndProxyConfigurations() 344 return networks; in readIpAndProxyConfigurations()
|
/frameworks/base/proto/src/ |
D | wifi.proto | 30 // Number of saved networks in the user profile. 33 // Number of open networks in the saved networks. 36 // Number of personal networks. 39 // Number of enterprise networks. 54 // Number of networks added by the user. 57 // Number of networks added by applications. 148 // Total number of networks over bad association threshold when watchdog triggered 151 // Total number of networks over bad authentication threshold when watchdog triggered 154 // Total number of networks over bad dhcp threshold when watchdog triggered 157 // Total number of networks over bad other threshold when watchdog triggered [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | OpenNetworkRecommender.java | 40 public ScanResult recommendNetwork(@NonNull List<ScanDetail> networks, in recommendNetwork() argument 44 for (ScanDetail scanDetail : networks) { in recommendNetwork()
|
D | WifiBackupRestore.java | 406 SparseArray<IpConfiguration> networks = in retrieveConfigurationsFromSupplicantBackupData() local 409 if (networks != null) { in retrieveConfigurationsFromSupplicantBackupData() 410 for (int i = 0; i < networks.size(); i++) { in retrieveConfigurationsFromSupplicantBackupData() 411 int id = networks.keyAt(i); in retrieveConfigurationsFromSupplicantBackupData() 415 configuration.setIpConfiguration(networks.valueAt(i)); in retrieveConfigurationsFromSupplicantBackupData()
|
D | WifiConfigManager.java | 461 List<WifiConfiguration> networks = new ArrayList<>(); in getConfiguredNetworks() local 466 networks.add(createExternalWifiConfiguration(config, maskPasswords)); in getConfiguredNetworks() 468 return networks; in getConfiguredNetworks() 2332 List<WifiConfiguration> networks = new ArrayList<>(getInternalConfiguredNetworks()); in retrievePnoNetworkList() local 2334 Iterator<WifiConfiguration> iter = networks.iterator(); in retrievePnoNetworkList() 2343 Collections.sort(networks, sScanListComparator); in retrievePnoNetworkList() 2346 int priority = networks.size() - 1; in retrievePnoNetworkList() 2347 for (WifiConfiguration config : networks) { in retrievePnoNetworkList() 2367 List<WifiConfiguration> networks = new ArrayList<>(getInternalConfiguredNetworks()); in retrieveHiddenNetworkList() local 2369 Iterator<WifiConfiguration> iter = networks.iterator(); in retrieveHiddenNetworkList() [all …]
|
D | README.txt | 46 …nning from any app with Wi-Fi turned off. This is done by disabling all networks and allowing only…
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | NetworkRecommendationProviderTest.java | 100 public void onRequestScores(NetworkKey[] networks) { in onRequestScores() argument 101 mCapturedNetworks = networks; in onRequestScores()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkScoreService.java | 387 public boolean updateScores(ScoredNetwork[] networks) { in updateScores() argument 397 for (ScoredNetwork network : networks) { in updateScores() 833 public boolean requestScores(NetworkKey[] networks) { in requestScores() argument 840 provider.requestScores(networks); in requestScores()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 1343 public synchronized boolean setUnderlyingNetworks(Network[] networks) { in setUnderlyingNetworks() argument 1347 if (networks == null) { in setUnderlyingNetworks() 1350 mConfig.underlyingNetworks = new Network[networks.length]; in setUnderlyingNetworks() 1351 for (int i = 0; i < networks.length; ++i) { in setUnderlyingNetworks() 1352 if (networks[i] == null) { in setUnderlyingNetworks() 1355 mConfig.underlyingNetworks[i] = new Network(networks[i].netId); in setUnderlyingNetworks()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkScoreServiceTest.java | 229 final NetworkKey[] networks = new NetworkKey[0]; in testRequestScores_providerAvailable() local 230 assertTrue(mNetworkScoreService.requestScores(networks)); in testRequestScores_providerAvailable() 231 verify(mRecommendationProvider).requestScores(networks); in testRequestScores_providerAvailable()
|