Add getFileDescriptor$() method for testing

This is similar to {,Datagram}Socket's getFileDescriptor$() method.

Also add "Android-added" comment for other occurances of such method.

Test: Build
Change-Id: I1a4330306f73ed1676751bcce7bd3f6e887b66c1
5 files changed