summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2016-09-26 13:21:05 -0700
committerMark Salyzyn <salyzyn@google.com>2016-10-18 09:48:55 -0700
commite455373b57bc09551eaa2e595bcecbd39acf6a1a (patch)
tree89fdc084beb7afb82c916eb3efe2a2655e8f02e7 /libutils/Unicode.cpp
parentc1f74ca5aaa71513bdca60ea399116b0746676cd (diff)
liblog: Add private interfaces for buffer size properties
Add private function __android_logger_get_buffer_size() to read properties and compose the default buffer size. This interface complements the existing android_looger_get_size() which returns the logd setting which can differ at runtime. For use in logd and dumpstate. Side effect is we also add the private functions __android_logger_property_get_bool() and __android_logger_valid_buffer_size() for reuse in logd. Test: gTest liblog-unit-test, logd-unit-tests and logcat-unit-tests in combination with commit 'logd: Use private interfaces for buffer size properties' Bug: 31750617 Change-Id: Id95cb68f775ef6b427c122e10f6f8291d336d184
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions