Searched defs:networks (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/core/java/android/net/
H A DNetworkScoreManager.java45 * networks and (eventually) calls {@link #updateScores} with the results. If this receiver
77 * to the current active scorer app. That app is responsible for scoring the networks and
78 * calling {@link #updateScores} when complete. The networks to score are specified in
79 * {@link #EXTRA_NETWORKS_TO_SCORE}, and will generally consist of all networks which have been
80 * configured by the user as well as any open networks.
88 * Extra used with {@link #ACTION_SCORE_NETWORKS} to specify the networks to be scored, as an
156 * <p>This may be called at any time to re-score active networks. Scores will generally be
160 * @param networks the networks which have been scored by the scorer.
164 public boolean updateScores(ScoredNetwork[] networks) throw argument
237 requestScores(NetworkKey[] networks) argument
[all...]
H A DVpnService.java293 * Sets the underlying networks used by the VPN for its upstream connections.
295 * <p>Used by the system to know the actual networks that carry traffic for apps affected by
304 * <p>{@code networks} is one of the following:
308 * networks to carry app traffic, but prefers or uses wifi more than mobile, wifi should appear
320 * @param networks An array of networks the VPN uses to tunnel traffic to/from its servers.
324 public boolean setUnderlyingNetworks(Network[] networks) { argument
326 return getService().setUnderlyingNetworksForVpn(networks);
708 * Sets the underlying networks used by the VPN for its upstream connections.
712 * @param networks A
716 setUnderlyingNetworks(Network[] networks) argument
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiNetworkScoreCache.java55 @Override public final void updateScores(List<android.net.ScoredNetwork> networks) { argument
56 if (networks == null) {
59 Log.e(TAG, "updateScores list size=" + networks.size());
62 for (ScoredNetwork network : networks) {
/frameworks/base/services/core/java/com/android/server/
H A DNetworkScoreService.java146 public boolean updateScores(ScoredNetwork[] networks) { argument
152 // Separate networks by type.
154 for (ScoredNetwork network : networks) {
H A DConnectivityService.java224 // Tear down networks that have no chance (e.g. even if validated) of becoming
226 // all networks have been rematched against all NetworkRequests.
228 // Don't reap networks. This should be passed when some networks have not yet been
892 final Network[] networks = getVpnUnderlyingNetworks(uid);
893 if (networks != null) {
897 // non-empty array => the VPN specified one or more default networks; we use the
899 if (networks.length > 0) {
900 nai = getNetworkAgentInfoForNetwork(networks[0]);
1021 // A VPN is active, so we may need to return one of its underlying networks
4700 setUnderlyingNetworksForVpn(Network[] networks) argument
[all...]
/frameworks/base/services/core/java/com/android/server/net/
H A DIpConfigStore.java159 final SparseArray<IpConfiguration> networks) {
163 for(int i = 0; i < networks.size(); i++) {
164 writeConfig(out, networks.keyAt(i), networks.valueAt(i));
171 SparseArray<IpConfiguration> networks = new SparseArray<IpConfiguration>();
264 networks.put(id, config);
323 return networks;
158 writeIpAndProxyConfigurations(String filePath, final SparseArray<IpConfiguration> networks) argument
/frameworks/opt/net/wifi/service/lib/
H A Dwifi_hal_stub.cpp146 wifi_epno_network *networks, wifi_epno_handler handler) {
145 wifi_set_epno_list_stub(int id, wifi_interface_info *iface, int num_networks, wifi_epno_network *networks, wifi_epno_handler handler) argument
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DVpn.java810 public synchronized boolean setUnderlyingNetworks(Network[] networks) { argument
814 if (networks == null) {
817 mConfig.underlyingNetworks = new Network[networks.length];
818 for (int i = 0; i < networks.length; ++i) {
819 if (networks[i] == null) {
822 mConfig.underlyingNetworks[i] = new Network(networks[i].netId);

Completed in 273 milliseconds