android_packages_modules_Co.../tests/net/java/com/android
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Josh Gao bc2208a2a2 Avoid calling ParcelFileDescriptor.fromSocket on new Sockets.
Previously, we were calling ParcelFileDescriptor.fromSocket on a newly
initialized Socket, which doesn't actually create a file descriptor
until the Socket is bound or connected.

Bind the Socket to a random port to force the file descriptor to be
allocated.

Test: treehugger
Change-Id: Id92a3e1316881d1c5382485aa2d6a41fc37e9651
2018-11-09 14:10:40 -08:00
..
internal Merge changes from topic "ifaceStats" am: 3f675c25e0 2018-05-01 19:53:30 -07:00
server Avoid calling ParcelFileDescriptor.fromSocket on new Sockets. 2018-11-09 14:10:40 -08:00