Home
last modified time | relevance | path

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

12

/system/core/liblog/
Dpmsg_reader.cpp37 uint8_t prio; in PmsgRead() member
84 ((buf.prio == ANDROID_LOG_UNKNOWN) || (buf.prio == ANDROID_LOG_DEFAULT) || in PmsgRead()
85 (buf.prio >= ANDROID_LOG_SILENT)))) { in PmsgRead()
100 *msg = buf.prio; in PmsgRead()
105 ret = TEMP_FAILURE_RETRY(read(fd, msg + sizeof(buf.prio), buf.p.len - sizeof(buf))); in PmsgRead()
113 log_msg->entry.len = buf.p.len - sizeof(buf) + sizeof(buf.prio); in PmsgRead()
122 return ret + sizeof(buf.prio) + log_msg->entry.hdr_size; in PmsgRead()
162 ssize_t __android_log_pmsg_file_read(log_id_t logId, char prio, const char* prefix, in __android_log_pmsg_file_read() argument
174 char prio; in __android_log_pmsg_file_read() member
238 len = log_msg.entry.len - sizeof(prio); in __android_log_pmsg_file_read()
[all …]
Dlogger_write.cpp291 int __android_log_write(int prio, const char* tag, const char* msg) { in __android_log_write() argument
292 return __android_log_buf_write(LOG_ID_MAIN, prio, tag, msg); in __android_log_write()
317 int __android_log_buf_write(int bufID, int prio, const char* tag, const char* msg) { in __android_log_buf_write() argument
320 if (!__android_log_is_loggable(prio, tag, ANDROID_LOG_VERBOSE)) { in __android_log_buf_write()
325 sizeof(__android_log_message), bufID, prio, tag, nullptr, 0, msg}; in __android_log_buf_write()
330 int __android_log_vprint(int prio, const char* tag, const char* fmt, va_list ap) { in __android_log_vprint() argument
333 if (!__android_log_is_loggable(prio, tag, ANDROID_LOG_VERBOSE)) { in __android_log_vprint()
342 sizeof(__android_log_message), LOG_ID_MAIN, prio, tag, nullptr, 0, buf}; in __android_log_vprint()
347 int __android_log_print(int prio, const char* tag, const char* fmt, ...) { in __android_log_print() argument
350 if (!__android_log_is_loggable(prio, tag, ANDROID_LOG_VERBOSE)) { in __android_log_print()
[all …]
Dproperties.cpp276 int __android_log_is_loggable_len(int prio, const char* tag, size_t len, int default_prio) { in __android_log_is_loggable_len() argument
281 return prio >= std::min(property_log_level, minimum_log_priority); in __android_log_is_loggable_len()
283 return prio >= property_log_level; in __android_log_is_loggable_len()
285 return prio >= minimum_log_priority; in __android_log_is_loggable_len()
287 return prio >= default_prio; in __android_log_is_loggable_len()
291 int __android_log_is_loggable(int prio, const char* tag, int default_prio) { in __android_log_is_loggable() argument
293 return __android_log_is_loggable_len(prio, tag, len, default_prio); in __android_log_is_loggable()
516 int __android_log_is_loggable(int prio, const char*, int) { in __android_log_is_loggable() argument
521 return prio >= minimum_priority; in __android_log_is_loggable()
524 int __android_log_is_loggable_len(int prio, const char*, size_t, int def) { in __android_log_is_loggable_len() argument
[all …]
Dpmsg_writer.cpp175 ssize_t __android_log_pmsg_file_write(log_id_t logId, char prio, const char* filename, in __android_log_pmsg_file_write() argument
211 vec[0].iov_base = &prio; in __android_log_pmsg_file_write()
Devent_tag_map.cpp578 int android_lookupEventTagNum(EventTagMap* map, const char* tagname, const char* format, int prio) { in android_lookupEventTagNum() argument
586 if ((prio != ANDROID_LOG_UNKNOWN) && (prio < ANDROID_LOG_SILENT) && in android_lookupEventTagNum()
587 !__android_log_is_loggable_len(prio, tagname, len, in android_lookupEventTagNum()
DREADME.protocol.md9 char prio;
/system/core/libunwindstack/tests/
DLogFake.cpp52 extern "C" int __android_log_buf_write(int bufId, int prio, const char* tag, const char* msg) { in __android_log_buf_write() argument
53 g_fake_log_buf += std::to_string(bufId) + ' ' + std::to_string(prio) + ' '; in __android_log_buf_write()
60 extern "C" int __android_log_print(int prio, const char* tag, const char* fmt, ...) { in __android_log_print() argument
63 int val = __android_log_vprint(prio, tag, fmt, ap); in __android_log_print()
69 extern "C" int __android_log_vprint(int prio, const char* tag, const char* fmt, va_list ap) { in __android_log_vprint() argument
70 g_fake_log_print += std::to_string(prio) + ' '; in __android_log_vprint()
/system/core/liblog/include_vndk/log/
Dlog_main.h82 #define android_writeLog(prio, tag, text) __android_log_write(prio, tag, text) argument
84 #define android_printLog(prio, tag, ...) \ argument
85 __android_log_print(prio, tag, __VA_ARGS__)
87 #define android_vprintLog(prio, cond, tag, ...) \ argument
88 __android_log_vprint(prio, tag, __VA_ARGS__)
363 int __android_log_is_loggable(int prio, const char* tag, int default_prio);
364 int __android_log_is_loggable_len(int prio, const char* tag, size_t len, int default_prio);
367 #define android_testLog(prio, tag) \ argument
368 (__android_log_is_loggable_len(prio, tag, ((tag) && *(tag)) ? strlen(tag) : 0, \
371 #define android_testLog(prio, tag) \ argument
[all …]
/system/core/liblog/include/log/
Dlog_main.h82 #define android_writeLog(prio, tag, text) __android_log_write(prio, tag, text) argument
84 #define android_printLog(prio, tag, ...) \ argument
85 __android_log_print(prio, tag, __VA_ARGS__)
87 #define android_vprintLog(prio, cond, tag, ...) \ argument
88 __android_log_vprint(prio, tag, __VA_ARGS__)
363 int __android_log_is_loggable(int prio, const char* tag, int default_prio);
364 int __android_log_is_loggable_len(int prio, const char* tag, size_t len, int default_prio);
367 #define android_testLog(prio, tag) \ argument
368 (__android_log_is_loggable_len(prio, tag, ((tag) && *(tag)) ? strlen(tag) : 0, \
371 #define android_testLog(prio, tag) \ argument
[all …]
Devent_tag_map.h68 const char* format, int prio);
/system/core/liblog/include/android/
Dlog.h98 int __android_log_write(int prio, const char* tag, const char* text);
105 int __android_log_print(int prio, const char* tag, const char* fmt, ...)
112 int __android_log_vprint(int prio, const char* tag, const char* fmt, va_list ap)
170 int __android_log_buf_write(int bufID, int prio, const char* tag, const char* text);
180 int __android_log_buf_print(int bufID, int prio, const char* tag, const char* fmt, ...)
319 int __android_log_is_loggable(int prio, const char* tag, int default_prio) __INTRODUCED_IN(30);
339 int __android_log_is_loggable_len(int prio, const char* tag, size_t len, int default_prio)
/system/core/include/android/
Dlog.h98 int __android_log_write(int prio, const char* tag, const char* text);
105 int __android_log_print(int prio, const char* tag, const char* fmt, ...)
112 int __android_log_vprint(int prio, const char* tag, const char* fmt, va_list ap)
170 int __android_log_buf_write(int bufID, int prio, const char* tag, const char* text);
180 int __android_log_buf_print(int bufID, int prio, const char* tag, const char* fmt, ...)
319 int __android_log_is_loggable(int prio, const char* tag, int default_prio) __INTRODUCED_IN(30);
339 int __android_log_is_loggable_len(int prio, const char* tag, size_t len, int default_prio)
/system/core/debuggerd/libdebuggerd/test/
Dlog_fake.cpp49 extern "C" int __android_log_buf_write(int bufId, int prio, const char* tag, const char* msg) { in __android_log_buf_write() argument
50 g_fake_log_buf += std::to_string(bufId) + ' ' + std::to_string(prio) + ' '; in __android_log_buf_write()
57 extern "C" int __android_log_print(int prio, const char* tag, const char* fmt, ...) { in __android_log_print() argument
58 g_fake_log_print += std::to_string(prio) + ' '; in __android_log_print()
/system/keymaster/tests/
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) { in __android_log_print() argument
25 (void)prio, (void)tag, (void)fmt; in __android_log_print()
/system/chre/platform/slpi/see/include/
Dsns_osa.h44 #define SNS_LOG(prio, ...) SNS_LOG_##prio(__VA_ARGS__) argument
/system/core/liblog/include/private/
Dandroid_logger.h125 ssize_t __android_log_pmsg_file_write(log_id_t logId, char prio,
133 typedef ssize_t (*__android_log_pmsg_file_read_fn)(log_id_t logId, char prio,
138 ssize_t __android_log_pmsg_file_read(log_id_t logId, char prio,
/system/core/include/private/
Dandroid_logger.h125 ssize_t __android_log_pmsg_file_write(log_id_t logId, char prio,
133 typedef ssize_t (*__android_log_pmsg_file_read_fn)(log_id_t logId, char prio,
138 ssize_t __android_log_pmsg_file_read(log_id_t logId, char prio,
/system/netd/server/
DOffloadUtils.cpp199 int tcFilterAddDevBpf(int ifIndex, bool ingress, uint16_t prio, uint16_t proto, int bpfFd, in tcFilterAddDevBpf() argument
271 const char* const name = (prio == PRIO_TETHER) ? name_tether : name_clat; in tcFilterAddDevBpf()
309 .tcm_info = static_cast<__u32>((prio << 16) | htons(proto)), in tcFilterAddDevBpf()
366 int tcFilterDelDev(int ifIndex, bool ingress, uint16_t prio, uint16_t proto) { in tcFilterDelDev() argument
384 .tcm_info = static_cast<__u32>((prio << 16) | htons(proto)), in tcFilterDelDev()
DOffloadUtils.h109 int tcFilterAddDevBpf(int ifIndex, bool ingress, uint16_t prio, uint16_t proto, int bpfFd,
128 int tcFilterDelDev(int ifIndex, bool ingress, uint16_t prio, uint16_t proto);
/system/core/libutils/include/utils/
DAndroidThreads.h83 extern int androidSetThreadPriority(pid_t tid, int prio, bool change_policy = true);
/system/core/logd/
DSimpleLogBuffer.cpp63 int prio = ANDROID_LOG_INFO; in ShouldLog() local
73 prio = *msg; in ShouldLog()
77 return __android_log_is_loggable_len(prio, tag, tag_len, ANDROID_LOG_VERBOSE); in ShouldLog()
DSerializedLogBuffer.cpp54 int prio = ANDROID_LOG_INFO; in ShouldLog() local
64 prio = *msg; in ShouldLog()
68 return __android_log_is_loggable_len(prio, tag, tag_len, ANDROID_LOG_VERBOSE); in ShouldLog()
/system/libhidl/transport/include/hidl/
DHidlTransportSupport.h89 int prio; member
/system/core/libutils/
DThreads.cpp82 int prio = t->priority; in trampoline() local
85 setpriority(PRIO_PROCESS, 0, prio); in trampoline()
89 if (prio >= ANDROID_PRIORITY_BACKGROUND) { in trampoline()
/system/core/debuggerd/libdebuggerd/
Dtombstone.cpp510 unsigned char prio = msg[0]; in dump_log_file() local
521 char prioChar = (prio < strlen(kPrioChars) ? kPrioChars[prio] : '?'); in dump_log_file()

12