commit | aff678e0ca7ade9ad7eaaa1fdc689501e2764ec4 | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Fri May 15 07:53:51 2020 +0000 |
committer | Luke Huang <huangluke@google.com> | Mon May 18 02:43:57 2020 +0000 |
tree | 60ce961c4662a370f0b1aae9e35ff944b40020ad | |
parent | fcd7e8b0eb63647448deea5f0fe07f7ced12f60c [diff] |
Add linux_errno to resolv_stats_test_utils Also do the revelant change in resolv_unit_test to give the default value to linux_errno. Bug: 150662964 Bug: 151166599 Test: atest Merged-In: Ia5a4e509ad8728a18f9a8a9c7b9d74059e2e307f Change-Id: I57d280efcd353076faa4dcb7f0c5bda337693dc9 (cherry picked from commit 7543ff110ef27d4573e87fd57340ca8f0b00740e)
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.