37eaefa9a0792ece4db77bbc0cf03cc0b6793c54 |
|
23-May-2017 |
Mark Salyzyn <salyzyn@google.com> |
liblog: test: android_logger_get_ "kernel" log buffer can be empty If user build and for the "kernel" log buffer, allow an empty report. Test: CTS: User: liblog#android_logger_get_ Test: remove ro.debuggable line from /default.prop, run liblog-unit-tests --gtest_filter=*.android_logger_get_ Bug: 62030309 Change-Id: I5f91af07608988f322b3c46574becc308e1d8b13
/system/core/liblog/tests/log_read_test.cpp
|
2ed51d708eda64516ec79ac6397f690de38f0075 |
|
09-Mar-2017 |
Mark Salyzyn <salyzyn@google.com> |
liblog: specify clang format Switch coding style to match SideEffects: None Test: compile Bug: 27405083 Change-Id: Id426d5c5e3b18f2ceec22b31bbc9781aabf6bcca
/system/core/liblog/tests/log_read_test.cpp
|
21de8aca67fd8b2f1e10ef250509164c34fc7049 |
|
25-Jan-2017 |
Mark Salyzyn <salyzyn@google.com> |
liblog: add log/log_read.h Move log reading definitions to their own home. struct logger_entry struct logger_entry_v2 struct logger_entry_v3 struct logger_entry_v4 LOGGER_ENTRY_MAX_PAYLOAD LOGGER_ENTRY_MAX_LEN struct log_msg android_logger_get_id() android_logger_clear() android_logger_get_log_size() android_logger_get_log_readable_size() struct logger_list android_logger_get_statistics() android_logger_get_prune_list() android_logger_set_prune_list() android_logger_list_alloc() android_logger_list_alloc_time() android_logger_list_free() android_logger_list_read() android_logger_open() android_logger_list_open() Deal with a possible scenario where fcntl.h was not included at the top of the source files, and log/log_read.h inclusion of fcntl.h conflicts with a source file inclusion of sys/cdefs.h definition of __unused macro. Test: gTest liblog-unit-tests --gtest_filter=\ liblog.__android_log_write__android_logger_list_read:\ liblog.android_logger_get_ Bug: 34250038 Change-Id: Ib33544171563d6a351164754c254c4385686025b
/system/core/liblog/tests/log_read_test.cpp
|