Searched refs:p_format (Results 1 – 3 of 3) sorted by relevance
/system/core/liblog/include/log/ |
D | logprint.h | 70 void android_log_format_free(AndroidLogFormat* p_format); 73 int android_log_setPrintFormat(AndroidLogFormat* p_format, 91 int android_log_addFilterRule(AndroidLogFormat* p_format, 104 int android_log_addFilterString(AndroidLogFormat* p_format, 111 int android_log_shouldPrintLine(AndroidLogFormat* p_format, const char* tag, 143 char* android_log_formatLogLine(AndroidLogFormat* p_format, char* defaultBuffer, 154 int android_log_printLogLine(AndroidLogFormat* p_format, int fd,
|
/system/core/liblog/ |
D | logprint.cpp | 178 static android_LogPriority filterPriForTag(AndroidLogFormat* p_format, const char* tag) { in filterPriForTag() argument 181 for (p_curFilter = p_format->filters; p_curFilter != NULL; p_curFilter = p_curFilter->p_next) { in filterPriForTag() 184 return p_format->global_pri; in filterPriForTag() 191 return p_format->global_pri; in filterPriForTag() 198 int android_log_shouldPrintLine(AndroidLogFormat* p_format, const char* tag, in android_log_shouldPrintLine() argument 200 return pri >= filterPriForTag(p_format, tag); in android_log_shouldPrintLine() 231 void android_log_format_free(AndroidLogFormat* p_format) { in android_log_format_free() argument 234 p_info = p_format->filters; in android_log_format_free() 243 free(p_format); in android_log_format_free() 254 int android_log_setPrintFormat(AndroidLogFormat* p_format, AndroidLogPrintFormat format) { in android_log_setPrintFormat() argument [all …]
|
/system/core/liblog/tests/ |
D | liblog_test.cpp | 1339 static bool checkPriForTag(AndroidLogFormat* p_format, const char* tag, in checkPriForTag() argument 1341 return android_log_shouldPrintLine(p_format, tag, pri) && in checkPriForTag() 1342 !android_log_shouldPrintLine(p_format, tag, in checkPriForTag() 1349 AndroidLogFormat* p_format = android_log_format_new(); in TEST() local 1351 android_log_addFilterRule(p_format, "*:i"); in TEST() 1353 EXPECT_TRUE(checkPriForTag(p_format, tag, ANDROID_LOG_INFO)); in TEST() 1354 EXPECT_TRUE(android_log_shouldPrintLine(p_format, tag, ANDROID_LOG_DEBUG) == in TEST() 1356 android_log_addFilterRule(p_format, "*"); in TEST() 1357 EXPECT_TRUE(checkPriForTag(p_format, tag, ANDROID_LOG_DEBUG)); in TEST() 1358 EXPECT_TRUE(android_log_shouldPrintLine(p_format, tag, ANDROID_LOG_DEBUG) > 0); in TEST() [all …]
|