Home
last modified time | relevance | path

Searched refs:MAX_EVENT_PAYLOAD (Results 1 – 4 of 4) sorted by relevance

/system/core/libstats/socket/
Dstats_event_list.c23 #define MAX_EVENT_PAYLOAD (LOGGER_ENTRY_MAX_PAYLOAD - sizeof(int32_t)) macro
54 if ((context->pos + needed) > MAX_EVENT_PAYLOAD) { in reset_log_context()
139 if ((context->pos + needed) > MAX_EVENT_PAYLOAD) { in android_log_write_char_array()
141 len = MAX_EVENT_PAYLOAD - context->pos - 1 - sizeof(int32_t); in android_log_write_char_array()
Dstats_event.c26 #define MAX_EVENT_PAYLOAD (LOGGER_ENTRY_MAX_PAYLOAD - 4) macro
60 event->buf = (uint8_t*)calloc(MAX_EVENT_PAYLOAD, 1); in stats_event_obtain()
93 if (event->size + size > MAX_EVENT_PAYLOAD) { in overflows()
143 size_t size = strnlen(buf, MAX_EVENT_PAYLOAD); in append_string()
144 if (size == MAX_EVENT_PAYLOAD) { in append_string()
/system/core/liblog/
Dlog_event_list.cpp28 #define MAX_EVENT_PAYLOAD (LOGGER_ENTRY_MAX_PAYLOAD - sizeof(int32_t)) macro
52 if ((context->pos + needed) > MAX_EVENT_PAYLOAD) { in init_context()
63 len = (len <= MAX_EVENT_PAYLOAD) ? len : MAX_EVENT_PAYLOAD; in init_parser_context()
142 if ((context->pos + needed) > MAX_EVENT_PAYLOAD) { in android_log_write_list_begin()
172 if ((context->pos + needed) > MAX_EVENT_PAYLOAD) { in android_log_write_int32()
192 if ((context->pos + needed) > MAX_EVENT_PAYLOAD) { in android_log_write_int64()
216 if ((context->pos + needed) > MAX_EVENT_PAYLOAD) { in android_log_write_string8_len()
218 len = MAX_EVENT_PAYLOAD - context->pos - 1 - sizeof(int32_t); in android_log_write_string8_len()
236 return android_log_write_string8_len(ctx, value, MAX_EVENT_PAYLOAD); in android_log_write_string8()
247 if ((context->pos + needed) > MAX_EVENT_PAYLOAD) { in android_log_write_float32()
[all …]
/system/core/libstats/push_compat/
Dstats_event_list.c23 #define MAX_EVENT_PAYLOAD (LOGGER_ENTRY_MAX_PAYLOAD - sizeof(int32_t)) macro
59 if ((context->pos + needed) > MAX_EVENT_PAYLOAD) { in reset_log_context()
223 if ((context->pos + needed) > MAX_EVENT_PAYLOAD) { in android_log_write_char_array()
225 len = MAX_EVENT_PAYLOAD - context->pos - 1 - sizeof(int32_t); in android_log_write_char_array()