logd: Add control statistics enable/disable.

- ro.build.type=user turn off statistics
- ro.config.low_ram=true turn off statistics
- logd.statistics override

(cherry pick from commit 6b4a4d0048757d2f93670d55adb24c73db70e0af)

Bug: 17526159
Bug: 17526187
Change-Id: I74796043ac34753c6dd10018719ebc0bcd94e00f
5 files changed
tree: 2e0742c65ddf50f1a8afa46c41f3ec08aab64a32
  1. liblog/
  2. logcat/
  3. logd/
  4. logwrapper/