commit | 40e6707a84704f8c83f7cdba1124496ec13790c3 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Wed Oct 09 21:14:09 2019 +0800 |
committer | Mike Yu <yumike@google.com> | Fri Nov 15 20:04:37 2019 +0800 |
tree | 682b704e82626e733e136391327aaff95376c203 | |
parent | dffafb7e7134c71f64b09ebb8394bce940b45378 [diff] |
Change to use experiment flags to configure private DNS connect timeout The previous change aosp/1125321 uses dnsresolver binder service to set the timeout value. It can complicate the configuration setup when we provide more than one way to configure the value. The timeout value is expected to be controllable by the flag only. Bug: 120182528 Bug: 141218721 Test: atest --include-subdirs packages/modules/DnsResolver Test: manually set the flag to the device and saw the timeout was changed Change-Id: I9b2b566cff3eb7a98162d32ef3716f5c4379b221
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.