commit | 56d66769c78e3181fa5475116f8036956b8b78ce | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Thu Jul 27 11:05:58 2023 +0000 |
committer | Mike Yu <yumike@google.com> | Tue Aug 01 07:27:45 2023 +0000 |
tree | 87bf0bd93ee5b3ab28670898d69b0fbcf4811cff | |
parent | a687b69a83a58cb9542c8bd13fa20f9981509a11 [diff] |
Test: add test UseDohAsLongAsHostnameMatch This is a test for aosp/2598287 that DnsResolver can use the DoH servers of an allowed DoH provider even if the servers are not listed in the DoH list. Bug: 286969157 Test: test passed Change-Id: I68a381b6ef57ad01300a5f5492eca794efdec785
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.