commit | d31abf8528e1647bff6b0d89d2235add5a09dac7 | [log] [tgz] |
---|---|---|
author | Maciej Żenczykowski <maze@google.com> | Fri Apr 24 14:11:52 2020 -0700 |
committer | Maciej Żenczykowski <maze@google.com> | Fri Apr 24 14:12:10 2020 -0700 |
tree | 0dfff8c0f7095becd9bf90ca8002c4e1c76373ae | |
parent | b77afa0ad247814dd639dc93e17202e60553c069 [diff] |
tests/resolv_gold_test - fix performance-unnecessary-value-param warning Fixes: packages/modules/DnsResolver/tests/resolv_gold_test.cpp:391:73: warning: the parameter 'info' is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param] static std::string Name(::testing::TestParamInfo<GoldTestParamType> info) { ^ const & Test: builds Bug: 153035880 Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I619b9664ffa5f3cd8a99cb0b36e13315383630ee
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.