Home
last modified time | relevance | path

Searched refs:pri (Results 1 – 7 of 7) sorted by relevance

/system/core/toolbox/
Dlog.c47 android_LogPriority pri; in filterCharToPri() local
53 pri = ANDROID_LOG_VERBOSE; in filterCharToPri()
55 pri = (android_LogPriority)(c - '0'); in filterCharToPri()
58 pri = ANDROID_LOG_VERBOSE; in filterCharToPri()
60 pri = ANDROID_LOG_DEBUG; in filterCharToPri()
62 pri = ANDROID_LOG_INFO; in filterCharToPri()
64 pri = ANDROID_LOG_WARN; in filterCharToPri()
66 pri = ANDROID_LOG_ERROR; in filterCharToPri()
68 pri = ANDROID_LOG_FATAL; in filterCharToPri()
70 pri = ANDROID_LOG_SILENT; in filterCharToPri()
[all …]
/system/core/liblog/
Dlogprint.c76 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()
[all …]
/system/core/logd/
DLogKlog.cpp423 int pri = LOG_USER | LOG_INFO; in parseKernelPrio() local
426 pri = 0; in parseKernelPrio()
428 pri = (pri * 10) + *cp - '0'; in parseKernelPrio()
434 pri = LOG_USER | LOG_INFO; in parseKernelPrio()
438 return pri; in parseKernelPrio()
486 static int convertKernelPrioToAndroidPrio(int pri) { in convertKernelPrioToAndroidPrio() argument
487 switch(pri & LOG_PRIMASK) { in convertKernelPrioToAndroidPrio()
564 int pri = parseKernelPrio(&p, len); in log() local
781 *np = convertKernelPrioToAndroidPrio(pri); in log()
/system/core/include/log/
Dlogprint.h110 AndroidLogFormat *p_format, const char *tag, android_LogPriority pri);
/system/core/libutils/
DThreads.cpp306 int androidSetThreadPriority(pid_t tid, int pri) in androidSetThreadPriority() argument
311 if (pri >= ANDROID_PRIORITY_BACKGROUND) { in androidSetThreadPriority()
321 if (setpriority(PRIO_PROCESS, tid, pri) < 0) { in androidSetThreadPriority()
/system/bt/stack/l2cap/
Dl2c_int.h357 #define L2CAP_GET_PRIORITY_QUOTA(pri) ((L2CAP_NUM_CHNL_PRIORITY - (pri)) * L2CAP_CHNL_PRIORITY_WEIG… argument
/system/core/liblog/tests/
Dliblog_test.cpp1158 static bool checkPriForTag(AndroidLogFormat *p_format, const char *tag, android_LogPriority pri) { in checkPriForTag() argument
1159 return android_log_shouldPrintLine(p_format, tag, pri) in checkPriForTag()
1160 && !android_log_shouldPrintLine(p_format, tag, (android_LogPriority)(pri - 1)); in checkPriForTag()