Add virtio-vsock support to libcore
ClipboardService.java has an option to talk to the
Android Studio Emulator to exchange the clipboard
with the host. The emulator is migrating virtio-vsock.
Bug: 182436079
Test: atest CtsLibcoreTestCases:libcore.android.system.OsTest#test_VmSocketAddress
Test: atest CtsLibcoreTestCases:libcore.android.system.OsTest#test_VmSocket
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: I3429a7f27972a2ea25194e5d44dc06cb0646e650
diff --git a/api/current.txt b/api/current.txt
index 39984ec..3df4175 100755
--- a/api/current.txt
+++ b/api/current.txt
@@ -145,6 +145,7 @@
field public static final int AF_PACKET;
field public static final int AF_UNIX;
field public static final int AF_UNSPEC;
+ field public static final int AF_VSOCK;
field public static final int AI_ADDRCONFIG;
field public static final int AI_ALL;
field public static final int AI_CANONNAME;
@@ -538,6 +539,10 @@
field public static final int TCP_USER_TIMEOUT;
field public static final int UDP_GRO;
field public static final int UDP_SEGMENT;
+ field public static final int VMADDR_CID_ANY;
+ field public static final int VMADDR_CID_HOST;
+ field public static final int VMADDR_CID_LOCAL;
+ field public static final int VMADDR_PORT_ANY;
field public static final int WCONTINUED;
field public static final int WEXITED;
field public static final int WNOHANG;