platform_system_core/logcat/tests
Mark Salyzyn 01bdb04be6 liblog: allow event tags to include some punctuations
event_log_tag parser complains about a period (.) in the name,
we would consider such an enhancement to the tag names possible.
I expect we would want to be able to support alphanumerics,
underscore (_), period (.), minus (-), at (@) and comma (,) for
starters as they are present in the other text log buffer tags.

We introduce a local endOfTag function that is used during parsing and
during android_lookupEventTagNum for submitting new tags.  This
function caused us to enforce const char more closely.  By filtering
in both places we resolve an issue that could have plagued us if
garbage requests were made.

Test: gTest liblog-unit-tests, logd-unit-tests & logcat-unit-tests
Bug: 31456426
Change-Id: I596b8706e843719ddac07ec40e1cd2875c214bed
2017-04-14 12:56:06 -07:00
..
Android.mk logcatd: introduce logcatd executable 2017-04-04 08:01:50 -07:00
exec_benchmark.cpp liblogcat: measure performance 2017-02-22 16:06:24 -08:00
liblogcat_test.cpp liblogcat: add android_logcat_popen and android_logcat_system 2017-02-17 14:42:14 -08:00
logcat_benchmark.cpp liblogcat: measure performance 2017-02-22 16:06:24 -08:00
logcat_test.cpp liblog: allow event tags to include some punctuations 2017-04-14 12:56:06 -07:00
logcatd_test.cpp logcatd: introduce logcatd executable 2017-04-04 08:01:50 -07:00