commit | 75bef416ad1d4cbfac207787a2c9e1979b19f940 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Mon Feb 14 17:48:00 2022 +0800 |
committer | Mike Yu <yumike@google.com> | Tue Feb 15 18:10:52 2022 +0800 |
tree | 290f7da3f5eb36ed0d5c8b30c9939424d25fc66b | |
parent | 5719f239d83400d1be286e5846ef4fe7ad55f320 [diff] |
Wrap up some DoH flags Wrap up some DoH flags into a FeatureFlags struct, and pass it to doh_net_new(). Bug: 205922811 Test: cd packages/modules/DnsResolver && atest Change-Id: Icf7dc675ac467a71ae05522cfeedb318c8402154
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.