Add fcntlInt to public API

In order to allow sockets to be set as non-blocking after the creation,
fcntlInt must be exposed.

Test: new tests added, passing
Change-Id: Ib9951b5391cafda2b88c25f0cb7245b04a1adfb0
This commit is contained in:
Benedict Wong
2019-12-18 18:34:17 -08:00
parent 1017905980
commit 19e3f2b962

View File

@@ -42358,6 +42358,7 @@ package android.system {
method public static void execve(String, String[], String[]) throws android.system.ErrnoException;
method public static void fchmod(java.io.FileDescriptor, int) throws android.system.ErrnoException;
method public static void fchown(java.io.FileDescriptor, int, int) throws android.system.ErrnoException;
method public static int fcntlInt(@NonNull java.io.FileDescriptor, int, int) throws android.system.ErrnoException;
method public static void fdatasync(java.io.FileDescriptor) throws android.system.ErrnoException;
method public static android.system.StructStat fstat(java.io.FileDescriptor) throws android.system.ErrnoException;
method public static android.system.StructStatVfs fstatvfs(java.io.FileDescriptor) throws android.system.ErrnoException;