commit | cdc6d3bb70ecd53f8d0658e5d95f9c50b8694695 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Thu Nov 17 05:33:26 2022 +0000 |
committer | Mike Yu <yumike@google.com> | Tue Nov 29 09:45:27 2022 +0000 |
tree | ab9569a520e8cd5c0407255eea2c71e54c1908c1 | |
parent | 0bfb5a4c2f6db2a1ee06b6d438d06bdd3987cb60 [diff] |
Add a test config template for doh_ffi_test resolv_test_config_template is used for the tests that require root access. We can't use it for doh_ffi_test because doh_ffi_test needs to be run by mts-user that runs tests on user build. So add a test config template that doesn't contain RootTargetPreparer for doh_ffi_test. Bug: 259349997 Test: run mts-dnsresolver -m doh_ffi_test on a user build Change-Id: I0c4f791ead2fd3ec16b2b94ef5403e1b73254c11
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.