ba43fb8406
The API allows callers to control the default network that is used for DNS hostname resolution. Test: atest CtsNetTestCases Tests in change I00143cafcd3eb1d71e8d5c7ea9c839a99dc6f4ce Bug: 171540887 Merged-In: I42f0d9b17b3058f6e10fd2e651278b290f26667f Change-Id: Id6c40145b8886a7ec6f2bd3a25ad85e8df32f4bb
24 lines
914 B
Plaintext
24 lines
914 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
|
|
android_setprocdns; # llndk
|
|
android_getprocdns; # llndk
|
|
local:
|
|
*;
|
|
};
|