Merge "Move SocketUtils out of the connectivity module" am: 24e5bceac5 am: f0b2caa08b am: d0a8f0ab6e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1592273 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I9de14464ebb9d43e7c4fdc683c23ddbbcc7ef269
This commit is contained in:
@@ -442,16 +442,3 @@ package android.net.apf {
|
||||
|
||||
}
|
||||
|
||||
package android.net.util {
|
||||
|
||||
public final class SocketUtils {
|
||||
method public static void bindSocketToInterface(@NonNull java.io.FileDescriptor, @NonNull String) throws android.system.ErrnoException;
|
||||
method public static void closeSocket(@Nullable java.io.FileDescriptor) throws java.io.IOException;
|
||||
method @NonNull public static java.net.SocketAddress makeNetlinkSocketAddress(int, int);
|
||||
method @NonNull public static java.net.SocketAddress makePacketSocketAddress(int, int);
|
||||
method @Deprecated @NonNull public static java.net.SocketAddress makePacketSocketAddress(int, @NonNull byte[]);
|
||||
method @NonNull public static java.net.SocketAddress makePacketSocketAddress(int, int, @NonNull byte[]);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user