commit | 0b5a76c196197df7c2b2c6288d0cedfd5cf9f293 | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Sat Nov 23 03:00:00 2019 +0800 |
committer | Luke Huang <huangluke@google.com> | Mon Nov 25 09:49:09 2019 +0000 |
tree | 6d550aea8d40515c3aba38c9aba09448d47b6d45 | |
parent | f82153792f89f7719983d28dc744a69d16aff1de [diff] |
Add remote version check for flush cache tests M4 resolv module was frozen as version 3. However, flush cache related functionalities are not included. Add a version check method to skip test if remote version is too old. Bug: 144850003 Test: atest Change-Id: Ic4af1258b6c6072cdbd00d3ea2ce71bdca27861a
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.