commit | 7be0fc498d2d90ebc00594272cf767d717e9ca90 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Fri Jun 18 11:57:16 2021 +0800 |
committer | Mike Yu <yumike@google.com> | Thu Jul 01 14:03:29 2021 +0800 |
tree | 50f3c8b8deaaaabbac28e3f3060991ca20dfd970 | |
parent | af130a4c29ed5adcb83463e9ac2e61429cb4c84c [diff] |
Enable DNS probe in DoT validation by default in R The flags are set as follows by default: dot_validation_latency_factor = 3 dot_validation_latency_offset_ms = 100 Due to the flag default value changed, TlsServerRevalidation test is modified. Bug: 188153519 Test: with the two flags unset, run resolv_integration_test twice Test: with the two flags unset, cd packages/modules/DnsResolver && atest Test: with the two flags set to -1, run resolv_integration_test twice Test: with the two flags set to -1, cd packages/modules/DnsResolver && atest Change-Id: If80569a98244817b69909319f0c1a3b7523354cf
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.