Home
last modified time | relevance | path

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

/system/core/liblog/
Dstderr_write.cpp51 AndroidLogFormat* logformat; member
85 ctx->logformat = android_log_format_new(); in stderrOpen()
86 if (!ctx->logformat) { in stderrOpen()
104 if (android_log_setPrintFormat(ctx->logformat, format) <= 0) { in stderrOpen()
113 android_log_setPrintFormat(ctx->logformat, format); in stderrOpen()
117 android_log_addFilterString(ctx->logformat, envStr); in stderrOpen()
129 if (ctx->logformat) { in stderrClose()
130 android_log_format_free(ctx->logformat); in stderrClose()
131 ctx->logformat = NULL; in stderrClose()
203 if (!android_log_shouldPrintLine(ctx->logformat, entry.tag, entry.priority)) { in stderrWrite()
[all …]
/system/core/liblog/tests/
Dliblog_test.cpp462 AndroidLogFormat* logformat = android_log_format_new(); in bswrite_test() local
463 EXPECT_TRUE(NULL != logformat); in bswrite_test()
479 android_log_printLogLine(logformat, fileno(stderr), &entry)); in bswrite_test()
482 android_log_printLogLine(logformat, fileno(stderr), &entry)); in bswrite_test()
485 android_log_format_free(logformat); in bswrite_test()
576 AndroidLogFormat* logformat = android_log_format_new(); in buf_write_test() local
577 EXPECT_TRUE(NULL != logformat); in buf_write_test()
588 android_log_printLogLine(logformat, fileno(stderr), &entry)); in buf_write_test()
590 android_log_format_free(logformat); in buf_write_test()
1175 AndroidLogFormat* logformat = android_log_format_new(); in TEST() local
[all …]
/system/core/logcat/
Dlogcat.cpp107 AndroidLogFormat* logformat; member
338 context->logformat, std::string(entry.tag, entry.tagLen).c_str(), in processBuffer()
344 bytesWritten = android_log_printLogLine(context->logformat, in processBuffer()
567 return android_log_setPrintFormat(context->logformat, format); in setLogFormat()
839 context->logformat = android_log_format_new(); in __logcat()
943 android_log_addFilterRule(context->logformat, "*:s"); in __logcat()
1363 err = android_log_addFilterString(context->logformat, in __logcat()
1375 err = android_log_addFilterString(context->logformat, in __logcat()
1392 err = android_log_addFilterString(context->logformat, argv[i]); in __logcat()