commit | c8ef93fe556884533ae8ce189a4fb1f00bd06ea6 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Fri Oct 25 18:35:06 2019 +0800 |
committer | Mike Yu <yumike@google.com> | Fri Nov 22 21:40:37 2019 +0800 |
tree | 74684d3a47659b9b35854a8dc10f14d8ee3d3185 | |
parent | 6c7748533a8bd6c0e023b0c5374863518b645387 [diff] |
Remove the head node of resolv_cache_info Remove the head node which uses double linked list to concatenate resolv_cache_infos. Instead, use a static map to store the information. Bug: 130686826 Test: atest --include-subdirs packages/modules/DnsResolver Change-Id: Ie817570166a502d6c4dd3e264d8da00adcea10f3
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.