Lines Matching refs:pri

76 static FilterInfo * filterinfo_new(const char * tag, android_LogPriority pri)  in filterinfo_new()  argument
82 p_ret->mPri = pri; in filterinfo_new()
95 android_LogPriority pri; in filterCharToPri() local
101 pri = ANDROID_LOG_VERBOSE; in filterCharToPri()
103 pri = (android_LogPriority)(c - '0'); in filterCharToPri()
106 pri = ANDROID_LOG_VERBOSE; in filterCharToPri()
108 pri = ANDROID_LOG_DEBUG; in filterCharToPri()
110 pri = ANDROID_LOG_INFO; in filterCharToPri()
112 pri = ANDROID_LOG_WARN; in filterCharToPri()
114 pri = ANDROID_LOG_ERROR; in filterCharToPri()
116 pri = ANDROID_LOG_FATAL; in filterCharToPri()
118 pri = ANDROID_LOG_SILENT; in filterCharToPri()
120 pri = ANDROID_LOG_DEFAULT; in filterCharToPri()
122 pri = ANDROID_LOG_UNKNOWN; in filterCharToPri()
125 return pri; in filterCharToPri()
128 static char filterPriToChar (android_LogPriority pri) in filterPriToChar() argument
130 switch (pri) { in filterPriToChar()
145 static int colorFromPri (android_LogPriority pri) in colorFromPri() argument
147 switch (pri) { in colorFromPri()
190 android_LogPriority pri) in android_log_shouldPrintLine() argument
192 return pri >= filterPriForTag(p_format, tag); in android_log_shouldPrintLine()
352 android_LogPriority pri = ANDROID_LOG_DEFAULT; in android_log_addFilterRule() local
361 pri = filterCharToPri(filterExpression[tagNameLength+1]); in android_log_addFilterRule()
363 if (pri == ANDROID_LOG_UNKNOWN) { in android_log_addFilterRule()
374 if (pri == ANDROID_LOG_DEFAULT) { in android_log_addFilterRule()
375 pri = ANDROID_LOG_DEBUG; in android_log_addFilterRule()
378 p_format->global_pri = pri; in android_log_addFilterRule()
384 if (pri == ANDROID_LOG_DEFAULT) { in android_log_addFilterRule()
385 pri = ANDROID_LOG_VERBOSE; in android_log_addFilterRule()
402 FilterInfo *p_fi = filterinfo_new(tagName, pri); in android_log_addFilterRule()