Rename resolv_cache_info to NetConfig

No functionality changes.

Bug: 130686826
Test: cd packages/modules/DnsResolver && atest
Change-Id: Ib00da89c60310ceb36adb6cae4ac416194e3d242
2 files changed
tree: c8a7df5092a3901361608982b500f04e830e6b4e
  1. aidl/
  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. DnsResolver.cpp
  13. DnsResolver.h
  14. dnsresolver_binder_test.cpp
  15. DnsResolverService.cpp
  16. DnsResolverService.h
  17. DnsStats.cpp
  18. DnsStats.h
  19. DnsStatsTest.cpp
  20. DnsTlsDispatcher.cpp
  21. DnsTlsDispatcher.h
  22. DnsTlsQueryMap.cpp
  23. DnsTlsQueryMap.h
  24. DnsTlsServer.cpp
  25. DnsTlsServer.h
  26. DnsTlsSessionCache.cpp
  27. DnsTlsSessionCache.h
  28. DnsTlsSocket.cpp
  29. DnsTlsSocket.h
  30. DnsTlsSocketFactory.h
  31. DnsTlsTransport.cpp
  32. DnsTlsTransport.h
  33. getaddrinfo.cpp
  34. getaddrinfo.h
  35. gethnamaddr.cpp
  36. gethnamaddr.h
  37. hostent.h
  38. IDnsTlsSocket.h
  39. IDnsTlsSocketFactory.h
  40. IDnsTlsSocketObserver.h
  41. libnetd_resolv.map.txt
  42. LockedQueue.h
  43. NOTICE
  44. OWNERS
  45. params.h
  46. PREUPLOAD.cfg
  47. PrivateDnsConfiguration.cpp
  48. PrivateDnsConfiguration.h
  49. README-DoT.md
  50. README.md
  51. res_cache.cpp
  52. res_comp.cpp
  53. res_debug.cpp
  54. res_debug.h
  55. res_init.cpp
  56. res_init.h
  57. res_mkquery.cpp
  58. res_query.cpp
  59. res_send.cpp
  60. res_send.h
  61. res_stats.cpp
  62. resolv_cache.h
  63. resolv_cache_unit_test.cpp
  64. resolv_integration_test.cpp
  65. resolv_private.h
  66. resolv_tls_unit_test.cpp
  67. resolv_unit_test.cpp
  68. ResolverController.cpp
  69. ResolverController.h
  70. ResolverEventReporter.cpp
  71. ResolverEventReporter.h
  72. ResolverStats.h
  73. sethostent.cpp
  74. stats.h
  75. stats.proto
  76. TEST_MAPPING
  77. util.cpp
  78. 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.