Home
last modified time | relevance | path

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

/system/core/liblog/
Dlogprint.cpp97 static FilterInfo* filterinfo_new(const char* tag, android_LogPriority pri) { in filterinfo_new() argument
102 p_ret->mPri = pri; in filterinfo_new()
114 android_LogPriority pri; in filterCharToPri() local
120 pri = ANDROID_LOG_VERBOSE; in filterCharToPri()
122 pri = (android_LogPriority)(c - '0'); in filterCharToPri()
125 pri = ANDROID_LOG_VERBOSE; in filterCharToPri()
127 pri = ANDROID_LOG_DEBUG; in filterCharToPri()
129 pri = ANDROID_LOG_INFO; in filterCharToPri()
131 pri = ANDROID_LOG_WARN; in filterCharToPri()
133 pri = ANDROID_LOG_ERROR; in filterCharToPri()
[all …]
/system/core/logd/
DLogKlog.cpp409 int pri = LOG_USER | LOG_INFO; in parseKernelPrio() local
412 pri = 0; in parseKernelPrio()
414 pri = (pri * 10) + *cp - '0'; in parseKernelPrio()
420 pri = LOG_USER | LOG_INFO; in parseKernelPrio()
424 return pri; in parseKernelPrio()
428 static int convertKernelPrioToAndroidPrio(int pri) { in convertKernelPrioToAndroidPrio() argument
429 switch (pri & LOG_PRIMASK) { in convertKernelPrioToAndroidPrio()
502 int pri = parseKernelPrio(p, len); in log() local
730 *np = convertKernelPrioToAndroidPrio(pri); in log()
/system/core/liblog/include/log/
Dlogprint.h113 android_LogPriority pri);
/system/core/libutils/
DThreads.cpp305 int androidSetThreadPriority(pid_t tid, int pri, bool change_policy) { in androidSetThreadPriority() argument
310 if (curr_pri == pri) { in androidSetThreadPriority()
315 if (pri >= ANDROID_PRIORITY_BACKGROUND) { in androidSetThreadPriority()
329 if (setpriority(PRIO_PROCESS, tid, pri) < 0) { in androidSetThreadPriority()
/system/bt/stack/l2cap/
Dl2c_int.h363 #define L2CAP_GET_PRIORITY_QUOTA(pri) \ argument
364 ((L2CAP_NUM_CHNL_PRIORITY - (pri)) * L2CAP_CHNL_PRIORITY_WEIGHT)
/system/core/liblog/tests/
Dliblog_test.cpp1161 android_LogPriority pri) { in checkPriForTag() argument
1162 return android_log_shouldPrintLine(p_format, tag, pri) && in checkPriForTag()
1164 (android_LogPriority)(pri - 1)); in checkPriForTag()