/frameworks/base/core/java/android/net/ |
D | NetworkRecommendationProvider.java | 74 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()
|
D | NetworkScoreManager.java | 307 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()
|
D | INetworkScoreService.aidl | 35 boolean updateScores(in ScoredNetwork[] networks); in updateScores() argument 91 boolean requestScores(in NetworkKey[] networks); in requestScores() argument
|
D | VpnService.java | 374 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()
|
D | INetworkRecommendationProvider.aidl | 36 void requestScores(in NetworkKey[] networks); in requestScores() argument
|
D | INetworkScoreCache.aidl | 39 void updateScores(in List<ScoredNetwork> networks); in updateScores() argument
|
D | network-policy-restrictions.md | 24 ## On metered networks 37 ## On non-metered networks
|
D | IVpnManager.aidl | 37 boolean setUnderlyingNetworksForVpn(in Network[] networks); in setUnderlyingNetworksForVpn() argument
|
/frameworks/base/wifi/java/src/android/net/wifi/ |
D | WifiNetworkScoreCache.java | 90 @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/ |
D | SharedConnectivityClientCallback.java | 39 void onHotspotNetworksUpdated(@NonNull List<HotspotNetwork> networks); in onHotspotNetworksUpdated() argument 47 void onKnownNetworksUpdated(@NonNull List<KnownNetwork> networks); in onKnownNetworksUpdated() argument
|
D | SharedConnectivityManager.java | 101 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/ |
D | ISharedConnectivityCallback.aidl | 29 oneway void onHotspotNetworksUpdated(in List<HotspotNetwork> networks); in onHotspotNetworksUpdated() argument 31 oneway void onKnownNetworksUpdated(in List<KnownNetwork> networks); in onKnownNetworksUpdated() argument
|
D | SharedConnectivityService.java | 299 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/ |
D | NetworkRecommendationProviderTest.java | 117 public void onRequestScores(NetworkKey[] networks) { in onRequestScores() argument 118 mCapturedNetworks = networks; in onRequestScores()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/ |
D | AccessNetworksManager.java | 638 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/ |
D | data.aconfig | 81 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/ |
D | BaseWifiTracker.java | 254 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) {
|
D | HotspotNetworkDetailsTracker.java | 132 protected void handleHotspotNetworksUpdated(List<HotspotNetwork> networks) { in handleHotspotNetworksUpdated() argument 134 mHotspotNetworkData = networks.stream().filter(network -> network.getDeviceId() in handleHotspotNetworksUpdated()
|
/frameworks/base/wifi/migration_samples/ |
D | README.txt | 13 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/ |
D | flags.aconfig | 11 description: "Controls whether user restriction on thread networks is enabled"
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | flags.aconfig | 14 description: "Use metered firewall chains to control access to metered networks"
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/domainselection/ |
D | DomainSelectionConnection.java | 757 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/ |
D | networkrequest.proto | 39 // The framework will issue callbacks about any and all networks that 59 // Like REQUEST but does not cause any networks to retain the
|
D | networkcapabilities.proto | 81 // 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/ |
D | Vpn.java | 1666 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 …]
|