commit | 35833bad50e4e70742260eaaeccdcbfbfaf3ce72 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Fri Apr 21 09:49:51 2023 +0000 |
committer | Mike Yu <yumike@google.com> | Fri May 12 07:22:18 2023 +0000 |
tree | 48e53892ba6d20be8aaf0d597dec7f8c38fe45a2 | |
parent | 4730f0d78f347dee78087f4849e19816fe4827a0 [diff] |
Move some code out of setDoh Make the code more readable without logical changes. Bug: 240259333 Test: atest Change-Id: Ibb928c92f87cc1e1e690ee852308e593ea5428bd
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.