commit | 4bdc8678435acac88ea8bd79b06cc9114367b211 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Fri Nov 26 10:10:01 2021 +0800 |
committer | Mike Yu <yumike@google.com> | Fri Dec 03 21:01:49 2021 +0800 |
tree | 60ef885f1cbaa7aa1f78e32758783b165d5654f4 | |
parent | c293f29ffc80ed6af1d8e490b4afdf332d47f31e [diff] |
Support creating a network with a given netId in tests Extend DnsResponderClient for tests to use other netId for tests. Bug: 207301204 Test: cd packages/modules/DnsResolver && atest Change-Id: I35d13a1ddc55dc8643b8244e9d2b46f214584cc5
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.