Home
last modified time | relevance | path

Searched refs:networks (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetConfigStore.java42 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/proto/
Dwifi.proto30 // 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/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java70 List<WifiConfiguration> networks = mWifiManager.getConfiguredNetworks(); in getSsid() local
71 int length = networks.size(); in getSsid()
73 if (networks.get(i).networkId == info.getNetworkId()) { in getSsid()
74 return networks.get(i).SSID; in getSsid()
/frameworks/base/core/java/android/net/
DNetworkScoreManager.java165 public boolean updateScores(ScoredNetwork[] networks) throws SecurityException { in updateScores() argument
167 return mService.updateScores(networks); in updateScores()
239 public boolean requestScores(NetworkKey[] networks) throws SecurityException { in requestScores() argument
247 intent.putExtra(EXTRA_NETWORKS_TO_SCORE, networks); in requestScores()
DVpnService.java324 public boolean setUnderlyingNetworks(Network[] networks) { in setUnderlyingNetworks() argument
326 return getService().setUnderlyingNetworksForVpn(networks); in setUnderlyingNetworks()
716 public Builder setUnderlyingNetworks(Network[] networks) { in setUnderlyingNetworks() argument
717 mConfig.underlyingNetworks = networks != null ? networks.clone() : null; in setUnderlyingNetworks()
DINetworkScoreCache.aidl39 void updateScores(in List<ScoredNetwork> networks); in updateScores() argument
Dnetwork-policy-restrictions.md24 ## On metered networks
37 ## On non-metered networks
DINetworkScoreService.aidl33 boolean updateScores(in ScoredNetwork[] networks); in updateScores() argument
DIConnectivityManager.aidl170 boolean setUnderlyingNetworksForVpn(in Network[] networks); in setUnderlyingNetworksForVpn() argument
/frameworks/base/services/core/java/com/android/server/net/
DIpConfigStore.java163 final SparseArray<IpConfiguration> networks) { in writeIpAndProxyConfigurations() argument
167 for(int i = 0; i < networks.size(); i++) { in writeIpAndProxyConfigurations()
168 writeConfig(out, networks.keyAt(i), networks.valueAt(i)); in writeIpAndProxyConfigurations()
175 SparseArray<IpConfiguration> networks = new SparseArray<IpConfiguration>(); in readIpAndProxyConfigurations() local
268 networks.put(id, config); in readIpAndProxyConfigurations()
327 return networks; in readIpAndProxyConfigurations()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkScoreCache.java53 @Override public final void updateScores(List<android.net.ScoredNetwork> networks) { in updateScores() argument
54 if (networks == null) { in updateScores()
57 Log.e(TAG, "updateScores list size=" + networks.size()); in updateScores()
60 for (ScoredNetwork network : networks) { in updateScores()
DWifiConfigManager.java453 List<WifiConfiguration> networks = new ArrayList<>(); in getSavedNetworks() local
470 networks.add(newConfig); in getSavedNetworks()
472 return networks; in getSavedNetworks()
479 List<WifiConfiguration> networks = new ArrayList<>(); in getAllConfiguredNetworks() local
482 networks.add(newConfig); in getAllConfiguredNetworks()
484 return networks; in getAllConfiguredNetworks()
581 List<WifiConfiguration> networks = new ArrayList<WifiConfiguration>(); in getRecentSavedNetworks() local
605 networks.add(new WifiConfiguration(config)); in getRecentSavedNetworks()
607 networks.add(config); in getRecentSavedNetworks()
610 return networks; in getRecentSavedNetworks()
[all …]
DREADME.txt30 …nning from any app with Wi-Fi turned off. This is done by disabling all networks and allowing only…
DWifiNetworkHistory.java131 public void writeKnownNetworkHistory(final List<WifiConfiguration> networks, in writeKnownNetworkHistory() argument
144 for (WifiConfiguration config : networks) { in writeKnownNetworkHistory()
/frameworks/base/docs/html/distribute/analyze/
Dimprove-roi.jd19 download your app using different ad networks, formats, and payment methods.
73 When analyzing networks’ performance, it's important to take into
75 networks are providing positive ROI, as the positive profit illustrates;
82 users are not spending as much as users from the other networks
115 You can use a wide range of networks to drive installs of your apps. With
116 Google Analytics you can easily report campaign data from many networks. Once
/frameworks/base/docs/html/training/basics/network-ops/
Ddata-saver.jd183 permissions or set wireless networks as metered to test your app on unmetered
184 networks.
236 <code>$ adb shell cmd netpolicy list wifi-networks</code>
240 Lists all wifi networks, displaying whether they're metered.
Dindex.jd18 <li>A device that is able to connect to mobile and Wi-Fi networks</li>
/frameworks/base/docs/html/distribute/users/
Dpromote-with-ads.jd17 app promotion across Google networks and find customers who are most likely to
23 networks. This type of campaign allocates ads, bids, and budgets automatically,
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1176 public synchronized boolean setUnderlyingNetworks(Network[] networks) { in setUnderlyingNetworks() argument
1180 if (networks == null) { in setUnderlyingNetworks()
1183 mConfig.underlyingNetworks = new Network[networks.length]; in setUnderlyingNetworks()
1184 for (int i = 0; i < networks.length; ++i) { in setUnderlyingNetworks()
1185 if (networks[i] == null) { in setUnderlyingNetworks()
1188 mConfig.underlyingNetworks[i] = new Network(networks[i].netId); in setUnderlyingNetworks()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java566 String networks = header; in testLoadConfiguredNetworks() local
568 networks += "\n" + Integer.toString(config.networkId) + "\t" + config.SSID + "\tany"; in testLoadConfiguredNetworks()
571 when(mWifiNative.listNetworks(-1)).thenReturn(networks); in testLoadConfiguredNetworks()
655 final String networks = in testLoadConfiguredNetworksEliminatesDuplicates() local
658 when(mWifiNative.listNetworks(-1)).thenReturn(networks); in testLoadConfiguredNetworksEliminatesDuplicates()
840 String networks = header + "\n" + Integer.toString(0) + "\t" + ssid + "\tany"; in testSaveLoadSingleEapNetwork() local
842 when(mWifiNative.listNetworks(-1)).thenReturn(networks); in testSaveLoadSingleEapNetwork()
/frameworks/base/services/core/java/com/android/server/
DNetworkScoreService.java259 public boolean updateScores(ScoredNetwork[] networks) { in updateScores() argument
267 for (ScoredNetwork network : networks) { in updateScores()
/frameworks/base/docs/html/guide/practices/app-design/
Dseamlessness.jd195 GSM networks. Even 3G-capable devices will spend lots of time on non-3G
196 networks, so slow networks will remain a reality for quite a long time to
201 always plan for it to be slow. If your users happen to be on faster networks,
/frameworks/base/docs/html/guide/practices/
Dseamlessness.jd196 GSM networks. Even 3G-capable devices will spend lots of time on non-3G
197 networks, so slow networks will remain a reality for quite a long time to
202 always plan for it to be slow. If your users happen to be on faster networks,
/frameworks/base/docs/html/topic/performance/power/network/
Daction-any-traffic.jd92 You can use the connectivity manager to determine what type of networks (Wi-FI, LTE, HSPAP, EDGE,
/frameworks/base/docs/html/wear/preview/features/
Dstandalone-apps.jd200 networks are used, depending on the hardware. The Wear platform handles
201 transitions between networks. A watch's network access thus does not
375 Note that some low-bandwidth networks, such as Bluetooth LE, are

123