summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* liblog: __android_logger_property_bool svelte+eng defaultMark Salyzyn2017-04-181-0/+3
| | | | | | | | | | | When BOOL_DEFAULT_FLAG_ENG and/or BOOL_DEFAULT_FLAG_SVELTE is set for flags parameter in __android_logger_property_get_bool, they can not be overridden by a supplied property value. Reset these two flags if there is something in the specified property. Test: gTest liblog-unit-tests, logcat-unit-tests and logd-unit-tests Bug: 37425809 Change-Id: I5fc2d727e8c30bc1e781f8b365f44ec62dd36b4d
* libcutils: compile with BOARD_VNDK_VERSION currentSteven Moreland2017-04-171-1/+1
| | | | | | | | | | | | | | | | | | | - moved __android_log_is_debuggable to a new public header (log_properties.h) - vendor version of sched_policy uses ALOG* instead SLOG* Test: (sanity) liblog-unit-tests Test: (sanity) libcutils_test (noting b/b/32972117, two tests continue to fail) Test: system/core as a whole makes with BOARD_VNDK_VERSION := current now with no problems. Test: boots/works on internal marlin Bug: 33241851 (cherry picked from commit 1f83aa424f537cf3f07e1d27dbbcc524818b5358) Merged-In: I5bc1f348dc0f0c8814bec5b5c3d2c52c825ab640 Change-Id: I5bc1f348dc0f0c8814bec5b5c3d2c52c825ab640
* liblog: adapt to removal of property name size limitMark Salyzyn2017-04-071-15/+20
| | | | | | | | | There is no longer a name size limit to the properties. Test: gTest liblog-unit-tests, logd-unit-tests and logcat-unit-tests Test: liblog-benchmarks BM_is_loggable Bug: 36696208 Change-Id: I80706a48583192b21f532a06cb8fa183a34e5f76
* liblog: specify clang formatMark Salyzyn2017-03-091-489/+463
| | | | | | | | | Switch coding style to match SideEffects: None Test: compile Bug: 27405083 Change-Id: Id426d5c5e3b18f2ceec22b31bbc9781aabf6bcca
* liblog: move log_is_loggable.c to properties.cMark Salyzyn2016-12-161-0/+664
Just makes sense cleanup Test: gTest liblog-unit-tests Bug: 33535908 Change-Id: I85de049f3cd73a473d56db5970d42eee5f9f70a8