summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorRemi NGUYEN VAN <reminv@google.com>2019-02-27 15:50:35 +0900
committerRemi NGUYEN VAN <reminv@google.com>2019-02-28 04:40:49 +0000
commitcdca1245ef243f0a259b0e9e9457a56dc88b65c8 (patch)
treeee8d8629d4e77a67b2db60fc888d15cc3aa25364 /annotations/generate_annotated_java_files.py
parentc690caf0823f5b89ab46798cfa1417ad1af79843 (diff)
Add connect(fd, SocketAddress) to public API (libcore)
1. There are already related socket API methods that return SocketAddress, such as Os.getpeername(). 2. Having APIs that take SocketAddress are a closer match to the POSIX APIs that android.system.Os is exposing, and are more flexible than just taking InetAddress+port combinations since the latter only supports IPv4 and IPv6. This was covered by tests in change: Iadf9f10e26bbc650c5e1b9d03f32c5dafb6f21b4 And completes Ic496c1212dc2d97cf34db2a7c7d024b02790e8ed. Test: m Bug: 123062477 Change-Id: If23f567ff56606b1e17a975628f6ebef65180d81
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions