commit | 34ed9eeb0653bdc102933521e7e5f01aae63925c | [log] [tgz] |
---|---|---|
author | Ken Chen <cken@google.com> | Tue Jul 06 13:17:07 2021 +0800 |
committer | Ken Chen <cken@google.com> | Wed Jul 14 17:16:00 2021 +0800 |
tree | 158e8f104bb913e37a911ded273545fdda2f9721 | |
parent | 16cc22c52b28c0b7f8bee8a4e8efbfc636c975d3 [diff] |
Refactor the setupDnsFn in ResolverMultinetworkTest Now that there are multiple tests that define the same function setupDnsFn, move it to class ResolverMultinetworkTest to reduce duplicate code. Bug: 176507580 Test: atest Change-Id: Iaa9a2adfe5477cd888abdd0bcc121ceac826b486
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.