1b1b6f50c78d88e3256a5e13559d92fbb6d1c8fe |
|
25-Aug-2017 |
Stefan Lafon <stlafon@google.com> |
Create stats buffer in logd. Test: Ran the existing tests in logd, liblog and logcat. Confirmed that the liblog tests are already failing at head. Also that logcat test fails at head. Change-Id: I65b801bb0b84c9d4983c3f4af6895a366ced0d7a
/system/core/liblog/include/log/log.h
|
58e06c5f94736152628a7d45ff7a16d1b501ef76 |
|
08-Jul-2017 |
Ian Elliott <ianelliott@google.com> |
Use void instead of no parameters in 2 function declarations. In compiling some code with a picky "Android.mk" file, it is not happy with a function declaration that looks like: void foo(); It requires: void foo(void); This commit changes that for 2 functions in "log.h". Test: Build both Android and the code with a picky "Android.mk". Change-Id: Icd624df34db57e642fe6b1c7da77be9b05936936
/system/core/liblog/include/log/log.h
|
64328403b596acc86c216763a1cb9b7f7f7965ed |
|
28-Apr-2017 |
Steven Moreland <smoreland@google.com> |
liblog: __android_log_error_write in vndk Also added log_safetynet.h header. This contains a memory sensitive logging function which is used to detect attack attempts. Fixes: 37442967 Test: liblog-unit-tests on internal marlin Test: build liblog with BOARD_VNDK_VERSION := current on aosp_arm Test: libbinder vendor variant links with BOARD_VNDK_VERSION := current Change-Id: Icfcc2b1acbb3712bf4c84403870dc93401eafb15
/system/core/liblog/include/log/log.h
|
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/include/log/log.h
|
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/include/log/log.h
|
52c140ca7216a2abdccd3eec2118bc3a87ded376 |
|
25-Jan-2017 |
Mark Salyzyn <salyzyn@google.com> |
liblog: add log/log_time.h Move log_time definitions to their own home. struct log_time Test: gTest liblog-unit-tests --gtest_filter=liblog.log_time Bug: 34250038 Change-Id: I400cf4cc865d1c167699a4654ecb69455a18e604
/system/core/liblog/include/log/log.h
|
dd61659e73e71d025979ba0001be0a81ea0e9711 |
|
22-Dec-2016 |
Mark Salyzyn <salyzyn@google.com> |
liblog: add log/log_system.h Move SLOG logging macros to their own home. SLOGV SLOGV_IF SLOGD SLOGD_IF SLOGI SLOGI_IF SLOGW SLOGW_IF SLOGE SLOGE_IF Test: gTest liblog-unit-tests --gtest_filter=liblog.SLOG Bug: 34250038 Change-Id: I456c7ad23152dc1c7b39143d87401a8737e24d64
/system/core/liblog/include/log/log.h
|
c89fea44accab8c95cf9b7d74c265439963fbd8a |
|
22-Dec-2016 |
Mark Salyzyn <salyzyn@google.com> |
liblog: add log/log_radio.h Move RLOG logging macros to their own home. RLOGV RLOGV_IF RLOGD RLOGD_IF RLOGI RLOGI_IF RLOGW RLOGW_IF RLOGE RLOGE_IF Test: gTest liblog-unit-tests --gtest_filter=liblog.RLOG Bug: 34250038 Change-Id: Iad5b5abf23c7a537ff5293bb55a6633dce2e837d
/system/core/liblog/include/log/log.h
|
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/include/log/log.h
|
5c967da341c9395a4c378c149f326505224ec66e |
|
09-Jan-2017 |
Mark Salyzyn <salyzyn@google.com> |
ndk: reverse course on android/log.h move LOG macros to log/log_main.h move include/android/log.h to liblog/include/android/log.h Test: compile of all components and gTest liblog-unit-tests Bug: 34250038 Bug: 30465923 Change-Id: If182dd9b83689e8b7bc1a44b2f5d913c7ee5eeee
/system/core/liblog/include/log/log.h
|
651f8383e66a32741d78f485c714ced345db7b3d |
|
25-Jan-2017 |
Vijay Venkatraman <vijaykv@google.com> |
Revert "Revert "Exporting C headers from system/core"" This reverts commit a3f2be2b73cebb057218db2a19e8fad04ecb88f6. Test: compile Change-Id: I04b3a8e47e1fa3eb9d80c14ae3a90c68a780e858
/system/core/liblog/include/log/log.h
|
a3f2be2b73cebb057218db2a19e8fad04ecb88f6 |
|
25-Jan-2017 |
Vijay Venkatraman <vijaykv@google.com> |
Revert "Exporting C headers from system/core" This reverts commit 3c6763ca21c1150d66daf8fde9b440b1c3219fe6. Change-Id: If3b3e106478d28a5df927d57649abdca0a99dd0e
/system/core/liblog/include/log/log.h
|
3c6763ca21c1150d66daf8fde9b440b1c3219fe6 |
|
05-Jan-2017 |
Vijay Venkatraman <vijaykv@google.com> |
Exporting C headers from system/core Moved headers from include/libcutils and include/liblog to libcutils/include and liblog/include respectively, so they can be exported via these libs. They needed to be moved since Soong does not allow export from external folder. Added symlink from old locations. They are needed since Soong includes system/core/include by default. Once all modules are cleaned up to explicitly add the required libs, the symlinks will be removed. Also added liblog_vndk_headers that exports a special log/log.h for VNDK. Moved headers of libcutils to libcutils_headers. They should be used by modules for header-only inlines. Added libcutils_headers as dependency of libcutils. Added libcutils_vndk_headers that exports a special cutils/log.h deprecating usage of the file. A later CL will deprecate the one in libcutils_headers Test: Add above libs to shared lib of local module Change-Id: I6e1f9c5f23d8b6eae13dc3b7e5dfe7fae93b8510
/system/core/liblog/include/log/log.h
|