platform_system_core/include/log
Mark Salyzyn 1d5afc9e08 liblog: add android_log_write_string8_len
(cherry pick from commit 67d7eafd56)

android_log_write_string8_len(android_log_context ctx,
                              const char *value, size_t maxlen)

Caps the supplied string to a maxlen length. Alter API to handle
a NULL pointer for the value string for this and
android_log_write_string8() and instead of returning -EINVAL,
act like a null string "" was supplied to preserve the list
location. API is also changed to report the number of characters
actually placed into the android_log_context.

Bug: 27356456
Bug: 19235719
Change-Id: I6a03d405eac1d741555dd05555513ec691e7a46e
2016-02-25 15:53:00 -08:00
..
event_tag_map.h Move liblog headers to system/core/include/log 2013-07-24 12:32:39 -07:00
log.h liblog: add android_log_write_string8_len 2016-02-25 15:53:00 -08:00
log_read.h liblog: Add log_time += operator 2015-01-05 16:27:54 +00:00
logd.h Add logd security buffer tag types and string write API. 2016-01-19 17:13:28 +00:00
logger.h logger.h: reduce maximum payload so sum is page size 2015-12-09 08:12:07 -08:00
logprint.h liblog: logprint add uid format modifier 2015-12-09 08:12:07 -08:00
uio.h Only Windows doesn't have <sys/uio.h>. 2014-11-25 13:27:43 -08:00