commit | b637e9d556dba10c294059cf377987ae23cbc574 | [log] [tgz] |
---|---|---|
author | Ken Chen <cken@google.com> | Thu May 20 18:14:11 2021 +0800 |
committer | Ken Chen <cken@google.com> | Wed Jun 23 18:26:52 2021 +0800 |
tree | 55664faff950d0ee66d123bb6463a8601b9c2576 | |
parent | 48cbd1b033bd937f16ef032a86f12b61c7ad2bf7 [diff] |
Migrate to networkCreate RPC 1. networkCreatePhysical and networkCreateVpn were deprecated. Use networkCreate RPC when it is supported by platform. 2. The deprecated RPCs are still referenced in backward compatibility tests (on Android R image). In that case, use deprecated RPCs and temporarily ignore -Wdeprecated-declarations. 3. Generalize helper function isRemoteVersionSupported() so that it can take arbitrary AIDL services. Bug: 171872481 Test: atest Change-Id: I68ceab87ab1a95b47b3fb58988cff1f961d18c1a
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.