commit | 1bdf33516217d15b1808a213d55b044e3c6c1528 | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Tue Nov 10 03:22:00 2020 +0800 |
committer | Luke Huang <huangluke@google.com> | Mon Nov 23 16:02:56 2020 +0000 |
tree | d1f323aa835aa6fc96b00e02cb59260217b9c62c | |
parent | 5e1b99187ecb5b6db507320475fd0464d2a24d83 [diff] |
Add binder log output format test for DnsResolver Add the checking of binder log output format in DnsResolver binder test, which is extracting logs from "dumpsys netd" and verifying the format after performing binder IPCs. Since the log output might be different between R and S, this test would accept both of them. Bug: 172188290 Test: test-only change Change-Id: I43a4715e93b30538438920d958c3e2c5cb977002
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.