Searched refs:prio (Results 1 - 17 of 17) sorted by relevance

/system/core/include/android/
H A Dlog.h99 int __android_log_write(int prio, const char *tag, const char *text);
104 int __android_log_print(int prio, const char *tag, const char *fmt, ...)
122 int __android_log_vprint(int prio, const char *tag,
/system/core/debuggerd/test/
H A Dlog_fake.cpp48 extern "C" int __android_log_buf_write(int bufId, int prio, const char* tag, const char* msg) { argument
49 g_fake_log_buf += std::to_string(bufId) + ' ' + std::to_string(prio) + ' ';
56 extern "C" int __android_log_print(int prio, const char* tag, const char* fmt, ...) { argument
57 g_fake_log_print += std::to_string(prio) + ' ';
/system/core/include/private/
H A Dandroid_logger.h110 char prio,
120 char prio,
125 log_id_t logId, char prio, const char *prefix,
/system/keymaster/
H A Dkeymaster_configuration_test.cpp23 int __android_log_print(int prio, const char* tag, const char* fmt);
24 int __android_log_print(int prio, const char* tag, const char* fmt) { argument
25 (void)prio, (void)tag, (void)fmt;
H A Dandroid_keymaster_test.cpp43 int __android_log_print(int prio, const char* tag, const char* fmt);
44 int __android_log_print(int prio, const char* tag, const char* fmt) { argument
45 (void)prio, (void)tag, (void)fmt;
/system/core/liblog/
H A Dlogger_write.c297 char prio = ANDROID_LOG_VERBOSE; local
304 prio = *tag;
321 if (!__android_log_is_loggable(prio, tag, ANDROID_LOG_VERBOSE)) {
382 LIBLOG_ABI_PUBLIC int __android_log_write(int prio, const char *tag, argument
385 return __android_log_buf_write(LOG_ID_MAIN, prio, tag, msg);
388 LIBLOG_ABI_PUBLIC int __android_log_buf_write(int bufID, int prio, argument
415 if (prio == ANDROID_LOG_FATAL) {
420 vec[0].iov_base = (unsigned char *)&prio;
430 LIBLOG_ABI_PUBLIC int __android_log_vprint(int prio, const char *tag, argument
437 return __android_log_write(prio, ta
440 __android_log_print(int prio, const char *tag, const char *fmt, ...) argument
453 __android_log_buf_print(int bufID, int prio, const char *tag, const char *fmt, ...) argument
[all...]
H A Dpmsg_reader.c261 char prio,
281 char prio; member in struct:names
346 len = transp.logMsg.entry.len - sizeof(prio);
347 for (cp = msg + sizeof(prio);
362 if (prefix_len && strncmp(msg + sizeof(prio), prefix, prefix_len)) {
377 if ((msg[offset + sizeof(prio)] != ':') ||
378 strncmp(msg + sizeof(prio), prefix, offset)) {
383 strncmp(&msg[offset + sizeof(prio)], split + 1, prefix_len - offset)) {
388 if ((prio != ANDROID_LOG_ANY) && (*msg < prio)) {
259 __android_log_pmsg_file_read( log_id_t logId, char prio, const char *prefix, __android_log_pmsg_file_read_fn fn, void *arg) argument
[all...]
H A Dlog_is_loggable.c249 LIBLOG_ABI_PUBLIC int __android_log_is_loggable(int prio, const char *tag, argument
253 return logLevel >= 0 && prio >= logLevel;
H A Dpmsg_writer.c131 * char prio;
206 char prio,
254 vec[0].iov_base = &prio;
204 __android_log_pmsg_file_write( log_id_t logId, char prio, const char *filename, const char *buf, size_t len) argument
H A Dfake_log_device.c262 TRACE("+++ global min prio %d\n", logState->globalMinPriority);
714 LIBLOG_ABI_PUBLIC int __android_log_is_loggable(int prio, argument
719 return logLevel >= 0 && prio >= logLevel;
/system/core/include/log/
H A Dlog.h617 #define android_printLog(prio, tag, fmt...) \
618 __android_log_print(prio, tag, fmt)
620 #define android_vprintLog(prio, cond, tag, fmt...) \
621 __android_log_vprint(prio, tag, fmt)
642 #define android_writeLog(prio, tag, text) \
643 __android_log_write(prio, tag, text)
665 #define android_testLog(prio, tag) \
666 (__android_log_is_loggable(prio, tag, ANDROID_LOG_DEBUG) != 0)
668 #define android_testLog(prio, tag) \
669 (__android_log_is_loggable(prio, ta
[all...]
/system/core/include/utils/
H A DAndroidThreads.h81 extern int androidSetThreadPriority(pid_t tid, int prio);
/system/core/toolbox/
H A Dps.c57 int prio, nice, rtprio, sched, psr; local
118 prio = atoi(nexttok(&ptr));
177 printf(" %-5d %-5d %-5d %-5d", prio, nice, rtprio, sched);
/system/core/debuggerd/
H A Dtombstone.cpp570 unsigned char prio = msg[0]; local
580 char prioChar = (prio < strlen(kPrioChars) ? kPrioChars[prio] : '?');
/system/core/libutils/
H A DThreads.cpp85 int prio = t->priority; local
88 setpriority(PRIO_PROCESS, 0, prio);
89 if (prio >= ANDROID_PRIORITY_BACKGROUND) {
/system/core/logd/
H A DLogBuffer.cpp212 int prio = ANDROID_LOG_INFO; local
217 prio = *msg;
220 if (!__android_log_is_loggable(prio, tag, ANDROID_LOG_VERBOSE)) {
/system/core/liblog/tests/
H A Dliblog_test.cpp2480 ssize_t __pmsg_fn(log_id_t logId, char prio, const char *filename, argument
2484 EXPECT_EQ(ANDROID_LOG_VERBOSE, prio);
2496 (ANDROID_LOG_VERBOSE != prio) ||

Completed in 1215 milliseconds