summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Neil Fuller <nfuller@google.com> 2019-04-01 16:41:11 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2019-04-01 16:41:11 +0000
commit1423684d1afbc5bb9b15d270ba5f87f5544d8ac7 (patch)
tree5dd41eaa9673cef2c4782a14ef772f40b359b780
parent82d1361e6da4e152bbbfbe2e9031f90b54b9f882 (diff)
parentb4537e7eb3e02dd6c2e46f84ca32928a545e7b3b (diff)
Merge "Track public android.system API changes in libcore"
-rwxr-xr-xapi/current.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt
index 0e9bf474d57d..262f4fc4c13d 100755
--- a/api/current.txt
+++ b/api/current.txt
@@ -40465,6 +40465,7 @@ package android.system {
method public static int getpid();
method public static int getppid();
method public static java.net.SocketAddress getsockname(java.io.FileDescriptor) throws android.system.ErrnoException;
+ method @NonNull public static android.system.StructTimeval getsockoptTimeval(@NonNull java.io.FileDescriptor, int, int) throws android.system.ErrnoException;
method public static int gettid();
method public static int getuid();
method public static byte[] getxattr(String, String) throws android.system.ErrnoException;
@@ -40515,6 +40516,7 @@ package android.system {
method @Deprecated public static void setgid(int) throws android.system.ErrnoException;
method public static int setsid() throws android.system.ErrnoException;
method public static void setsockoptInt(java.io.FileDescriptor, int, int, int) throws android.system.ErrnoException;
+ method public static void setsockoptTimeval(@NonNull java.io.FileDescriptor, int, int, @NonNull android.system.StructTimeval) throws android.system.ErrnoException;
method @Deprecated public static void setuid(int) throws android.system.ErrnoException;
method public static void setxattr(String, String, byte[], int) throws android.system.ErrnoException;
method public static void shutdown(java.io.FileDescriptor, int) throws android.system.ErrnoException;
@@ -41096,6 +41098,13 @@ package android.system {
field public final long tv_sec;
}
+ public final class StructTimeval {
+ method @NonNull public static android.system.StructTimeval fromMillis(long);
+ method public long toMillis();
+ field public final long tv_sec;
+ field public final long tv_usec;
+ }
+
public final class StructUtsname {
ctor public StructUtsname(String, String, String, String, String);
field public final String machine;