commit | 159d3745e156f3dfe15a670e37b229bdabf85c1d | [log] [tgz] |
---|---|---|
author | Ken Chen <cken@google.com> | Wed Jul 01 17:40:38 2020 +0800 |
committer | Ken Chen <cken@google.com> | Thu Jul 02 12:05:12 2020 +0800 |
tree | a7ad1f9b1b493f699550580adff75d8ead710d50 | |
parent | e816b9a3f7fe036aa0bb38073fa2052b86ac5ae8 [diff] |
Add presubmit test for DNS resolver AIDL changes The testSendDnsConfiguration in FrameworksNetTests checks the integrity of resolver AIDL interface. The test case should be updated as well while AIDL interfaces are extended. Add the test to presubmit so that we won't forget to update it when AIDL interfaces are extended. Bug: 160302024 Test: atest --test-mapping packages/modules/DnsResolver/binder/android/net/TEST_MAPPING Change-Id: I6d4c4f979a5c5737b09c45d35258d6f440a9388f
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.