Loading logd/Android.mk +1 −1 Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ LOCAL_SHARED_LIBRARIES := \ # event_flag := $(call event_logtags,auditd) # event_flag += $(call event_logtags,logd) # so make sure we do not regret hard-coding it as follows: event_flag := -DAUDITD_LOG_TAG=1003 -DLOGD_LOG_TAG=1004 event_flag := -DAUDITD_LOG_TAG=1003 -DCHATTY_LOG_TAG=1004 LOCAL_CFLAGS := -Werror $(event_flag) Loading logd/LogBufferElement.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -181,7 +181,7 @@ size_t LogBufferElement::populateDroppedMessage(char *&buffer, android_log_event_string_t *event = reinterpret_cast<android_log_event_string_t *>(buffer); event->header.tag = htole32(LOGD_LOG_TAG); event->header.tag = htole32(CHATTY_LOG_TAG); event->type = EVENT_TYPE_STRING; event->length = htole32(len); } else { Loading logd/event.logtags +1 −1 Original line number Diff line number Diff line Loading @@ -34,4 +34,4 @@ # TODO: generate ".java" and ".h" files with integer constants from this file. 1003 auditd (avc|3) 1004 logd (dropped|3) 1004 chatty (dropped|3) Loading
logd/Android.mk +1 −1 Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ LOCAL_SHARED_LIBRARIES := \ # event_flag := $(call event_logtags,auditd) # event_flag += $(call event_logtags,logd) # so make sure we do not regret hard-coding it as follows: event_flag := -DAUDITD_LOG_TAG=1003 -DLOGD_LOG_TAG=1004 event_flag := -DAUDITD_LOG_TAG=1003 -DCHATTY_LOG_TAG=1004 LOCAL_CFLAGS := -Werror $(event_flag) Loading
logd/LogBufferElement.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -181,7 +181,7 @@ size_t LogBufferElement::populateDroppedMessage(char *&buffer, android_log_event_string_t *event = reinterpret_cast<android_log_event_string_t *>(buffer); event->header.tag = htole32(LOGD_LOG_TAG); event->header.tag = htole32(CHATTY_LOG_TAG); event->type = EVENT_TYPE_STRING; event->length = htole32(len); } else { Loading
logd/event.logtags +1 −1 Original line number Diff line number Diff line Loading @@ -34,4 +34,4 @@ # TODO: generate ".java" and ".h" files with integer constants from this file. 1003 auditd (avc|3) 1004 logd (dropped|3) 1004 chatty (dropped|3)