Test: Allow 200ms rtt_avg tolerance for expectStatsNotGreaterThan Two tests SkipBadServersDueToInternalError and SkipBadServersDueToTimeout are flaky because the DNS reponse might excess 1ms. This change adds a 200ms tolerance to deflake the test. Bug: 279684434 Test: atest (cherry picked from https://android-review.googlesource.com/q/commit:d6df3afd7cdf521b102036c0580cfdb3c3488be2) Merged-In: Ida204681dbd211e408071d754b03eb7ed68cc47c Change-Id: Ida204681dbd211e408071d754b03eb7ed68cc47c
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.