Searched refs:p_format (Results 1 – 3 of 3) sorted by relevance
/system/logging/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/logging/liblog/ |
D | logprint.cpp | 183 static android_LogPriority filterPriForTag(AndroidLogFormat* p_format, const char* tag) { in filterPriForTag() argument 186 for (p_curFilter = p_format->filters; p_curFilter != NULL; p_curFilter = p_curFilter->p_next) { in filterPriForTag() 189 return p_format->global_pri; in filterPriForTag() 196 return p_format->global_pri; in filterPriForTag() 203 int android_log_shouldPrintLine(AndroidLogFormat* p_format, const char* tag, in android_log_shouldPrintLine() argument 205 return pri >= filterPriForTag(p_format, tag); in android_log_shouldPrintLine() 232 void android_log_format_free(AndroidLogFormat* p_format) { in android_log_format_free() argument 235 p_info = p_format->filters; in android_log_format_free() 244 free(p_format); in android_log_format_free() 255 int android_log_setPrintFormat(AndroidLogFormat* p_format, AndroidLogPrintFormat format) { in android_log_setPrintFormat() argument [all …]
|
/system/logging/liblog/tests/ |
D | liblog_test.cpp | 1160 static bool checkPriForTag(AndroidLogFormat* p_format, const char* tag, in checkPriForTag() argument 1162 return android_log_shouldPrintLine(p_format, tag, pri) && in checkPriForTag() 1163 !android_log_shouldPrintLine(p_format, tag, in checkPriForTag() 1170 AndroidLogFormat* p_format = android_log_format_new(); in TEST() local 1172 android_log_addFilterRule(p_format, "*:i"); in TEST() 1174 EXPECT_TRUE(checkPriForTag(p_format, tag, ANDROID_LOG_INFO)); in TEST() 1175 EXPECT_TRUE(android_log_shouldPrintLine(p_format, tag, ANDROID_LOG_DEBUG) == in TEST() 1177 android_log_addFilterRule(p_format, "*"); in TEST() 1178 EXPECT_TRUE(checkPriForTag(p_format, tag, ANDROID_LOG_DEBUG)); in TEST() 1179 EXPECT_TRUE(android_log_shouldPrintLine(p_format, tag, ANDROID_LOG_DEBUG) > 0); in TEST() [all …]
|