Files
frameworks_base/core/java/android/net
Chiachang Wang db2cec6024 Update jni to get int descriptor in native layer
ConnectivityService is going to become a mainline module which
can not access the hidden APIs. The int descriptor of a
FileDescriptor is hidden for internal use only. The Network and
NetworkUtls will be parts of CS module. The corresponding usage
should be removed. There is no way in a module to access the
descriptor, so update the jni to set a FileDescriptor to native
to get the int descriptor inside the platform.

Also, update the other references in android_net_NetUtils for
getting fd to use the NDK functions in the libnativehelper.

Bug: 170598012
Test: atest FrameworksNetTests CtsNetTestCasesLatestSdk
Test: manually connect to a VPN
Change-Id: I2143c079feac53917a6e7bf7422f3180f51437fb
2021-01-27 02:44:14 +00:00
..
2020-03-26 14:10:06 +00:00
2021-01-26 15:28:24 -08:00
2020-06-24 11:32:26 +00:00
2020-03-19 02:15:02 +00:00
2021-01-21 20:14:52 -08:00
2021-01-21 20:14:52 -08:00
2020-12-23 22:15:51 -08:00
2021-01-21 20:14:52 -08:00
2021-01-21 20:14:52 -08:00
2021-01-21 20:14:52 -08:00
2021-01-21 20:14:52 -08:00
2021-01-21 20:14:52 -08:00
2020-01-22 22:27:44 +09:00
2020-04-10 00:30:38 +00:00