commit | 35777880fd29e64edf28c337fa88b733d815a50a | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Tue May 26 10:55:13 2020 +0000 |
committer | Lorenzo Colitti <lorenzo@google.com> | Tue May 26 15:17:18 2020 +0000 |
tree | f45af1edeef6afea215287d7d54f46a4147fdad1 | |
parent | 0d234b06f193180696d5d558d87ff928a2597a70 [diff] |
Style fixes in the external pref64 support. - Address a code review comment to pass a variable by reference instead of by pointer. - Add two missed EXCLUDES() thread-safety annotations. - Make "dumpsys dnsresolver" report externally-set prefixes differently from discovered prefixes. Bug: 156914456 Test: existing unit tests pass Original-Change: https://android-review.googlesource.com/1316178 Merged-In: Ifcdb16cc66c9234a2bd5f8aac70be809fe0dd223 Change-Id: Ifcdb16cc66c9234a2bd5f8aac70be809fe0dd223
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.