commit | 1e7fa7af218a719ceb306c3b783572fafa85c60f | [log] [tgz] |
---|---|---|
author | chenbruce <chenbruce@google.com> | Thu Apr 23 12:45:03 2020 +0800 |
committer | chenbruce <chenbruce@google.com> | Fri Jun 05 15:21:35 2020 +0800 |
tree | 2cbefb46135cf12f69d41608cc8d5e187d99c571 | |
parent | 0a1516e7f8b0d694b96c0368b8e8aa883ee9504b [diff] |
Add GetResolverStats to cache unit test This unit test is for resolv_cache_get_resolver_stats(). Bug: 137169582 Test: cd packages/modules/DnsResolver && atest Change-Id: I256910de5410a0df1ca3975c8eb62c50b338ed49
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.