Read protobuf output instead of parsing text.

`dumpsys meminfo` provides an `--proto` option to output a protobuf
instead of text. This is easier to consume than parsing text and is more
resistant to changes in the text format, like when RSS was recently
added.

Fixes: 143890260
Test: atest CollectorsHelperTest:com.android.helpers.tests.DumpsysMeminfoHelperTest
atest CollectorDeviceLibTest:android.device.collectors.DumpsysMeminfoListenerTest

Change-Id: I6f9a63f2b5088e9401627cd2c0d81ae2d384cf51
2 files changed
tree: bd8c1480c9182f225600cda7b555e08f3463873c
  1. build/
  2. docs/
  3. emu_test/
  4. libraries/
  5. scripts/
  6. tests/
  7. utils/
  8. PREUPLOAD.cfg