Home
last modified time | relevance | path

Searched refs:prio (Results 1 – 13 of 13) sorted by relevance

/system/core/include/log/
Dlog.h533 #define android_printLog(prio, tag, fmt...) \ argument
534 __android_log_print(prio, tag, fmt)
536 #define android_vprintLog(prio, cond, tag, fmt...) \ argument
537 __android_log_vprint(prio, tag, fmt)
558 #define android_writeLog(prio, tag, text) \ argument
559 __android_log_write(prio, tag, text)
575 #define android_testLog(prio, tag) \ argument
576 (__android_log_is_loggable(prio, tag, ANDROID_LOG_DEBUG) != 0)
578 #define android_testLog(prio, tag) \ argument
579 (__android_log_is_loggable(prio, tag, ANDROID_LOG_VERBOSE) != 0)
[all …]
/system/core/liblog/
Dlogd_write_kern.c140 int __android_log_write(int prio, const char *tag, const char *msg) in __android_log_write() argument
142 return __android_log_buf_write(LOG_ID_MAIN, prio, tag, msg); in __android_log_write()
145 int __android_log_buf_write(int bufID, int prio, const char *tag, const char *msg) in __android_log_buf_write() argument
170 if (prio == ANDROID_LOG_FATAL) { in __android_log_buf_write()
174 vec[0].iov_base = (unsigned char *) &prio; in __android_log_buf_write()
184 int __android_log_vprint(int prio, const char *tag, const char *fmt, va_list ap) in __android_log_vprint() argument
190 return __android_log_write(prio, tag, buf); in __android_log_vprint()
193 int __android_log_print(int prio, const char *tag, const char *fmt, ...) in __android_log_print() argument
202 return __android_log_write(prio, tag, buf); in __android_log_print()
205 int __android_log_buf_print(int bufID, int prio, const char *tag, const char *fmt, ...) in __android_log_buf_print() argument
[all …]
Dlogd_write.c358 int __android_log_write(int prio, const char *tag, const char *msg) in __android_log_write() argument
360 return __android_log_buf_write(LOG_ID_MAIN, prio, tag, msg); in __android_log_write()
363 int __android_log_buf_write(int bufID, int prio, const char *tag, const char *msg) in __android_log_buf_write() argument
389 if (prio == ANDROID_LOG_FATAL) { in __android_log_buf_write()
394 vec[0].iov_base = (unsigned char *) &prio; in __android_log_buf_write()
404 int __android_log_vprint(int prio, const char *tag, const char *fmt, va_list ap) in __android_log_vprint() argument
410 return __android_log_write(prio, tag, buf); in __android_log_vprint()
413 int __android_log_print(int prio, const char *tag, const char *fmt, ...) in __android_log_print() argument
422 return __android_log_write(prio, tag, buf); in __android_log_print()
425 int __android_log_buf_print(int bufID, int prio, const char *tag, const char *fmt, ...) in __android_log_buf_print() argument
[all …]
Dlog_is_loggable.c174 int __android_log_is_loggable(int prio, const char *tag, int def) in __android_log_is_loggable() argument
177 return logLevel >= 0 && prio >= logLevel; in __android_log_is_loggable()
Dfake_log_device.c693 int __android_log_is_loggable(int prio, const char *tag __unused, int def) in __android_log_is_loggable() argument
696 return logLevel >= 0 && prio >= logLevel; in __android_log_is_loggable()
/system/core/include/android/
Dlog.h94 int __android_log_write(int prio, const char *tag, const char *text);
99 int __android_log_print(int prio, const char *tag, const char *fmt, ...)
117 int __android_log_vprint(int prio, const char *tag,
/system/core/toolbox/
Drenice.c94 int prio; in renice_main() local
126 prio = atoi(argv[0]); in renice_main()
141 struct sched_param sp = { .sched_priority = prio }; in renice_main()
152 ret = setpriority(PRIO_PROCESS, pid, prio); in renice_main()
Dps.c57 int prio, nice, rtprio, sched, psr; in ps_line() local
118 prio = atoi(nexttok(&ptr)); in ps_line()
179 printf(" %-5d %-5d %-5d %-5d", prio, nice, rtprio, sched); in ps_line()
/system/core/include/utils/
DAndroidThreads.h81 extern int androidSetThreadPriority(pid_t tid, int prio);
/system/core/libutils/
DThreads.cpp84 int prio = t->priority; in trampoline() local
87 setpriority(PRIO_PROCESS, 0, prio); in trampoline()
88 if (prio >= ANDROID_PRIORITY_BACKGROUND) { in trampoline()
/system/core/logd/
DLogBuffer.cpp146 int prio = ANDROID_LOG_INFO; in log() local
151 prio = *msg; in log()
154 if (!__android_log_is_loggable(prio, tag, ANDROID_LOG_VERBOSE)) { in log()
/system/core/debuggerd/
Dtombstone.cpp574 unsigned char prio = msg[0]; in dump_log_file() local
584 char prioChar = (prio < strlen(kPrioChars) ? kPrioChars[prio] : '?'); in dump_log_file()
/system/keymaster/
Dandroid_keymaster_test.cpp38 int __android_log_print(int prio, const char* tag, const char* fmt);
39 int __android_log_print(int prio, const char* tag, const char* fmt) { in __android_log_print() argument
40 (void)prio, (void)tag, (void)fmt; in __android_log_print()