logcat: allow comma-separate list of buffers

- Add parsing to support comma+ separated list of buffers.
- Move get_size test into a standalone get_groups function
- add some additional tests for this feature, leveraging
  get_groups to confirm buffer selection.

Bug: 28120456
Change-Id: I0b42736c08cf4b2a435cb74cda540dc163a26bd1
2 files changed
tree: 8090c859c466cba814f6a77a66b54e9624a72e83
  1. liblog/
  2. logcat/
  3. logd/
  4. logwrapper/