Snap for 7394644 from b1fb539f44523244648828d34b367fb6f64b3947 to sc-d1-release

Change-Id: I15b37aad8d3f7607e96e49bdaf70e001cb20f127
tree: d40d219734c7336f59d9c8401dab3ad2206d8342
  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.