commit | 340bb8d56be266437225d025d49df1510de8da20 | [log] [tgz] |
---|---|---|
author | Bruce Chen <chenbruce@google.com> | Fri Apr 03 12:56:13 2020 +0000 |
committer | Bruce Chen <chenbruce@google.com> | Wed Apr 08 07:33:53 2020 +0000 |
tree | 21ee9b29520ec00c4c1e7ebe33ff4a865335e84f | |
parent | 59c69981be8b1c97f16bf0f5f6dbb4c2a59e9c4c [diff] |
Add transport types to a given network - Resolver doesn't know what the transport types are when having a given network. Set tranport types by SetResolverConfiguration. Bug: 143732914 Test: atest Merged-In: I337d4204afd9fbb790fd42cc191759b22dd66bca Change-Id: I31a14526b1460f9330d775a5f9016c208eef14bc (cherry picked from commit 43e39e5bf2626aa46b3975d0b655f5d1f708a97e)
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.