Add TRANSPORT_USB and freeze DnsResolver aidl

This change only modified IDnsResolver.aidl and other files
are generated by "m dnsresolver_aidl_interface-{update,freeze}-api".

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