Searched refs:networks (Results 1 - 14 of 14) sorted by relevance

/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
H A DEthernetConfigStore.java42 SparseArray<IpConfiguration> networks = readIpAndProxyConfigurations(ipConfigFile);
44 if (networks.size() == 0) {
49 if (networks.size() > 1) {
54 return networks.valueAt(0);
58 SparseArray<IpConfiguration> networks = new SparseArray<IpConfiguration>();
59 networks.put(0, config);
60 writeIpAndProxyConfigurations(ipConfigFile, networks);
/frameworks/base/core/java/android/net/
H A DINetworkScoreCache.aidl22 * A service which stores a subset of scored networks from the active network scorer.
39 void updateScores(in List<ScoredNetwork> networks);
H A DINetworkScoreService.aidl33 boolean updateScores(in ScoredNetwork[] networks);
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.java292 * Sets the underlying networks used by the VPN for its upstream connections.
294 * <p>Used by the system to know the actual networks that carry traffic for apps affected by
303 * <p>{@code networks} is one of the following:
307 * networks to carry app traffic, but prefers or uses wifi more than mobile, wifi should appear
319 * @param networks An array of networks the VPN uses to tunnel traffic to/from its servers.
323 public boolean setUnderlyingNetworks(Network[] networks) { argument
325 return getService().setUnderlyingNetworksForVpn(networks);
707 * Sets the underlying networks used by the VPN for its upstream connections.
711 * @param networks A
715 setUnderlyingNetworks(Network[] networks) argument
[all...]
H A DIConnectivityManager.aidl164 boolean setUnderlyingNetworksForVpn(in Network[] networks);
/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) {
H A DWifiConfigStore.java88 * wifi networks. The API is not thread safe is being
128 * - Maintain a list of configured networks for quick access
141 /* configured networks with network id as the key */
147 * the configuration file at start and can thus change for networks.
148 * We store the IP configuration for networks along with a unique id
157 * so as, framework knows not to re-add those SSIDs automatically to the Saved networks
170 /* Tracks the highest priority of configured networks */
366 // Boost RSSI values of associated networks
592 * Fetch the list of configured networks
593 * and enable all stored networks i
[all...]
H A DWifiAutoJoinController.java67 /** Whether to allow connections to untrusted networks. */
407 * as those networks get a relative lower score than the selected configuration
459 List<WifiConfiguration> networks =
461 if (networks != null) size = networks.size();
462 logDbg("updateConfigurationHistory found " + size + " networks");
463 if (networks != null) {
464 for (WifiConfiguration config : networks) {
752 * b/18490330 only use scorer for untrusted networks
1245 * Return false if no acceptable networks wer
[all...]
/frameworks/base/services/core/java/com/android/server/net/
H A DIpConfigStore.java165 final SparseArray<IpConfiguration> networks) {
169 for(int i = 0; i < networks.size(); i++) {
170 writeConfig(out, networks.keyAt(i), networks.valueAt(i));
177 SparseArray<IpConfiguration> networks = new SparseArray<IpConfiguration>();
270 networks.put(id, config);
329 return networks;
164 writeIpAndProxyConfigurations(String filePath, final SparseArray<IpConfiguration> networks) argument
/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.java251 // Tear down unvalidated networks that have no chance (i.e. even if validated) of becoming
253 // known that there may be unvalidated networks that could potentially be reaped, and when
254 // all networks have been rematched against all NetworkRequests.
256 // Don't reap unvalidated networks. This should be passed when it's known that there are
257 // no unvalidated networks that could potentially be reaped, and when some networks have
857 final Network[] networks = getVpnUnderlyingNetworks(uid);
858 if (networks != null) {
862 // non-empty array => the VPN specified one or more default networks; we use the
864 if (networks
4513 setUnderlyingNetworksForVpn(Network[] networks) argument
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DVpn.java789 public synchronized boolean setUnderlyingNetworks(Network[] networks) { argument
793 if (networks == null) {
796 mConfig.underlyingNetworks = new Network[networks.length];
797 for (int i = 0; i < networks.length; ++i) {
798 if (networks[i] == null) {
801 mConfig.underlyingNetworks[i] = new Network(networks[i].netId);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DNetworkControllerImpl.java928 List<WifiConfiguration> networks = mWifiManager.getConfiguredNetworks();
929 int length = networks.size();
931 if (networks.get(i).networkId == info.getNetworkId()) {
932 return networks.get(i).SSID;

Completed in 4844 milliseconds