liblogcat: add android_logcat_run_command_thread

A non-blocking API to run a logcat function in a background thread.
Returns a read end of a pipe to collect the output.

Test: gTest logcat-unit-tests
Bug: 35326290
Change-Id: Idc14e4ad955e0b2b9fafa5d3aeed8cd7fb4069fb
2 files changed
tree: c217bac20fa1e03c421afcb6ebd8f272973eedc2
  1. liblog/
  2. logcat/
  3. logd/
  4. logwrapper/