diff options
Diffstat (limited to 'current/sdk_library/system/framework-connectivity.txt')
-rw-r--r-- | current/sdk_library/system/framework-connectivity.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/current/sdk_library/system/framework-connectivity.txt b/current/sdk_library/system/framework-connectivity.txt index f1298ce..4a2ed8a 100644 --- a/current/sdk_library/system/framework-connectivity.txt +++ b/current/sdk_library/system/framework-connectivity.txt @@ -433,6 +433,7 @@ package android.net { public abstract class QosFilter { method @NonNull public abstract android.net.Network getNetwork(); method public abstract boolean matchesLocalAddress(@NonNull java.net.InetAddress, int, int); + method public boolean matchesProtocol(int); method public abstract boolean matchesRemoteAddress(@NonNull java.net.InetAddress, int, int); } @@ -453,6 +454,7 @@ package android.net { public final class QosSocketInfo implements android.os.Parcelable { ctor public QosSocketInfo(@NonNull android.net.Network, @NonNull java.net.Socket) throws java.io.IOException; + ctor public QosSocketInfo(@NonNull android.net.Network, @NonNull java.net.DatagramSocket) throws java.io.IOException; method public int describeContents(); method @NonNull public java.net.InetSocketAddress getLocalSocketAddress(); method @NonNull public android.net.Network getNetwork(); @@ -468,7 +470,9 @@ package android.net { } public abstract class SocketKeepalive implements java.lang.AutoCloseable { + method public final void start(@IntRange(from=0xa, to=0xe10) int, int, @Nullable android.net.Network); field public static final int ERROR_NO_SUCH_SLOT = -33; // 0xffffffdf + field public static final int FLAG_AUTOMATIC_ON_OFF = 1; // 0x1 field public static final int SUCCESS = 0; // 0x0 } @@ -480,6 +484,14 @@ package android.net { ctor public SocketNotBoundException(); } + public class SocketNotConnectedException extends java.lang.Exception { + ctor public SocketNotConnectedException(); + } + + public class SocketRemoteAddressChangedException extends java.lang.Exception { + ctor public SocketRemoteAddressChangedException(); + } + public final class StaticIpConfiguration implements android.os.Parcelable { ctor public StaticIpConfiguration(); ctor public StaticIpConfiguration(@Nullable android.net.StaticIpConfiguration); @@ -501,6 +513,16 @@ package android.net { field @NonNull public static final android.os.Parcelable.Creator<android.net.TcpKeepalivePacketData> CREATOR; } + public final class VpnTransportInfo implements android.os.Parcelable android.net.TransportInfo { + ctor public VpnTransportInfo(int, @Nullable String, boolean, boolean); + method public boolean areLongLivedTcpConnectionsExpensive(); + method public int describeContents(); + method public int getType(); + method public boolean isBypassable(); + method public void writeToParcel(@NonNull android.os.Parcel, int); + field @NonNull public static final android.os.Parcelable.Creator<android.net.VpnTransportInfo> CREATOR; + } + } package android.net.apf { |