Home
last modified time | relevance | path

Searched refs:logformat (Results 1 – 3 of 3) sorted by relevance

/system/core/liblog/
Dstderr_write.c52 AndroidLogFormat* logformat; member
86 ctx->logformat = android_log_format_new(); in stderrOpen()
87 if (!ctx->logformat) { in stderrOpen()
105 if (android_log_setPrintFormat(ctx->logformat, format) <= 0) { in stderrOpen()
114 android_log_setPrintFormat(ctx->logformat, format); in stderrOpen()
118 android_log_addFilterString(ctx->logformat, envStr); in stderrOpen()
130 if (ctx->logformat) { in stderrClose()
131 android_log_format_free(ctx->logformat); in stderrClose()
132 ctx->logformat = NULL; in stderrClose()
205 if (!android_log_shouldPrintLine(ctx->logformat, entry.tag, entry.priority)) { in stderrWrite()
[all …]
/system/core/liblog/tests/
Dliblog_test.cpp482 AndroidLogFormat* logformat = android_log_format_new(); in bswrite_test() local
483 EXPECT_TRUE(NULL != logformat); in bswrite_test()
499 android_log_printLogLine(logformat, fileno(stderr), &entry)); in bswrite_test()
502 android_log_printLogLine(logformat, fileno(stderr), &entry)); in bswrite_test()
505 android_log_format_free(logformat); in bswrite_test()
596 AndroidLogFormat* logformat = android_log_format_new(); in buf_write_test() local
597 EXPECT_TRUE(NULL != logformat); in buf_write_test()
608 android_log_printLogLine(logformat, fileno(stderr), &entry)); in buf_write_test()
610 android_log_format_free(logformat); in buf_write_test()
1195 AndroidLogFormat* logformat = android_log_format_new(); in TEST() local
[all …]
/system/core/logcat/
Dlogcat.cpp104 AndroidLogFormat* logformat; member
335 context->logformat, std::string(entry.tag, entry.tagLen).c_str(), in processBuffer()
341 bytesWritten = android_log_printLogLine(context->logformat, in processBuffer()
564 return android_log_setPrintFormat(context->logformat, format); in setLogFormat()
845 context->logformat = android_log_format_new(); in __logcat()
959 android_log_addFilterRule(context->logformat, "*:s"); in __logcat()
1397 err = android_log_addFilterString(context->logformat, in __logcat()
1409 err = android_log_addFilterString(context->logformat, in __logcat()
1426 err = android_log_addFilterString(context->logformat, argv[i]); in __logcat()