3f7f79e65807fe4c7a647461cf1093d9801378a8
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
Description
android_packages_modules_Connectivity
Languages
Java
81.4%
Kotlin
7.7%
AIDL
4.5%
C++
4.5%
C
1.7%
Other
0.1%