OSDN Git Service

Switch to using android.system.Os for more calls
authorNeil Fuller <nfuller@google.com>
Fri, 3 Jul 2015 09:59:17 +0000 (10:59 +0100)
committerNeil Fuller <nfuller@google.com>
Fri, 3 Jul 2015 12:02:08 +0000 (13:02 +0100)
commitc80af6d84d8fb729f17028ac533fac07bb7c4c5d
tree6b74361d6062471246c8a9cd36fa7c05070905a1
parent78db19c25a3a18d9ccf19b91be17e791e4fd782c
Switch to using android.system.Os for more calls

The methods being switched here should involve no important
semantic changes. socket.getSoTimeout() is now implemented:
previously it would have returned 0 in all cases.

Some tidy up of unimplemented / commented code.

Switching other calls to use Os would carry more risk and
will be handled separately they can be switched safely.

Bug: 3106438
Change-Id: I5526249395565fee6e43f159a2b5975b0d41d058
core/java/android/net/LocalSocketImpl.java
core/jni/android_net_LocalSocketImpl.cpp