commit | 441d9378a249bdb241be223c16f57d3512a7cc75 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Wed Jul 15 17:06:22 2020 +0800 |
committer | Mike Yu <yumike@google.com> | Wed Sep 23 17:03:44 2020 +0800 |
tree | f32675a37663cc350423b5d71dd844397bbdd56c | |
parent | 62978a845c380eb1725bb58cafb487df18d546d3 [diff] |
Add startHandshake to IDnsTlsSocket This is a refactor change which separates the handshake code from DnsTlsSocket::initialize(). The plan is that initialize() will continue running on query threads but the code for connection handshake will run on either query threads or loop threads depending on a flag. Bug: 149445907 Test: cd packages/modules/DnsResolver && atest Change-Id: I262f978230fb1a01ca7963de03b64cb439a37eec
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.