commit | 977e46e7631695122f4192f2905b2390797bbd98 | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Thu Jul 04 15:33:07 2019 +0800 |
committer | lifr <lifr@google.com> | Tue Jan 21 15:56:48 2020 +0800 |
tree | cf888f2cac4a59733c02275c13f158aeda731a35 | |
parent | 14e0a78a6b99e84822cfe7d37aabae3af78ebcf9 [diff] |
Add test cases in resolv_unit_test for proto NetworkDnsEventReported verification 1. Add resolv_stats_test_utils for testing resolv stats 2. Add proto verification in resolv_unit_test 3. Add the test case for verifying the correctness for fromNetworkDnsEventReportedStr and matchers. Bug: 119862317 Test: atest Change-Id: I1c7ad82e4766c6f34ef8104d91460e0811c58b60
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.