commit | ccc22a7c9ab3964357c114dc171ef9d86294efd7 | [log] [tgz] |
---|---|---|
author | Ken Chen <cken@google.com> | Tue Jul 06 20:51:52 2021 +0800 |
committer | Ken Chen <cken@google.com> | Wed Jul 14 09:36:14 2021 +0000 |
tree | 9444582646a8870461e1c18a59e64ab998feedbc | |
parent | ccfd499ee5bf8c68e97591dbdc9ad4ff5e3e30c6 [diff] |
Refactor the expectDnsQueryCountsFn in ResolverMultinetworkTest Move expectDnsQueryCountsFn definition from each test to class ResolverMultinetworkTest to reduce code duplication. Bug: 176507580 Test: atest Change-Id: Ic11b19281a96f99fbddb122b2419a0a68d1f96a1
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.