commit | 0b2285aec404ef86ae7c0bea75d78da7d19fa2d9 | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Fri May 21 03:01:06 2021 +0000 |
committer | Luke Huang <huangluke@google.com> | Fri May 21 06:33:37 2021 +0000 |
tree | 5b246ab0e1818d51a95b573c1fa844ac2aee87c5 | |
parent | 86f7b4c3cf2fd3f3d0278a070f9f2042ed91aeb9 [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 Original-Change: https://android-review.googlesource.com/1711568 Merged-In: I1163a8b3fefefa5d83464e6aadd99f667ab141af 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.