Merge changes from topics "revert-1645768-revert-1626206-replaceUidRange-MSYTKFNGUE-HIUTVTIGIR", "ti_redaction"
* changes: TransportInfo: Add a generic redaction mechanism Revert "Revert "Expose uids related APIs in NetworkRequest and N..." Revert^2 "Replace the usage of UidRange"
This commit is contained in:
@@ -37,9 +37,24 @@ package android.net {
|
||||
}
|
||||
|
||||
public final class NetworkCapabilities implements android.os.Parcelable {
|
||||
ctor public NetworkCapabilities(@Nullable android.net.NetworkCapabilities, long);
|
||||
method @Nullable public java.util.Set<android.util.Range<java.lang.Integer>> getUids();
|
||||
field public static final long REDACT_ALL = -1L; // 0xffffffffffffffffL
|
||||
field public static final long REDACT_FOR_ACCESS_FINE_LOCATION = 1L; // 0x1L
|
||||
field public static final long REDACT_FOR_LOCAL_MAC_ADDRESS = 2L; // 0x2L
|
||||
field public static final long REDACT_FOR_NETWORK_SETTINGS = 4L; // 0x4L
|
||||
field public static final long REDACT_NONE = 0L; // 0x0L
|
||||
field public static final int TRANSPORT_TEST = 7; // 0x7
|
||||
}
|
||||
|
||||
public static final class NetworkCapabilities.Builder {
|
||||
method @NonNull public android.net.NetworkCapabilities.Builder setUids(@Nullable java.util.Set<android.util.Range<java.lang.Integer>>);
|
||||
}
|
||||
|
||||
public static class NetworkRequest.Builder {
|
||||
method @NonNull public android.net.NetworkRequest.Builder setUids(@Nullable java.util.Set<android.util.Range<java.lang.Integer>>);
|
||||
}
|
||||
|
||||
public class ParseException extends java.lang.RuntimeException {
|
||||
ctor public ParseException(@NonNull String);
|
||||
ctor public ParseException(@NonNull String, @NonNull Throwable);
|
||||
@@ -80,6 +95,11 @@ package android.net {
|
||||
field @NonNull public static final android.os.Parcelable.Creator<android.net.TestNetworkSpecifier> CREATOR;
|
||||
}
|
||||
|
||||
public interface TransportInfo {
|
||||
method public default long getApplicableRedactions();
|
||||
method @NonNull public default android.net.TransportInfo makeCopy(long);
|
||||
}
|
||||
|
||||
public final class VpnTransportInfo implements android.os.Parcelable android.net.TransportInfo {
|
||||
ctor public VpnTransportInfo(int);
|
||||
method public int describeContents();
|
||||
|
||||
@@ -261,7 +261,6 @@ package android.net {
|
||||
}
|
||||
|
||||
public final class NetworkCapabilities implements android.os.Parcelable {
|
||||
ctor public NetworkCapabilities(@Nullable android.net.NetworkCapabilities, boolean);
|
||||
method @NonNull public int[] getAdministratorUids();
|
||||
method @Nullable public String getSsid();
|
||||
method @NonNull public int[] getTransportTypes();
|
||||
@@ -435,11 +434,6 @@ package android.net {
|
||||
field public final int tcpWindowScale;
|
||||
}
|
||||
|
||||
public interface TransportInfo {
|
||||
method public default boolean hasLocationSensitiveFields();
|
||||
method @NonNull public default android.net.TransportInfo makeCopy(boolean);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
package android.net.apf {
|
||||
|
||||
Reference in New Issue
Block a user