commit | 3bafc794acf53aaaa23540a33146cc5ab71104f9 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Mon Nov 15 15:13:38 2021 +0800 |
committer | Mike Yu <yumike@google.com> | Tue Nov 16 11:54:17 2021 +0800 |
tree | a653231d0f32ba642a8e26afdad8a1b9e2613d53 | |
parent | 770cf75b0b9914bbe3a0ec8ad6525197e8aec87d [diff] |
Rename field forTesting as requireRootPermission in DohProviderEntry No functionality changes. Bug: 206082566 Test: cd packages/modules/DnsResolver && atest Change-Id: I3494baf8594e6987c786bce470d8be08bb881cca
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.