History log of /system/core/liblog/tests/log_id_test.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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_id_test.cpp
62d0d2d683f5d19cf9d451548bd03c4b4f53c42e 09-Mar-2016 Mark Salyzyn <salyzyn@google.com> liblog: add logprint to host build

- cleanup of some style issues
- resolve a few minor bugs
- add -lrt for host so that clock_gettime can be issued
- enable write-only logging, logprint and event list
handling tests for host consumption.

NB: CtsLiblogTestCases_list is only outlet for host testing of
the interfaces, but it is not part of any automated testing

Test: gTest liblog-unit-tests, liblog-benchmarks and
CtsLiblogTestCases_list && build mmma system/core/liblog
Bug: 27405083
Change-Id: I13db1f45f67569407587a5a909248de33809b8cf
/system/core/liblog/tests/log_id_test.cpp
3cdbdd522fbbb2611713805c72c6d741a91bcfd5 22-Dec-2016 Mark Salyzyn <salyzyn@google.com> liblog: add log/log_id.h

Move common log_id_t and simple internal support function definitions
that use it from log/log.h to log/log_id.h.

log_id_t
__android_log_buf_write
__android_log_buf_print
android_name_to_log_id
android_log_id_to_name

Test: gTest liblog-unit-tests --gtest_filter=\
liblog.log_id:\
liblog.__android_log_buf_print:\
liblog.__android_log_buf_write:\
liblog.__android_log_buf_print__concurrent64
Bug: 34250038
Change-Id: Iad3704cc72943a3094e1193a6d032c7f29a6cd5c
/system/core/liblog/tests/log_id_test.cpp