diff options
author | Tobias Thierer <tobiast@google.com> | 2016-08-03 16:08:43 +0100 |
---|---|---|
committer | Tobias Thierer <tobiast@google.com> | 2016-08-03 18:15:06 +0100 |
commit | ea47d5d712edcaef726a3e12065729be21699afe (patch) | |
tree | 8a0e7be2f5ffccdaffd7319f9535979eac08d83f /annotations/generate_annotated_java_files.py | |
parent | 7beda7556ab12c21ded79820a03f119f7c1e8135 (diff) |
Expose TCP_USER_TIMEOUT as a settable socket option.
This is for systems whose tcp.h defines this constant, which is
true for bionic on recent versions of Android but not the prebuilt
glibc-2.15-4.8 currently on host (checked for host/x86_64).
Exposed android.system.Os.setsocketoptInt(). Added a test that
checks that TCP_USER_TIMEOUT can be set and gotten from stream
sockets. Since this is just piping through behavior from the
kernel, added no tests for the semantics of that socket option.
Test: Checked that the newly added tests pass in cts on Nexus6P.
Bug: 30402085
Change-Id: I5fb9e491ce5c856587423d074e9fa3c4b722d956
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions