Home
last modified time | relevance | path

Searched refs:LOG_ID_SECURITY (Results 1 – 20 of 20) sorted by relevance

/system/core/liblog/
Dpmsg_writer.c76 if (logId > LOG_ID_SECURITY) { in pmsgAvailable()
79 if ((logId != LOG_ID_SECURITY) && (logId != LOG_ID_EVENTS) && in pmsgAvailable()
221 (logId == LOG_ID_SECURITY) || /* Bad idea to allow */ in __android_log_pmsg_file_write()
Dlogger_name.c31 [LOG_ID_SECURITY] = "security",
Dlogger_write.c106 ((i != LOG_ID_SECURITY) || (check_log_uid_permissions() == 0)) && in __android_log_cache_available()
260 if (log_id == LOG_ID_SECURITY) { in __write_to_log_daemon()
559 return write_to_log(LOG_ID_SECURITY, vec, 2); in __android_log_security_bwrite()
621 return write_to_log(LOG_ID_SECURITY, vec, 4); in __android_log_security_bswrite()
Dlogd_writer.c189 header.id = LOG_ID_SECURITY; in logdWrite()
284 if (logId == LOG_ID_SECURITY) { in logdWrite()
Dlocal_logger.c117 ((LOG_ID_SECURITY == (LOG_ID_MAX - 2)) ? LOG_ID_SECURITY : LOG_ID_KERNEL)
119 (((id) == LOG_ID_SECURITY) || ((id) == LOG_ID_KERNEL))
Dpmsg_reader.c60 if (logId > LOG_ID_SECURITY) { in pmsgAvailable()
190 ((buf.l.id != LOG_ID_EVENTS) && (buf.l.id != LOG_ID_SECURITY) && in pmsgRead()
314 ~((1 << LOG_ID_KERNEL) | (1 << LOG_ID_EVENTS) | (1 << LOG_ID_SECURITY)); in __android_log_pmsg_file_read()
Dstderr_write.c185 if ((logId == LOG_ID_EVENTS) || (logId == LOG_ID_SECURITY)) { in stderrWrite()
Dlogger_read.c92 if ((logId == LOG_ID_SECURITY) && (__android_log_uid() != AID_SYSTEM)) { in init_transport_context()
Dlogd_reader.c96 if (logId == LOG_ID_SECURITY) { in logdAvailable()
Dlog_event_list.c304 if ((id != LOG_ID_EVENTS) && (id != LOG_ID_SECURITY)) { in android_log_write_list()
Dlogprint.c1047 (((struct logger_entry_v3*)buf)->lid == LOG_ID_SECURITY)) { in android_log_processBinaryLogBuffer()
/system/core/liblog/include_vndk/log/
Dlog_id.h34 LOG_ID_SECURITY = 5, enumerator
/system/core/liblog/include/log/
Dlog_id.h34 LOG_ID_SECURITY = 5, enumerator
/system/core/logd/
DLogBufferElement.h64 return (mLogId == LOG_ID_EVENTS) || (mLogId == LOG_ID_SECURITY); in isBinary()
DLogBuffer.cpp212 if (log_id != LOG_ID_SECURITY) { in log()
473 int key = ((id == LOG_ID_EVENTS) || (id == LOG_ID_SECURITY)) in erase()
501 int key = ((id == LOG_ID_EVENTS) || (id == LOG_ID_SECURITY)) in erase()
753 bool hasBlacklist = (id != LOG_ID_SECURITY) && mPrune.naughty(); in prune()
765 if ((id == LOG_ID_EVENTS) || (id == LOG_ID_SECURITY)) { in prune()
855 int key = ((id == LOG_ID_EVENTS) || (id == LOG_ID_SECURITY)) in prune()
962 bool hasWhitelist = (id != LOG_ID_SECURITY) && mPrune.nice() && !clearAll; in prune()
1157 if (!security && (element->getLogId() == LOG_ID_SECURITY)) { in flushTo()
DLogListener.cpp98 if ((header->id == LOG_ID_SECURITY) && in onDataAvailable()
DLogStatistics.cpp150 if (log_id == LOG_ID_SECURITY) { in add()
193 if (log_id == LOG_ID_SECURITY) { in subtract()
231 if (log_id == LOG_ID_SECURITY) { in drop()
802 if (enable && (logMask & (1 << LOG_ID_SECURITY))) { in format()
807 securityTagTable.format(*this, uid, pid, name, LOG_ID_SECURITY); in format()
DLogTags.cpp295 struct logger* s = android_logger_open(logger_list, LOG_ID_SECURITY); in ReadPersistEventLogTags()
/system/core/logcat/
Dlogcat.cpp723 if (!blockSecurity || (android_name_to_log_id(name) != LOG_ID_SECURITY)) { in reportErrorName()
1107 if (log_id == LOG_ID_SECURITY) allSelected = false; in __logcat()
/system/core/liblog/tests/
Dliblog_test.cpp2050 LOG_ID_SECURITY, ANDROID_LOG_RDONLY | ANDROID_LOG_NONBLOCK, in TEST()
2072 (log_msg.id() != LOG_ID_SECURITY)) { in TEST()