commit | 81568fb776645df533865331bc75321640cb51ce | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Mon Jul 13 00:55:12 2020 +0800 |
committer | Luke Huang <huangluke@google.com> | Thu Jul 30 11:53:49 2020 +0800 |
tree | 6346ebbd3e28131024b83f0e87ac9cafd58b76e8 | |
parent | 96b09e2e84832148c252b373a6b5897cce9240ed [diff] |
Add VPN test for DnsResolver Test {enable, disable}VpnIsolation + secure VPN and bypassable VPN with some different network selection scenarios. Test: atest Bug: 159783741 Bug: 159994981 Bug: 161509097 Change-Id: I4abb7311d0d3330efd1f820cef741f4650beb120
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.