commit | 80fdd8c233e0af8d9cf438f6a16dc29db7f0cd0d | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Wed Mar 10 01:39:21 2021 +0800 |
committer | Luke Huang <huangluke@google.com> | Fri Mar 12 03:59:20 2021 +0000 |
tree | 5f544e60e5bc79251e164f40b914bac8ae6bcd4d | |
parent | 2d1e8672907b20ed8b1b19b841cb6eefd48c4228 [diff] |
Skip the tests relevant to bpf if bpf is not supported Skip the test cases related to bpf functionalities if the device does not support bpf. ResolverTest#BlockDnsQueryWithUidRule ResolverTest#EnforceDnsUid ResolverTest#BlockDnsQueryUidDoesNotLeadToBadServer ResolverMultinetworkTest#DnsWithVpn Bug: 180574161 Bug: 182085418 Test: atest Test: forrest, resolv_integration_test can pass in non-bpf device Change-Id: Ib2d14703187d0f83bb604b4f4434fde51e6a380b
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.