Searched refs:p_format (Results 1 – 3 of 3) sorted by relevance
/system/core/liblog/include/log/ |
D | logprint.h | 71 void android_log_format_free(AndroidLogFormat* p_format); 74 int android_log_setPrintFormat(AndroidLogFormat* p_format, 92 int android_log_addFilterRule(AndroidLogFormat* p_format, 105 int android_log_addFilterString(AndroidLogFormat* p_format, 112 int android_log_shouldPrintLine(AndroidLogFormat* p_format, const char* tag, 144 char* android_log_formatLogLine(AndroidLogFormat* p_format, char* defaultBuffer, 155 int android_log_printLogLine(AndroidLogFormat* p_format, int fd,
|
/system/core/liblog/ |
D | logprint.c | 179 static android_LogPriority filterPriForTag(AndroidLogFormat* p_format, in filterPriForTag() argument 183 for (p_curFilter = p_format->filters; p_curFilter != NULL; in filterPriForTag() 187 return p_format->global_pri; in filterPriForTag() 194 return p_format->global_pri; in filterPriForTag() 201 LIBLOG_ABI_PUBLIC int android_log_shouldPrintLine(AndroidLogFormat* p_format, in android_log_shouldPrintLine() argument 204 return pri >= filterPriForTag(p_format, tag); in android_log_shouldPrintLine() 235 LIBLOG_ABI_PUBLIC void android_log_format_free(AndroidLogFormat* p_format) { in android_log_format_free() argument 238 p_info = p_format->filters; in android_log_format_free() 247 free(p_format); in android_log_format_free() 257 LIBLOG_ABI_PUBLIC int android_log_setPrintFormat(AndroidLogFormat* p_format, in android_log_setPrintFormat() argument [all …]
|
/system/core/liblog/tests/ |
D | liblog_test.cpp | 1352 static bool checkPriForTag(AndroidLogFormat* p_format, const char* tag, in checkPriForTag() argument 1354 return android_log_shouldPrintLine(p_format, tag, pri) && in checkPriForTag() 1355 !android_log_shouldPrintLine(p_format, tag, in checkPriForTag() 1362 AndroidLogFormat* p_format = android_log_format_new(); in TEST() local 1364 android_log_addFilterRule(p_format, "*:i"); in TEST() 1366 EXPECT_TRUE(checkPriForTag(p_format, tag, ANDROID_LOG_INFO)); in TEST() 1367 EXPECT_TRUE(android_log_shouldPrintLine(p_format, tag, ANDROID_LOG_DEBUG) == in TEST() 1369 android_log_addFilterRule(p_format, "*"); in TEST() 1370 EXPECT_TRUE(checkPriForTag(p_format, tag, ANDROID_LOG_DEBUG)); in TEST() 1371 EXPECT_TRUE(android_log_shouldPrintLine(p_format, tag, ANDROID_LOG_DEBUG) > 0); in TEST() [all …]
|