diff options
author | Remi NGUYEN VAN <reminv@google.com> | 2021-03-25 02:05:07 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2021-03-25 02:05:07 +0000 |
commit | c80f7f3434e2a521c2c6d69cb08b6d27125bfd59 (patch) | |
tree | f0135f10d9c9e96b0ca265f37073f0b4cc7ab45d /common | |
parent | 48c3174e0f319bd260362f04543366c06ddaf9ae (diff) | |
parent | 4c4e29d67969ec3df46734ca2adece66b3854b4c (diff) | |
download | net-c80f7f3434e2a521c2c6d69cb08b6d27125bfd59.tar.gz |
Merge "Add visibility to net-utils-framework-srcs" into sc-dev
Diffstat (limited to 'common')
5 files changed, 8 insertions, 1 deletions
diff --git a/common/Android.bp b/common/Android.bp index 03296e73..a341b0fb 100644 --- a/common/Android.bp +++ b/common/Android.bp @@ -121,7 +121,10 @@ filegroup { name: "net-utils-framework-common-srcs", srcs: ["framework/**/*.java"], path: "framework", - visibility: ["//frameworks/base"], + visibility: [ + "//frameworks/base", + "//frameworks/base/packages/Connectivity/framework", + ], } java_library { diff --git a/common/framework/com/android/net/module/util/CollectionUtils.java b/common/framework/com/android/net/module/util/CollectionUtils.java index 2223443d..44d0a6e9 100644 --- a/common/framework/com/android/net/module/util/CollectionUtils.java +++ b/common/framework/com/android/net/module/util/CollectionUtils.java @@ -26,6 +26,7 @@ import java.util.function.Predicate; /** * Utilities for {@link Collection} and arrays. + * @hide */ public final class CollectionUtils { private CollectionUtils() {} diff --git a/common/framework/com/android/net/module/util/ConnectivityUtils.java b/common/framework/com/android/net/module/util/ConnectivityUtils.java index 382912bf..c135e466 100644 --- a/common/framework/com/android/net/module/util/ConnectivityUtils.java +++ b/common/framework/com/android/net/module/util/ConnectivityUtils.java @@ -24,6 +24,7 @@ import java.net.InetAddress; /** * Various utilities used in connectivity code. + * @hide */ public final class ConnectivityUtils { private ConnectivityUtils() {} diff --git a/common/framework/com/android/net/module/util/NetworkCapabilitiesUtils.java b/common/framework/com/android/net/module/util/NetworkCapabilitiesUtils.java index 568a3561..47b0fc86 100644 --- a/common/framework/com/android/net/module/util/NetworkCapabilitiesUtils.java +++ b/common/framework/com/android/net/module/util/NetworkCapabilitiesUtils.java @@ -47,6 +47,7 @@ import com.android.internal.annotations.VisibleForTesting; /** * Utilities to examine {@link android.net.NetworkCapabilities}. + * @hide */ public final class NetworkCapabilitiesUtils { // Transports considered to classify networks in UI, in order of which transport should be diff --git a/common/framework/com/android/net/module/util/NetworkIdentityUtils.java b/common/framework/com/android/net/module/util/NetworkIdentityUtils.java index 94e60178..b641753c 100644 --- a/common/framework/com/android/net/module/util/NetworkIdentityUtils.java +++ b/common/framework/com/android/net/module/util/NetworkIdentityUtils.java @@ -21,6 +21,7 @@ import android.annotation.Nullable; /** * Utilities to examine {@link android.net.NetworkIdentity}. + * @hide */ public class NetworkIdentityUtils { /** |