Nick Kralevich fff8fb1b9f Move file, change loopback handling, docs.
Move the ListeningPortsTest from android.net.cts to android.security.cts,
to better indicate that this is a security related test.

Start triggering test failures when a process is bound to the loopback
interface. In those cases, it's always better to use a UNIX domain
socket instead of a locally bound IP socket. UNIX domain sockets
can be protected with unix filesystem permissions, or
getsockopt(SO_PEERCRED) can be used to indicate who is on the
other end of the socket.

Drastically fix the documentation to explain why this test is present.

Modify the IP addresses and port numbers to be more human readable.

Change-Id: Id83aadd1455279a1a2d3fb4fb1915af558355aca
2011-11-02 14:42:03 -07:00
Description
android_packages_modules_Connectivity
189 MiB
Languages
Java 81.4%
Kotlin 7.7%
AIDL 4.5%
C++ 4.5%
C 1.7%
Other 0.1%