diff options
author | Mark Salyzyn <salyzyn@google.com> | 2016-09-27 13:08:23 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2016-10-18 09:49:51 -0700 |
commit | f10e27379064797acb2659afc45b54eafbfcd019 (patch) | |
tree | e445df2a58f949ac6a2a01a1ad247ca95f647422 /logd/LogUtils.h | |
parent | e455373b57bc09551eaa2e595bcecbd39acf6a1a (diff) | |
download | system_core-f10e27379064797acb2659afc45b54eafbfcd019.tar.gz system_core-f10e27379064797acb2659afc45b54eafbfcd019.tar.bz2 system_core-f10e27379064797acb2659afc45b54eafbfcd019.zip |
logd: Use private interfaces for buffer size properties
Test: gTest logd-unit-tests, liblog-unit-tests and logcat-unit-tests
Bug: 31750617
Change-Id: I692577cfdf4bf8c93616f32df4b56786918aef1c
Diffstat (limited to 'logd/LogUtils.h')
-rw-r--r-- | logd/LogUtils.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/logd/LogUtils.h b/logd/LogUtils.h index 6db4c51d2..881f09729 100644 --- a/logd/LogUtils.h +++ b/logd/LogUtils.h @@ -45,16 +45,6 @@ const char *tagToName(size_t *len, uint32_t tag); bool clientHasLogCredentials(uid_t uid, gid_t gid, pid_t pid); bool clientHasLogCredentials(SocketClient *cli); -// Furnished in main.cpp -#define BOOL_DEFAULT_FLAG_TRUE_FALSE 0x1 -#define BOOL_DEFAULT_FALSE 0x0 // false if property not present -#define BOOL_DEFAULT_TRUE 0x1 // true if property not present -#define BOOL_DEFAULT_FLAG_PERSIST 0x2 // <key>, persist.<key>, ro.<key> -#define BOOL_DEFAULT_FLAG_ENG 0x4 // off for user -#define BOOL_DEFAULT_FLAG_SVELTE 0x8 // off for low_ram - -bool property_get_bool(const char *key, int def); - static inline bool worstUidEnabledForLogid(log_id_t id) { return (id == LOG_ID_MAIN) || (id == LOG_ID_SYSTEM) || (id == LOG_ID_RADIO) || (id == LOG_ID_EVENTS); |