Home | History | Annotate | Download | only in liblog

Lines Matching refs:pri

44 static FilterInfo * filterinfo_new(const char * tag, android_LogPriority pri)
50 p_ret->mPri = pri;
63 android_LogPriority pri;
69 pri = ANDROID_LOG_VERBOSE;
71 pri = (android_LogPriority)(c - '0');
74 pri = ANDROID_LOG_VERBOSE;
76 pri = ANDROID_LOG_DEBUG;
78 pri = ANDROID_LOG_INFO;
80 pri = ANDROID_LOG_WARN;
82 pri = ANDROID_LOG_ERROR;
84 pri = ANDROID_LOG_FATAL;
86 pri = ANDROID_LOG_SILENT;
88 pri = ANDROID_LOG_DEFAULT;
90 pri = ANDROID_LOG_UNKNOWN;
93 return pri;
96 static char filterPriToChar (android_LogPriority pri)
98 switch (pri) {
139 AndroidLogFormat *p_format, const char *tag, android_LogPriority pri)
141 return pri >= filterPriForTag(p_format, tag);
213 android_LogPriority pri = ANDROID_LOG_DEFAULT;
222 pri = filterCharToPri(filterExpression[tagNameLength+1]);
224 if (pri == ANDROID_LOG_UNKNOWN) {
233 if (pri == ANDROID_LOG_DEFAULT) {
234 pri = ANDROID_LOG_DEBUG;
237 p_format->global_pri = pri;
241 if (pri == ANDROID_LOG_DEFAULT) {
242 pri = ANDROID_LOG_VERBOSE;
257 FilterInfo *p_fi = filterinfo_new(tagName, pri);