commit | fa4bf6f075e7950679366ac653c4aa469200427f | [log] [tgz] |
---|---|---|
author | chenbruce <chenbruce@google.com> | Fri Apr 17 04:15:13 2020 +0000 |
committer | Bruce Chen <chenbruce@google.com> | Fri Apr 17 05:19:46 2020 +0000 |
tree | 9e4f48f1794337dcb0470d9bdfb29945e799783a | |
parent | c4bd4f3cb7a79d7b688e3e73e0dda90c05b5b827 [diff] |
Add a new NetworkType to resolver The new NetworkType is WIFI + CELLULAR + VPN. Bug: 143732914 Test: atest Merged-In: I44c3ff1ec27417a23652815edd94389a14bbd3b2 Change-Id: I6afa37b904706c6842f5c17e5fe3bfd438e3f746 (cherry picked from commit 7c5a8f1b848c094645dfec0a7da3b5101eeb32fe)
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.