Lines Matching refs:logId
39 static int pmsgAvailable(log_id_t logId);
40 static int pmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec,
75 static int pmsgAvailable(log_id_t logId) { in pmsgAvailable() argument
76 if (logId > LOG_ID_SECURITY) { in pmsgAvailable()
79 if ((logId != LOG_ID_SECURITY) && (logId != LOG_ID_EVENTS) && in pmsgAvailable()
99 static int pmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, in pmsgWrite() argument
108 if ((logId == LOG_ID_EVENTS) && !__android_log_is_debuggable()) { in pmsgWrite()
147 header.id = logId; in pmsgWrite()
206 LIBLOG_ABI_PRIVATE ssize_t __android_log_pmsg_file_write(log_id_t logId, in __android_log_pmsg_file_write() argument
219 if ((logId == LOG_ID_KERNEL) || /* Verbotten */ in __android_log_pmsg_file_write()
220 (logId == LOG_ID_EVENTS) || /* Do not support binary content */ in __android_log_pmsg_file_write()
221 (logId == LOG_ID_SECURITY) || /* Bad idea to allow */ in __android_log_pmsg_file_write()
222 ((unsigned)logId >= 32)) { /* fit within logMask on arch32 */ in __android_log_pmsg_file_write()
288 ret = pmsgWrite(logId, &ts, vec, sizeof(vec) / sizeof(vec[0])); in __android_log_pmsg_file_write()