commit | cfe84227559fc517988b3f1a0602b434391de6e6 | [log] [tgz] |
---|---|---|
author | Ken Chen <cken@google.com> | Sun Feb 13 17:27:54 2022 +0800 |
committer | Ken Chen <cken@google.com> | Mon Feb 14 18:12:46 2022 +0800 |
tree | 5d511c82e6f3bf75ad769bcfd662d948717d0aab | |
parent | 9e35bc0633ae2260fdd25806bed39d5f568e849b [diff] |
Disable a few tests from resolv_integration_test 5 tests rely on Netd firewallSetUidRule(), firewallEnableChildChain(), and firewall<Add|Remove>UidInterfaceRules(). These functions are moved from Netd to mainline module and no longer being supported by Netd. Disable tests until we have alternative solutions. Disabled tests: - BlockDnsQueryWithUidRule - GetAddrinfo_BlockDnsQueryWithUidRule - EnforceDnsUid - BlockDnsQueryUidDoesNotLeadToBadServer - DnsWithVpn Test: atest resolv_integration_test Change-Id: I47d21fec4c24507db46aca05cb2d85bf7bde1de7
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.