commit | 8058bd0611cc5f52c5cf107e386d0530a529222d | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Thu May 13 16:44:18 2021 +0800 |
committer | Mike Yu <yumike@google.com> | Tue May 25 17:22:47 2021 +0800 |
tree | e6f18e4b586a4b285427124f67cbde7b64368737 | |
parent | b5006191ecd9363f66c81a20baca0f29591dc270 [diff] |
Add one more Revalidation unit test The test checks that the revalidation can retry probing until it succeeds. To do that, Private DNS validation backoff time is changable in PrivateDnsConfigurationTest. Bug: 79727473 Bug: 188153519 Test: Test: cd packages/modules/DnsResolver && atest Change-Id: I11fc8d9ee963dc54d051667971b51bfecd852a93
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.