tag | 84411433a5d58c041d1af2779345e5e302bcdbb1 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Fri Jan 14 10:40:50 2022 -0800 |
object | a8b0eec0461c195f0c44ab8ede96109b0d628131 |
Android 12.0.0 release 27
commit | a8b0eec0461c195f0c44ab8ede96109b0d628131 | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Fri Aug 06 15:35:28 2021 +0800 |
committer | Luke Huang <huangluke@google.com> | Fri Aug 06 14:06:34 2021 +0000 |
tree | 0150079259980dedfb3c75265c284082d7a19c2b | |
parent | cb206f26574298ffe3df65c4030f2cbbb1cb1d71 [diff] |
Implement a new IPC setResolverOptions in DnsResolver 1. Implement the new method added in V9, setResolverOptions 2. Add its relevant binder test and update integration test to use this new method if the remote version is new enough. Test: atest Bug: 194048056 Change-Id: I9a18f11769fd154e7cc6f35090e6c8fe61853d2a Merged-In: I9a18f11769fd154e7cc6f35090e6c8fe61853d2a
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.