commit | 9c748a2983ce920bc9ca68edcf540d9b0dfd6d3e | [log] [tgz] |
---|---|---|
author | Hungming Chen <nuccachen@google.com> | Thu Oct 17 18:11:02 2019 +0800 |
committer | Hungming Chen <nuccachen@google.com> | Mon Dec 02 18:42:05 2019 +0800 |
tree | 31c5e62bfef201075d72c12d26fa7a069f4c128e | |
parent | 7b6c23b2b8375080758a3cae88563a0bbbfebdba [diff] |
resolv_gold_test: Gold test with GetHostByName Use gold test data to verify GetHostByName. Test: cd packages/modules/DnsResolver && atest Change-Id: I2af482e59a480938da131ae5e4ffa3b55f27fce5
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.