Home
last modified time | relevance | path

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

/system/core/liblog/
Dlogprint.cpp92 static FilterInfo* filterinfo_new(const char* tag, android_LogPriority pri) { in filterinfo_new() argument
97 p_ret->mPri = pri; in filterinfo_new()
109 android_LogPriority pri; in filterCharToPri() local
115 pri = ANDROID_LOG_VERBOSE; in filterCharToPri()
117 pri = (android_LogPriority)(c - '0'); in filterCharToPri()
120 pri = ANDROID_LOG_VERBOSE; in filterCharToPri()
122 pri = ANDROID_LOG_DEBUG; in filterCharToPri()
124 pri = ANDROID_LOG_INFO; in filterCharToPri()
126 pri = ANDROID_LOG_WARN; in filterCharToPri()
128 pri = ANDROID_LOG_ERROR; in filterCharToPri()
[all …]
/system/core/logd/
DLogKlog.cpp416 int pri = LOG_USER | LOG_INFO; in parseKernelPrio() local
419 pri = 0; in parseKernelPrio()
421 pri = (pri * 10) + *cp - '0'; in parseKernelPrio()
427 pri = LOG_USER | LOG_INFO; in parseKernelPrio()
431 return pri; in parseKernelPrio()
474 static int convertKernelPrioToAndroidPrio(int pri) { in convertKernelPrioToAndroidPrio() argument
475 switch (pri & LOG_PRIMASK) { in convertKernelPrioToAndroidPrio()
548 int pri = parseKernelPrio(p, len); in log() local
779 *np = convertKernelPrioToAndroidPrio(pri); in log()
/system/core/liblog/include/log/
Dlogprint.h112 android_LogPriority pri);
/system/core/libutils/
DThreads.cpp299 int androidSetThreadPriority(pid_t tid, int pri) in androidSetThreadPriority() argument
304 if (pri >= ANDROID_PRIORITY_BACKGROUND) { in androidSetThreadPriority()
314 if (setpriority(PRIO_PROCESS, tid, pri) < 0) { in androidSetThreadPriority()
/system/bt/stack/l2cap/
Dl2c_int.h364 #define L2CAP_GET_PRIORITY_QUOTA(pri) \ argument
365 ((L2CAP_NUM_CHNL_PRIORITY - (pri)) * L2CAP_CHNL_PRIORITY_WEIGHT)
/system/core/liblog/tests/
Dliblog_test.cpp1340 android_LogPriority pri) { in checkPriForTag() argument
1341 return android_log_shouldPrintLine(p_format, tag, pri) && in checkPriForTag()
1343 (android_LogPriority)(pri - 1)); in checkPriForTag()