commit | bc3be38284aa249b3daad159920372ff4cacc1b4 | [log] [tgz] |
---|---|---|
author | waynema <waynema@google.com> | Tue Oct 05 10:54:45 2021 +0800 |
committer | waynema <waynema@google.com> | Tue Oct 26 11:22:46 2021 +0800 |
tree | a8d5d9e34f352a72eafcbc58016c7170d4fe5a70 | |
parent | 971821fbec494c78c292dde5f3d309711568599e [diff] |
Add the DoH test in resolv_private_dns_test. This test checks whether DoH stats shows up in dumpsys correctly. Bug: 201735918 Test: cd packages/modules/DnsResolver && atest Change-Id: I9609198c895e7e574c8d297f67dc8e175a42e31d
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.