platform_system_core/liblog/tests
Tom Cherry 57c8eacee4 liblog: support extended logger_entry headers
logger_entry has a hdr_size field meant for backwards compatibility,
however there are a few checks that expect it to be a specific size.
More problematically, it has a variable length array element, msg[0]
at the end, that would be incorrect if the header size was not kept
static.

This change fixes up those issues to facilitate future additions.

Bug: 119867234
Test: logging works with extended size headers, logging unit tests
Test: newly added unit tests with extended size header
Merged-In: I14b2b0855d219d11f374b53a5aa8e05cd6a65eef
Change-Id: I14b2b0855d219d11f374b53a5aa8e05cd6a65eef
(cherry picked from commit d3ecc66b9c)
2020-04-10 11:48:06 -07:00
..
Android.bp Remove vts10 tests from vts suite 2020-04-06 14:25:10 -07:00
AndroidTest.xml CtsLiblogTestCases secondary_user 2020-01-06 09:58:07 -08:00
libc_test.cpp liblog: simplify socket_local_client() and always use CLOEXEC 2019-02-12 12:53:19 -08:00
liblog_benchmark.cpp liblog: simplify logd 'command' functions and struct logger 2019-11-18 07:16:40 -08:00
liblog_default_tag.cpp liblog: fix host tests 2020-01-28 13:07:11 -08:00
liblog_global_state.cpp liblog: correct new APIs per the API review 2020-03-16 15:31:52 -07:00
liblog_host_test.cpp liblog: fix host tests 2020-01-28 13:07:11 -08:00
liblog_test.cpp Rename ro.device_owner system property 2020-02-19 10:34:36 +00:00
log_id_test.cpp Small liblog test fixes & readability improvements. 2017-08-25 14:53:21 +01:00
log_radio_test.cpp liblog: simplify socket_local_client() and always use CLOEXEC 2019-02-12 12:53:19 -08:00
log_read_test.cpp liblog: use RunLogTests() for more tests 2019-10-14 13:11:26 -07:00
log_system_test.cpp liblog: simplify socket_local_client() and always use CLOEXEC 2019-02-12 12:53:19 -08:00
log_time_test.cpp Use #pragma one for all liblog includes 2019-01-16 10:49:45 -08:00
log_wrap_test.cpp liblog: remove alarm in logd_reader.cpp 2019-10-08 13:05:55 -07:00
logprint_test.cpp liblog: support extended logger_entry headers 2020-04-10 11:48:06 -07:00
rwlock_test.cpp liblog: use a rwlock for writer initialization 2019-12-12 16:19:08 -08:00