Lines Matching refs:pri
44 static FilterInfo * filterinfo_new(const char * tag, android_LogPriority pri) in filterinfo_new() argument
50 p_ret->mPri = pri; in filterinfo_new()
71 android_LogPriority pri; in filterCharToPri() local
77 pri = ANDROID_LOG_VERBOSE; in filterCharToPri()
79 pri = (android_LogPriority)(c - '0'); in filterCharToPri()
82 pri = ANDROID_LOG_VERBOSE; in filterCharToPri()
84 pri = ANDROID_LOG_DEBUG; in filterCharToPri()
86 pri = ANDROID_LOG_INFO; in filterCharToPri()
88 pri = ANDROID_LOG_WARN; in filterCharToPri()
90 pri = ANDROID_LOG_ERROR; in filterCharToPri()
92 pri = ANDROID_LOG_FATAL; in filterCharToPri()
94 pri = ANDROID_LOG_SILENT; in filterCharToPri()
96 pri = ANDROID_LOG_DEFAULT; in filterCharToPri()
98 pri = ANDROID_LOG_UNKNOWN; in filterCharToPri()
101 return pri; in filterCharToPri()
104 static char filterPriToChar (android_LogPriority pri) in filterPriToChar() argument
106 switch (pri) { in filterPriToChar()
164 AndroidLogFormat *p_format, const char *tag, android_LogPriority pri) in android_log_shouldPrintLine() argument
166 return pri >= filterPriForTag(p_format, tag); in android_log_shouldPrintLine()
239 android_LogPriority pri = ANDROID_LOG_DEFAULT; in android_log_addFilterRule() local
248 pri = filterCharToPri(filterExpression[tagNameLength+1]); in android_log_addFilterRule()
250 if (pri == ANDROID_LOG_UNKNOWN) { in android_log_addFilterRule()
259 if (pri == ANDROID_LOG_DEFAULT) { in android_log_addFilterRule()
260 pri = ANDROID_LOG_DEBUG; in android_log_addFilterRule()
263 p_format->global_pri = pri; in android_log_addFilterRule()
267 if (pri == ANDROID_LOG_DEFAULT) { in android_log_addFilterRule()
268 pri = ANDROID_LOG_VERBOSE; in android_log_addFilterRule()
283 FilterInfo *p_fi = filterinfo_new(tagName, pri); in android_log_addFilterRule()