Files
frameworks_base/native/android/libandroid_net.map.txt
Remi NGUYEN VAN 3d50059bbc Add NDK API for getprocnetwork
The API is the getter couterpart for setprocnetwork.
Use it in NetworkUtils so that the NDK API can be the source of truth
for the process network.

Bug: 171540887
Test: atest CtsNetTestCases
      Tests in change I311b58585033c2ca50ce5477ea9cd94b6f127507
Change-Id: Ie8f68cf1fa57deddb63324c1abf3d6fd5b0ef500
2021-03-23 01:01:06 +00:00

22 lines
850 B
Plaintext

# The following symbols marked with # llndk are available to vendor code.
# Unlike other VNDK libraries where keeping backwards compatibility is required
# only within a platform release, these symbols need much longer suppport
# because the same LLNDK library serves for both system and vendor partition
# which might be a few years old.
LIBANDROID_NET {
global:
# These functions have been part of the NDK since API 24.
android_getaddrinfofornetwork; # llndk
android_setsocknetwork; # llndk
android_setprocnetwork; # llndk
# These functions have been part of the NDK since API 29.
android_res_cancel; # llndk
android_res_nquery; # llndk
android_res_nresult; # llndk
android_res_nsend; # llndk
# These functions have been part of the NDK since API 31.
android_getprocnetwork; # llndk
local:
*;
};