Home
last modified time | relevance | path

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

12

/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/base/core/java/android/net/
DNetworkScoreManager.java164 public boolean updateScores(ScoredNetwork[] networks) throws SecurityException { in updateScores() argument
166 return mService.updateScores(networks); in updateScores()
237 public boolean requestScores(NetworkKey[] networks) throws SecurityException { in requestScores() argument
245 intent.putExtra(EXTRA_NETWORKS_TO_SCORE, networks); in requestScores()
DVpnService.java323 public boolean setUnderlyingNetworks(Network[] networks) { in setUnderlyingNetworks() argument
325 return getService().setUnderlyingNetworksForVpn(networks); in setUnderlyingNetworks()
715 public Builder setUnderlyingNetworks(Network[] networks) { in setUnderlyingNetworks() argument
716 mConfig.underlyingNetworks = networks != null ? networks.clone() : null; in setUnderlyingNetworks()
DINetworkScoreCache.aidl39 void updateScores(in List<ScoredNetwork> networks); in updateScores() argument
DINetworkScoreService.aidl33 boolean updateScores(in ScoredNetwork[] networks); in updateScores() argument
DIConnectivityManager.aidl164 boolean setUnderlyingNetworksForVpn(in Network[] networks); in setUnderlyingNetworksForVpn() argument
/frameworks/base/services/core/java/com/android/server/net/
DIpConfigStore.java165 final SparseArray<IpConfiguration> networks) { in writeIpAndProxyConfigurations() argument
169 for(int i = 0; i < networks.size(); i++) { in writeIpAndProxyConfigurations()
170 writeConfig(out, networks.keyAt(i), networks.valueAt(i)); in writeIpAndProxyConfigurations()
177 SparseArray<IpConfiguration> networks = new SparseArray<IpConfiguration>(); in readIpAndProxyConfigurations() local
270 networks.put(id, config); in readIpAndProxyConfigurations()
329 return networks; in readIpAndProxyConfigurations()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkScoreCache.java55 @Override public final void updateScores(List<android.net.ScoredNetwork> networks) { in updateScores() argument
56 if (networks == null) { in updateScores()
59 Log.e(TAG, "updateScores list size=" + networks.size()); in updateScores()
62 for (ScoredNetwork network : networks) { in updateScores()
DWifiConfigStore.java606 List<WifiConfiguration> networks = new ArrayList<>(); in getConfiguredNetworks() local
624 networks.add(newConfig); in getConfiguredNetworks()
626 return networks; in getConfiguredNetworks()
666 List<WifiConfiguration> networks = new ArrayList<WifiConfiguration>(); in getRecentConfiguredNetworks() local
686 networks.add(new WifiConfiguration(config)); in getRecentConfiguredNetworks()
688 networks.add(config); in getRecentConfiguredNetworks()
691 return networks; in getRecentConfiguredNetworks()
1634 final List<WifiConfiguration> networks = new ArrayList<WifiConfiguration>(); in writeKnownNetworkHistory() local
1636 networks.add(new WifiConfiguration(config)); in writeKnownNetworkHistory()
1652 for (WifiConfiguration config : networks) { in writeKnownNetworkHistory()
[all …]
DREADME.txt30 …nning from any app with Wi-Fi turned off. This is done by disabling all networks and allowing only…
DWifiAutoJoinController.java459 List<WifiConfiguration> networks = in updateConfigurationHistory() local
461 if (networks != null) size = networks.size(); in updateConfigurationHistory()
463 if (networks != null) { in updateConfigurationHistory()
464 for (WifiConfiguration config : networks) { in updateConfigurationHistory()
/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/monetization/
Dads-and-ux.jd45 lesson generically highlights concepts that are similar across advertising networks.</p>
48 as geo-targeting and ad-text font size, which may be configurable on some networks but not on
59 the Publisher ID. You should consult your advertising networks for details.</p>
61 <p>Mobile advertising networks typically distribute a specific Android SDK, which consists of code
64 <p>Most advertising networks distribute their SDK as a JAR file. Setting up ad network JAR file in
153 networks might support configurations with XML layout attributes (as shown above), runtime APIs, or
161 networks. Also, avoid placing ads too closely to UI controls to avoid inadvertent clicks.</p>
190 are passed to ad networks for targeting purposes. Let your users know and give them a chance to opt
216 <p>Some ad networks provide a test mode. This is useful during development and testing in which ad
/frameworks/base/services/core/java/com/android/server/
DNetworkScoreService.java146 public boolean updateScores(ScoredNetwork[] networks) { in updateScores() argument
154 for (ScoredNetwork network : networks) { in updateScores()
DConnectivityService.java857 final Network[] networks = getVpnUnderlyingNetworks(uid); in getUnfilteredActiveNetworkState() local
858 if (networks != null) { in getUnfilteredActiveNetworkState()
864 if (networks.length > 0) { in getUnfilteredActiveNetworkState()
865 nai = getNetworkAgentInfoForNetwork(networks[0]); in getUnfilteredActiveNetworkState()
1110 Network[] networks = vpn.getUnderlyingNetworks(); in getDefaultNetworkCapabilitiesForUser() local
1111 if (networks != null) { in getDefaultNetworkCapabilitiesForUser()
1112 for (Network network : networks) { in getDefaultNetworkCapabilitiesForUser()
4513 public boolean setUnderlyingNetworksForVpn(Network[] networks) { in setUnderlyingNetworksForVpn() argument
4517 return mVpns.get(user).setUnderlyingNetworks(networks); in setUnderlyingNetworksForVpn()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java789 public synchronized boolean setUnderlyingNetworks(Network[] networks) { in setUnderlyingNetworks() argument
793 if (networks == null) { in setUnderlyingNetworks()
796 mConfig.underlyingNetworks = new Network[networks.length]; in setUnderlyingNetworks()
797 for (int i = 0; i < networks.length; ++i) { in setUnderlyingNetworks()
798 if (networks[i] == null) { in setUnderlyingNetworks()
801 mConfig.underlyingNetworks[i] = new Network(networks[i].netId); in setUnderlyingNetworks()
/frameworks/base/docs/html/google/play-services/
Dads.jd18 Google's vast pool of advertisers. Integrate with top ad networks through
80 networks, you can do that too, with free ad network mediation.</p>
Did.jd76 user-resettable string identifier that lets ad networks and other apps anonymously
/frameworks/base/docs/html/training/basics/network-ops/
Dindex.jd18 <li>A device that is able to connect to mobile and Wi-Fi networks</li>
Dmanaging.jd112 handles cases like flaky mobile networks, airplane mode, and restricted
166 information about networks.</li>
/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/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/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java928 List<WifiConfiguration> networks = mWifiManager.getConfiguredNetworks(); in getSsid() local
929 int length = networks.size(); in getSsid()
931 if (networks.get(i).networkId == info.getNetworkId()) { in getSsid()
932 return networks.get(i).SSID; in getSsid()
/frameworks/base/docs/html/google/
Dindex.jd154 multiple ad networks with targeted ads and several display formats.
/frameworks/base/docs/html/about/versions/
Dandroid-4.0-highlights.jd313 3.</strong>-->Contacts and profiles are integrated across apps and social networks, for a
330 events, stream items, and a new button for connecting on integrated social networks. </p>
401 message, bluetooth, social networks, and more, just by tapping the thumbnail in
426 networks, or other apps.</p>
697 and calendar events from any of the user’s activities or social networks.</p>
705 and networks. Applications with user permission can also read profile data from
722 span multiple social networks and contacts sources.</p>
1020 <p>As users move between networks or set limits on network data, the platform

12