commit | 744f7c2e557472431cfd2a4e20ff4e8fc8395ebb | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Thu Apr 15 04:15:43 2021 +0000 |
committer | Luke Huang <huangluke@google.com> | Thu Apr 15 04:31:15 2021 +0000 |
tree | 8861272efa3564040752527e3c28205ba8f22c7a | |
parent | e9bf3e6e61f45e8e18e953df0db739d3222b9f12 [diff] |
Add doh_unit_test target To prepare the doh test coverage. Test: TH Bug: 155855709 Original change: https://android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/1669634 Change-Id: Ib3ebaf7963aefcc45a5214600dd458aea3e571c6 (cherry picked from commit 4f6c1643fd14800af6282ef5a95d7fb47bea9a8c) Ignore-AOSP-First: To solve the confict between mainline-prod and other branches with newer toolchain.
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.