Snap for 7389169 from 0b2285aec404ef86ae7c0bea75d78da7d19fa2d9 to sc-release

Change-Id: Id906687ddcc85de3de320ba2d6d29358c65ca477
tree: 5b246ab0e1818d51a95b573c1fa844ac2aee87c5
  1. aidl_api/
  2. apex/
  3. binder/
  4. include/
  5. tests/
  6. .editorconfig
  7. Android.bp
  8. cbindgen.toml
  9. Dns64Configuration.cpp
  10. Dns64Configuration.h
  11. DnsProxyListener.cpp
  12. DnsProxyListener.h
  13. DnsQueryLog.cpp
  14. DnsQueryLog.h
  15. DnsQueryLogTest.cpp
  16. DnsResolver.cpp
  17. DnsResolver.h
  18. DnsResolverService.cpp
  19. DnsResolverService.h
  20. DnsStats.cpp
  21. DnsStats.h
  22. DnsStatsTest.cpp
  23. DnsTlsDispatcher.cpp
  24. DnsTlsDispatcher.h
  25. DnsTlsQueryMap.cpp
  26. DnsTlsQueryMap.h
  27. DnsTlsServer.cpp
  28. DnsTlsServer.h
  29. DnsTlsSessionCache.cpp
  30. DnsTlsSessionCache.h
  31. DnsTlsSocket.cpp
  32. DnsTlsSocket.h
  33. DnsTlsSocketFactory.h
  34. DnsTlsTransport.cpp
  35. DnsTlsTransport.h
  36. doh.h
  37. doh.rs
  38. doh_ffi_test.cpp
  39. Experiments.cpp
  40. Experiments.h
  41. ExperimentsTest.cpp
  42. getaddrinfo.cpp
  43. getaddrinfo.h
  44. gethnamaddr.cpp
  45. gethnamaddr.h
  46. hostent.h
  47. IDnsTlsSocket.h
  48. IDnsTlsSocketFactory.h
  49. IDnsTlsSocketObserver.h
  50. IPrivateDnsServer.h
  51. libnetd_resolv.map.txt
  52. LockedQueue.h
  53. NOTICE
  54. OperationLimiter.h
  55. OperationLimiterTest.cpp
  56. OWNERS
  57. params.h
  58. PREUPLOAD.cfg
  59. PrivateDnsCommon.h
  60. PrivateDnsConfiguration.cpp
  61. PrivateDnsConfiguration.h
  62. PrivateDnsConfigurationTest.cpp
  63. PrivateDnsValidationObserver.h
  64. README-DoT.md
  65. README.md
  66. res_cache.cpp
  67. res_comp.cpp
  68. res_comp.h
  69. res_debug.cpp
  70. res_debug.h
  71. res_mkquery.cpp
  72. res_query.cpp
  73. res_send.cpp
  74. res_send.h
  75. res_stats.cpp
  76. resolv_cache.h
  77. resolv_private.h
  78. resolv_rust_test_config_template.xml
  79. resolv_test_config_template.xml
  80. ResolverController.cpp
  81. ResolverController.h
  82. ResolverEventReporter.cpp
  83. ResolverEventReporter.h
  84. ResolverStats.h
  85. sethostent.cpp
  86. stats.h
  87. stats.proto
  88. TEST_MAPPING
  89. util.cpp
  90. util.h
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.