commit | e2162e545a9c6fa882f5adb884914e0318073c8a | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Wed Mar 04 18:43:46 2020 +0800 |
committer | Mike Yu <yumike@google.com> | Wed Mar 18 10:53:47 2020 +0800 |
tree | 3f78278b00ea10f0641bf7392f1d04622304995e | |
parent | 0928b2a83024f0d30c7fd1685062162e282fdea4 [diff] |
Refactor the test code that checks the cleartext DNS stats The test code for stats check is slightly stricter than before since now it checks almost every field rathern few of them. Bug: 150678049 Test: resolv_integration_test passed Change-Id: I86294a9d3a6050ccf8057b34eaa3463e00742850
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.