Commit graph

3 commits

Author SHA1 Message Date
Tom Cherry
bd5a283ccd logd: disable flaky tests
Bug: 162600780
Test: build
Change-Id: I1da7531ab1c64d77ba228096913fc23d36ef5793
2020-07-31 11:48:33 -07:00
Tom Cherry
bc72197b33 logd: use the compressed (serialized) log buffer by default
The serialized log buffer along with compression results in:
* ~3.5x more logs than chatty
* Less CPU usage
* Less memory usage
* Equivalent log range

Also, delete tests that assume that the device logd implementation is
chatty.  There are actual unit tests for this same behavior that don't
rely on the device logd.

Test: serialized log buffer is used
Change-Id: Ie12898617429a75b6caff92725aa7145650f8fc6
2020-07-22 20:21:09 -07:00
Tom Cherry
43f3f761f0 logd: add LogBufferTest.cpp
Add a standalone test of log buffers that does not interact with the
logd running on the device.

Test: this new test
Change-Id: Ie4ecc50289ef164aa47cc72ddeeb9b28e776db94
2020-05-18 15:51:08 -07:00
Renamed from logd/tests/logd_test.cpp (Browse further)