Merge "Update udc-extended-api that ignores FlaggedAPI annotation" into main

This commit is contained in:
Motomu Utsumi 2023-11-02 09:23:37 +00:00 • committed by Gerrit Code Review
commit 2a2e2c34b0
2 changed files with 3 additions and 0 deletions

View file

@ -305,6 +305,7 @@ package android.net {
ctor public NetworkStats(long, int);
method @NonNull public android.net.NetworkStats add(@NonNull android.net.NetworkStats);
method @NonNull public android.net.NetworkStats addEntry(@NonNull android.net.NetworkStats.Entry);
method public android.net.NetworkStats clone();
method public int describeContents();
method @NonNull public java.util.Iterator<android.net.NetworkStats.Entry> iterator();
method @NonNull public android.net.NetworkStats subtract(@NonNull android.net.NetworkStats);

View file

@ -94,6 +94,7 @@ package android.net {
}
public final class DscpPolicy implements android.os.Parcelable {
method public int describeContents();
method @Nullable public java.net.InetAddress getDestinationAddress();
method @Nullable public android.util.Range<java.lang.Integer> getDestinationPortRange();
method public int getDscpValue();
@ -101,6 +102,7 @@ package android.net {
method public int getProtocol();
method @Nullable public java.net.InetAddress getSourceAddress();
method public int getSourcePort();
method public void writeToParcel(@NonNull android.os.Parcel, int);
field @NonNull public static final android.os.Parcelable.Creator<android.net.DscpPolicy> CREATOR;
field public static final int PROTOCOL_ANY = -1; // 0xffffffff
field public static final int SOURCE_PORT_ANY = -1; // 0xffffffff