commit | 03269664850e55b92a8c88740c2d32bbf9784a54 | [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 16:29:58 2021 +0000 |
tree | 3b6672d34147118c9400fbbe1b432ee9143c1b07 | |
parent | b2d65d40c2726ff674fb11c9b2257b6be4b2264a [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) Merged-In: Ib3ebaf7963aefcc45a5214600dd458aea3e571c6 Ignore-AOSP-First: To solve the confict between mainline-prod and other branches with newer toolchain. (cherry picked from commit 744f7c2e557472431cfd2a4e20ff4e8fc8395ebb)
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.