aosp12/packages/modules/DnsResolver
hcl 7be3fd486c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
..
aidl_api/dnsresolver_aidl_interface init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
apex init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
binder/android/net init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
include init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
tests init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
.clang-format init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
.editorconfig init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Android.bp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Dns64Configuration.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Dns64Configuration.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
DnsProxyListener.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
DnsProxyListener.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
DnsQueryLog.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
DnsQueryLog.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
DnsQueryLogTest.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
DnsResolver.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
DnsResolver.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
DnsResolverService.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
DnsResolverService.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
DnsStats.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
DnsStats.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
DnsStatsTest.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
DnsTlsDispatcher.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
DnsTlsDispatcher.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
DnsTlsQueryMap.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
DnsTlsQueryMap.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
DnsTlsServer.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
DnsTlsServer.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
DnsTlsSessionCache.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
DnsTlsSessionCache.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
DnsTlsSocket.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
DnsTlsSocket.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
DnsTlsSocketFactory.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
DnsTlsTransport.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
DnsTlsTransport.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Experiments.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Experiments.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
ExperimentsTest.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
IDnsTlsSocket.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
IDnsTlsSocketFactory.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
IDnsTlsSocketObserver.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
IPrivateDnsServer.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
LockedQueue.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
NOTICE init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
OWNERS init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
OperationLimiter.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
OperationLimiterTest.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
PREUPLOAD.cfg init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
PrivateDnsCommon.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
PrivateDnsConfiguration.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
PrivateDnsConfiguration.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
PrivateDnsConfigurationTest.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
PrivateDnsValidationObserver.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
README-DoT.md init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
README.md init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
ResolverController.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
ResolverController.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
ResolverEventReporter.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
ResolverEventReporter.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
ResolverStats.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
TEST_MAPPING init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
cbindgen.toml init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
doh.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
doh.rs init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
getaddrinfo.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
getaddrinfo.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
gethnamaddr.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
gethnamaddr.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
hostent.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
libnetd_resolv.map.txt init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
params.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
res_cache.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
res_comp.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
res_comp.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
res_debug.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
res_debug.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
res_mkquery.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
res_query.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
res_send.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
res_send.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
res_stats.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
resolv_cache.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
resolv_private.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
resolv_rust_test_config_template.xml init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
resolv_test_config_template.xml init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
rustfmt.toml init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
sethostent.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
stats.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
stats.proto init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
util.cpp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
util.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00

README.md

Logging

This code uses LOG(X) for logging. Log levels are VERBOSE,DEBUG,INFO,WARNING and ERROR. The default setting is WARNING and logs relate to WARNING and ERROR will be shown. If you want to enable the DEBUG level logs, using following command. adb shell service call dnsresolver 10 i32 1 VERBOSE 0 DEBUG 1 INFO 2 WARNING 3 ERROR 4 Verbose resolver logs could contain PII -- do NOT enable in production builds.