Lines Matching refs:logId
40 static int pmsgAvailable(log_id_t logId);
41 static int pmsgWrite(log_id_t logId, struct timespec *ts,
71 static int pmsgAvailable(log_id_t logId) in pmsgAvailable() argument
73 if (logId > LOG_ID_SECURITY) { in pmsgAvailable()
76 if ((logId != LOG_ID_SECURITY) && in pmsgAvailable()
77 (logId != LOG_ID_EVENTS) && in pmsgAvailable()
98 static int pmsgWrite(log_id_t logId, struct timespec *ts, in pmsgWrite() argument
108 if ((logId == LOG_ID_EVENTS) && !__android_log_is_debuggable()) { in pmsgWrite()
147 header.id = logId; in pmsgWrite()
205 log_id_t logId, in __android_log_pmsg_file_write() argument
217 if ((logId == LOG_ID_KERNEL) || /* Verbotten */ in __android_log_pmsg_file_write()
218 (logId == LOG_ID_EVENTS) || /* Do not support binary content */ in __android_log_pmsg_file_write()
219 (logId == LOG_ID_SECURITY) || /* Bad idea to allow */ in __android_log_pmsg_file_write()
220 ((unsigned)logId >= 32)) { /* fit within logMask on arch32 */ in __android_log_pmsg_file_write()
282 ret = pmsgWrite(logId, &ts, vec, sizeof(vec) / sizeof(vec[0])); in __android_log_pmsg_file_write()