Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/net/
DNetworkRecommendationProvider.java74 public abstract void onRequestScores(NetworkKey[] networks); in onRequestScores() argument
99 public void requestScores(final NetworkKey[] networks) throws RemoteException { in requestScores() argument
101 if (networks != null && networks.length > 0) { in requestScores()
105 onRequestScores(networks); in requestScores()
DNetworkScoreManager.java307 public boolean updateScores(@NonNull ScoredNetwork[] networks) throws SecurityException { in updateScores() argument
309 return mService.updateScores(networks); in updateScores()
394 public boolean requestScores(@NonNull NetworkKey[] networks) throws SecurityException { in requestScores() argument
396 return mService.requestScores(networks); in requestScores()
419 public boolean requestScores(@NonNull Collection<NetworkKey> networks) in requestScores() argument
421 return requestScores(networks.toArray(new NetworkKey[0])); in requestScores()
496 public abstract void onScoresUpdated(@NonNull Collection<ScoredNetwork> networks); in onScoresUpdated() argument
517 public void updateScores(@NonNull List<ScoredNetwork> networks) { in updateScores() argument
521 mCallback.onScoresUpdated(networks); in updateScores()
DINetworkScoreService.aidl35 boolean updateScores(in ScoredNetwork[] networks); in updateScores() argument
91 boolean requestScores(in NetworkKey[] networks); in requestScores() argument
DVpnService.java374 public boolean setUnderlyingNetworks(Network[] networks) { in setUnderlyingNetworks() argument
376 return getService().setUnderlyingNetworksForVpn(networks); in setUnderlyingNetworks()
900 public Builder setUnderlyingNetworks(@Nullable Network[] networks) { in setUnderlyingNetworks() argument
901 mConfig.underlyingNetworks = networks != null ? networks.clone() : null; in setUnderlyingNetworks()
DINetworkRecommendationProvider.aidl36 void requestScores(in NetworkKey[] networks); in requestScores() argument
DINetworkScoreCache.aidl39 void updateScores(in List<ScoredNetwork> networks); in updateScores() argument
Dnetwork-policy-restrictions.md24 ## On metered networks
37 ## On non-metered networks
DIVpnManager.aidl37 boolean setUnderlyingNetworksForVpn(in Network[] networks); in setUnderlyingNetworksForVpn() argument
/frameworks/base/wifi/java/src/android/net/wifi/
DWifiNetworkScoreCache.java90 @Override public final void updateScores(List<ScoredNetwork> networks) { in updateScores() argument
91 if (networks == null || networks.isEmpty()) { in updateScores()
95 Log.d(TAG, "updateScores list size=" + networks.size()); in updateScores()
101 for (ScoredNetwork network : networks) { in updateScores()
114 mListener.post(networks); in updateScores()
/frameworks/base/wifi/java/src/android/net/wifi/sharedconnectivity/app/
DSharedConnectivityClientCallback.java39 void onHotspotNetworksUpdated(@NonNull List<HotspotNetwork> networks); in onHotspotNetworksUpdated() argument
47 void onKnownNetworksUpdated(@NonNull List<KnownNetwork> networks); in onKnownNetworksUpdated() argument
DSharedConnectivityManager.java101 public void onHotspotNetworksUpdated(@NonNull List<HotspotNetwork> networks) { in onHotspotNetworksUpdated() argument
105 mExecutor.execute(() -> mCallback.onHotspotNetworksUpdated(networks)); in onHotspotNetworksUpdated()
113 public void onKnownNetworksUpdated(@NonNull List<KnownNetwork> networks) { in onKnownNetworksUpdated() argument
117 mExecutor.execute(() -> mCallback.onKnownNetworksUpdated(networks)); in onKnownNetworksUpdated()
/frameworks/base/wifi/java/src/android/net/wifi/sharedconnectivity/service/
DISharedConnectivityCallback.aidl29 oneway void onHotspotNetworksUpdated(in List<HotspotNetwork> networks); in onHotspotNetworksUpdated() argument
31 oneway void onKnownNetworksUpdated(in List<KnownNetwork> networks); in onKnownNetworksUpdated() argument
DSharedConnectivityService.java299 public final void setHotspotNetworks(@NonNull List<HotspotNetwork> networks) { in setHotspotNetworks() argument
300 mHotspotNetworks = networks; in setHotspotNetworks()
322 public final void setKnownNetworks(@NonNull List<KnownNetwork> networks) { in setKnownNetworks() argument
323 mKnownNetworks = networks; in setKnownNetworks()
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkRecommendationProviderTest.java117 public void onRequestScores(NetworkKey[] networks) { in onRequestScores() argument
118 mCapturedNetworks = networks; in onRequestScores()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DAccessNetworksManager.java638 for (QualifiedNetworks networks : networksList) { in setPreferredTransports()
639 if (networks.qualifiedNetworks.length > 0) { in setPreferredTransports()
640 int transport = getTransportFromAccessNetwork(networks.qualifiedNetworks[0]); in setPreferredTransports()
641 if (getPreferredTransport(networks.apnType) != transport) { in setPreferredTransports()
642 mPreferredTransports.put(networks.apnType, transport); in setPreferredTransports()
646 DataUtils.apnTypeToNetworkCapability(networks.apnType), in setPreferredTransports()
649 + ApnSetting.getApnTypeString(networks.apnType) + ", transport=" in setPreferredTransports()
/frameworks/opt/telephony/flags/
Ddata.aconfig81 description: "Force networks that have PRIORITIZE_BANDWIDTH or PRIORITIZE_LATENCY to be metered."
108 description: "Request network validation for data networks and response status."
132 description: "Ignore existing networks when checking if internet is allowed"
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DBaseWifiTracker.java254 public void onHotspotNetworksUpdated(@NonNull List<HotspotNetwork> networks) { in createSharedConnectivityCallback()
255 handleHotspotNetworksUpdated(networks); in createSharedConnectivityCallback()
259 public void onKnownNetworksUpdated(@NonNull List<KnownNetwork> networks) { in createSharedConnectivityCallback() argument
260 handleKnownNetworksUpdated(networks); in createSharedConnectivityCallback()
608 protected void handleHotspotNetworksUpdated(List<HotspotNetwork> networks) {
617 protected void handleKnownNetworksUpdated(List<KnownNetwork> networks) {
DHotspotNetworkDetailsTracker.java132 protected void handleHotspotNetworksUpdated(List<HotspotNetwork> networks) { in handleHotspotNetworksUpdated() argument
134 mHotspotNetworkData = networks.stream().filter(network -> network.getDeviceId() in handleHotspotNetworksUpdated()
/frameworks/base/wifi/migration_samples/
DREADME.txt13 user's saved Wi-Fi networks.
27 user's saved passpoint networks, Wi-Fi network request approvals, etc.
/frameworks/base/core/java/android/net/thread/
Dflags.aconfig11 description: "Controls whether user restriction on thread networks is enabled"
/frameworks/base/services/core/java/com/android/server/net/
Dflags.aconfig14 description: "Use metered firewall chains to control access to metered networks"
/frameworks/opt/telephony/src/java/com/android/internal/telephony/domainselection/
DDomainSelectionConnection.java757 for (QualifiedNetworks networks : networksList) { in getPreferredTransport()
758 if (networks.qualifiedNetworks.length > 0) { in getPreferredTransport()
759 if (networks.apnType == apnType) { in getPreferredTransport()
760 return getTransportFromAccessNetwork(networks.qualifiedNetworks[0]); in getPreferredTransport()
/frameworks/base/core/proto/android/net/
Dnetworkrequest.proto39 // The framework will issue callbacks about any and all networks that
59 // Like REQUEST but does not cause any networks to retain the
Dnetworkcapabilities.proto81 // Untrusted networks are probably limited to unknown wifi AP. Set by
85 // default and should be explicitly cleared for VPN networks.
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1666 private void logUnderlyNetworkChanges(List<Network> networks) { in logUnderlyNetworkChanges() argument
1668 + ((networks != null) ? TextUtils.join(", ", networks) : "null")); in logUnderlyNetworkChanges()
2245 public synchronized boolean setUnderlyingNetworks(@Nullable Network[] networks) { in setUnderlyingNetworks() argument
2251 (networks != null) ? Arrays.copyOf(networks, networks.length) : null; in setUnderlyingNetworks()
3269 final List<Network> networks = Collections.singletonList(underlyingNetwork); in startOrMigrateIkeSession() local
3271 if (!networks.equals(mNetworkCapabilities.getUnderlyingNetworks())) { in startOrMigrateIkeSession()
3274 .setUnderlyingNetworks(networks) in startOrMigrateIkeSession()
3279 doSetUnderlyingNetworks(mNetworkAgent, networks); in startOrMigrateIkeSession()
4449 @NonNull NetworkAgent agent, @NonNull List<Network> networks) { in doSetUnderlyingNetworks() argument
4450 logUnderlyNetworkChanges(networks); in doSetUnderlyingNetworks()
[all …]

12