commit | af130a4c29ed5adcb83463e9ac2e61429cb4c84c | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Thu Jan 28 17:29:05 2021 +0800 |
committer | Mike Yu <yumike@google.com> | Tue Jun 29 16:42:59 2021 +0000 |
tree | 8ee2e8bb15fcc9987c35a82f6999ea170292c932 | |
parent | b29545b931facc11a3988adfbbb0fc6fd1ebdd2b [diff] |
Read test cacert and keys from files Change the way how the tests read CaCerts and private key. Now, they are read from the files in test_keys directory. This is in preparation for DoH tests because quiche can read them only from file path. Bug: 181642979 Test: cd packages/modules/DnsResolver && atest Test: mts-tradefed run mts-dnsresolver-native Change-Id: Ifc9813f22afe4d8780bdceb6d7a1a5d24717f5d5
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.