commit | 6ac664e70ef8ae1778916f57d3431e43375ceb04 | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Wed May 19 05:22:25 2021 +0800 |
committer | Luke Huang <huangluke@google.com> | Thu May 20 09:12:28 2021 +0000 |
tree | a5cf3e9fc2d4b774efe97dd3fac08bdeeaabe90c | |
parent | cf56d23d1fdf4874230fed23601aa87c0e76207f [diff] |
Fix doh flaky test To prevent the test is affected by the network status of test device, allow socket injection to create DohDispatcher. Bug: 188214942 Test: atest doh_unit_test Change-Id: I1163a8b3fefefa5d83464e6aadd99f667ab141af
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.