commit | 8cfe556706b9549fd34005aebce10df13bf8a2b1 | [log] [tgz] |
---|---|---|
author | Ken Chen <cken@google.com> | Sun Nov 03 11:37:06 2019 +0800 |
committer | Ken Chen <cken@google.com> | Sun Nov 03 22:52:14 2019 +0800 |
tree | 6fcc3d13a407e3a85fc584f460aad2c4d7c272d6 | |
parent | ee085b0240fd41c05a022a06be11f93cc0a33645 [diff] |
Fix false positive on res_stats checking in cache unit test Utility function expectCacheStats() falsely pass while 'stats' is empty in input parameter and not empty in cache. Bug: 134897288 Change-Id: Ib623157301c01cffadc3c6db2c8e7c7146edeb13
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.