commit | 64d6d3a3a0535dc031db2b8ba3e43fab9aa0d439 | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Sun Apr 25 17:45:55 2021 +0000 |
committer | Luke Huang <huangluke@google.com> | Mon Apr 26 03:44:07 2021 +0000 |
tree | 827686d666087d9f2cc8ba258088da21172e9d1b | |
parent | 1a9ec5497a55b104a611b49e7c869f47eeb0c585 [diff] |
Add more unit test for doh Test: atest doh_unit_test Bug: 155855709 Original change: https://android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/1676245 Change-Id: Idf0a7f695c877bc5818ab5fc81133d35a38925dc Merged-In: Idf0a7f695c877bc5818ab5fc81133d35a38925dc (cherry picked from commit 36a05f5afd48099b0c3ff95c9d4e024a3de62239) 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.