summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2019-10-29 07:05:24 -0700
committerTom Cherry <tomcherry@google.com>2019-10-29 16:07:51 -0700
commit6f061e8d642b8cfc60b8cee72297b11b8e11625f (patch)
treecc0519666ec95716a72abd4660aac59778fbc5d3 /trusty/coverage/coverage_test.cpp
parentb6a3d3f9d30ed0f0330aef6533caf0a9036511dd (diff)
logcat: modernize the code
1) Use libbase parsing functions instead of our own versions 2) Remove log_device_t, as it's an unneeded wrapper around log buffers 3) Do not report 'unexpected' if we get a log from a buffer that we didn't reqest. I checked and I don't see any references to this happening in practice, so the code is mostly superfluous. It seems reasonable enough to report the actual buffer name instead of 'unexpected' in any case. 4) Print all buffers that experience an error, not just the first one seen. Test: logcat works, logcat-unit-tests Change-Id: Ic50074cfb716f63f3eda261f1cd236d7afaf453a
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions