commit | ac4fc1bd5834ba1fcf8cf9d26b77a72252c5963f | [log] [tgz] |
---|---|---|
author | chenbruce <chenbruce@google.com> | Wed May 20 15:22:52 2020 +0000 |
committer | Bruce Chen <chenbruce@google.com> | Thu May 21 08:56:19 2020 +0000 |
tree | 4975bbd541d86b77a460897d9db35d8ceca7db23 | |
parent | 39f7b16ddb89b2c79a5135fd48d17256398d5811 [diff] |
Add GetCustTableByName to unit test This unit test is for getCustomizedTableByName(). Bug: 122998288 Test: cd packages/modules/DnsResolver && atest Merged-In: I40a129dd6c0aa2eb75f53ddd2b58e080ba8b2656 Change-Id: Ie5a3a2054dc111ac758e603299badff51053c1dc (cherry picked from commit 9334b5d03e066857c386aca0522e505f5693088b)
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.