commit | 9c72010180633ab9528806fbe4ef2c6cb5e592ff | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Thu Nov 14 11:34:33 2019 +0800 |
committer | Mike Yu <yumike@google.com> | Fri Nov 15 20:17:02 2019 +0800 |
tree | b5df41450fe9c83f2f0197297fc5ee5d8b6b1810 | |
parent | 40e6707a84704f8c83f7cdba1124496ec13790c3 [diff] |
Add getExperimentFlagInt to utility A utility used for getting the integer from the experiment flag. No functionality change. Bug: 120182528 Bug: 141218721 Test: manually setting the device_config works, e.g. adb shell device_config put netd_native dot_connect_timeout_ms 3000 Change-Id: Ib4bb39b0465de86c3db0151f0b3c3a66f5a83de8
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.