summaryrefslogtreecommitdiff
path: root/libunwindstack/tests/MemoryLocalTest.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2016-02-25 08:41:25 -0800
committerMark Salyzyn <salyzyn@google.com>2016-02-25 15:53:00 -0800
commit1d5afc9e08d0f5d6a79716d8f003cef97a01dd68 (patch)
tree2036aca936a48f588ecc4adab38356f6d7bdba8e /libunwindstack/tests/MemoryLocalTest.cpp
parent82d84897b1f17ccda1e32098af11a25bd9f6127a (diff)
liblog: add android_log_write_string8_len
(cherry pick from commit 67d7eafd56010f154137e4316e938f802b2b0732) 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
Diffstat (limited to 'libunwindstack/tests/MemoryLocalTest.cpp')
0 files changed, 0 insertions, 0 deletions