commit | 87208e2598c9fad699c5f2eb2ecc466a8f1317bc | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Fri Aug 06 12:29:17 2021 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Fri Aug 06 19:54:32 2021 +0900 |
tree | 12c2942596c3e6dc6bf23b95e585399a471d6dcb | |
parent | 88d5702da2fd9d57f496babe594e967e7417b41d [diff] |
Make resolverOptions in ResolverParamsParcel nullable and add a new IPC setResolverOption This information was only ever supplied by OEM code and DnsManager has never set it to anything. The new IPC is used to set resolver options separately. Bug: 194048056 Test: m dnsresolver_aidl_interface-update-api Change-Id: I81f4b12dbb06783b72883572926b2e423220a9f7
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.