Lines Matching refs:logId
40 static int pmsgAvailable(log_id_t logId);
41 static int pmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr);
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) && !__android_log_is_debuggable()) { in pmsgAvailable()
98 static int pmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr) { in pmsgWrite() argument
106 if ((logId == LOG_ID_EVENTS) && !__android_log_is_debuggable()) { in pmsgWrite()
145 header.id = logId; in pmsgWrite()
203 ssize_t __android_log_pmsg_file_write(log_id_t logId, char prio, const char* filename, in __android_log_pmsg_file_write() argument
213 if ((logId == LOG_ID_KERNEL) || /* Verbotten */ in __android_log_pmsg_file_write()
214 (logId == LOG_ID_EVENTS) || /* Do not support binary content */ in __android_log_pmsg_file_write()
215 (logId == LOG_ID_SECURITY) || /* Bad idea to allow */ in __android_log_pmsg_file_write()
216 ((unsigned)logId >= 32)) { /* fit within logMask on arch32 */ in __android_log_pmsg_file_write()
280 ret = pmsgWrite(logId, &ts, vec, sizeof(vec) / sizeof(vec[0])); in __android_log_pmsg_file_write()