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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DOpenNetworkRecommender.java36 * @param networks List of scan details to pick a recommendation. This list should not be null
40 public ScanResult recommendNetwork(@NonNull List<ScanDetail> networks, argument
44 for (ScanDetail scanDetail : networks) {
H A DWifiMetrics.java834 * @param count number of networks over bad association threshold when watchdog triggered
842 * @param count number of networks over bad authentication threshold when watchdog triggered
850 * @param count number of networks over bad dhcp threshold when watchdog triggered
858 * @param count number of networks over bad other threshold when watchdog triggered
866 * @param count number of networks seen when watchdog triggered
1009 * Counts all the different types of networks seen in a set of scan results
1664 * @param networks List of WifiConfigurations representing all saved networks, must not be null
1666 public void updateSavedNetworks(List<WifiConfiguration> networks) { argument
1668 mWifiLogProto.numSavedNetworks = networks
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkRecommendationProvider.java72 * @param networks a non-empty array of {@link NetworkKey}s to score.
74 public abstract void onRequestScores(NetworkKey[] networks); argument
99 public void requestScores(final NetworkKey[] networks) throws RemoteException { argument
101 if (networks != null && networks.length > 0) {
105 onRequestScores(networks);
H A DNetworkScoreManager.java70 * to the current active scorer app. That app is responsible for scoring the networks and
71 * calling {@link #updateScores} when complete. The networks to score are specified in
72 * {@link #EXTRA_NETWORKS_TO_SCORE}, and will generally consist of all networks which have been
73 * configured by the user as well as any open networks.
81 * Extra used with {@link #ACTION_SCORE_NETWORKS} to specify the networks to be scored, as an
89 * and secures open wifi networks available before enabling it. Applications that enable this
106 * name of the application that connects and secures open wifi networks automatically. The
272 * <p>This may be called at any time to re-score active networks. Scores will generally be
276 * @param networks the networks whic
281 updateScores(ScoredNetwork[] networks) argument
355 requestScores(NetworkKey[] networks) argument
[all...]
H A DVpnService.java330 * Sets the underlying networks used by the VPN for its upstream connections.
332 * <p>Used by the system to know the actual networks that carry traffic for apps affected by
341 * <p>{@code networks} is one of the following:
345 * networks to carry app traffic, but prefers or uses wifi more than mobile, wifi should appear
357 * @param networks An array of networks the VPN uses to tunnel traffic to/from its servers.
361 public boolean setUnderlyingNetworks(Network[] networks) { argument
363 return getService().setUnderlyingNetworksForVpn(networks);
745 * Sets the underlying networks used by the VPN for its upstream connections.
749 * @param networks A
753 setUnderlyingNetworks(Network[] networks) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/net/
H A DNetworkRecommendationProviderTest.java100 public void onRequestScores(NetworkKey[] networks) { argument
101 mCapturedNetworks = networks;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
H A DThreeGPPNetworkElement.java50 public ThreeGPPNetworkElement(List<CellularNetwork> networks) { argument
52 mNetworks = networks;
79 List<CellularNetwork> networks = new ArrayList<>();
83 networks.add(network);
86 return new ThreeGPPNetworkElement(networks);
/frameworks/base/services/core/java/com/android/server/net/
H A DIpConfigStore.java167 final SparseArray<IpConfiguration> networks) {
171 for(int i = 0; i < networks.size(); i++) {
172 writeConfig(out, networks.keyAt(i), networks.valueAt(i));
193 SparseArray<IpConfiguration> networks = new SparseArray<IpConfiguration>();
285 networks.put(id, config);
344 return networks;
166 writeIpAndProxyConfigurations(String filePath, final SparseArray<IpConfiguration> networks) argument
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiNetworkScoreCache.java89 @Override public final void updateScores(List<ScoredNetwork> networks) { argument
90 if (networks == null || networks.isEmpty()) {
94 Log.d(TAG, "updateScores list size=" + networks.size());
100 for (ScoredNetwork network : networks) {
113 mListener.post(networks);
311 * @param updatedNetworks the networks that were updated
/frameworks/base/services/core/java/com/android/server/
H A DNetworkScoreService.java387 public boolean updateScores(ScoredNetwork[] networks) { argument
395 // Separate networks by type.
397 for (ScoredNetwork network : networks) {
833 public boolean requestScores(NetworkKey[] networks) { argument
840 provider.requestScores(networks);
H A DConnectivityService.java252 // Tear down networks that have no chance (e.g. even if validated) of becoming
254 // all networks have been rematched against all NetworkRequests.
256 // Don't reap networks. This should be passed when some networks have not yet been
984 final Network[] networks = getVpnUnderlyingNetworks(uid);
985 if (networks != null) {
989 // non-empty array => the VPN specified one or more default networks; we use the
991 if (networks.length > 0) {
992 nai = getNetworkAgentInfoForNetwork(networks[0]);
1136 // A VPN is active, so we may need to return one of its underlying networks
5446 setUnderlyingNetworksForVpn(Network[] networks) argument
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DVpn.java156 * apps can still bypass by choosing explicit networks. Has no effect if {@link mAlwaysOn} is
1331 public synchronized boolean setUnderlyingNetworks(Network[] networks) { argument
1335 if (networks == null) {
1338 mConfig.underlyingNetworks = new Network[networks.length];
1339 for (int i = 0; i < networks.length; ++i) {
1340 if (networks[i] == null) {
1343 mConfig.underlyingNetworks[i] = new Network(networks[i].netId);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DConnectivityServiceMock.java258 // by other networks that are already connected. Perhaps that can be done by
293 // // after we've rematched networks with requests which should make a potential
819 // Find all networks that are satisfying this request and remove the request
877 // listens don't have a singular affectedNetwork. Check all networks to see
928 public boolean setUnderlyingNetworksForVpn(Network[] networks) { argument

Completed in 8618 milliseconds