Home
last modified time | relevance | path

Searched refs:fdDmesg (Results 1 – 3 of 3) sorted by relevance

/system/core/logd/
DLogAudit.h28 int fdDmesg; // fdDmesg >= 0 is functionally bool dmesg variable
34 LogAudit(LogBuffer* buf, int fdDmesg, LogStatistics* stats);
DLogAudit.cpp49 LogAudit::LogAudit(LogBuffer* buf, int fdDmesg, LogStatistics* stats) in LogAudit() argument
52 fdDmesg(fdDmesg), in LogAudit()
77 write(fdDmesg, auditd_message, sizeof(auditd_message)); in LogAudit()
219 if ((fdDmesg >= 0) && initialized) { in logPrint()
235 writev(fdDmesg, iov, arraysize(iov)); in logPrint()
258 if (((fdDmesg < 0) || !initialized) && !hasMetadata(str, str_len)) in logPrint()
Dmain.cpp244 int fdDmesg = android_get_control_file(dev_kmsg); in main() local
245 if (fdDmesg < 0) { in main()
246 fdDmesg = TEMP_FAILURE_RETRY(open(dev_kmsg, O_WRONLY | O_CLOEXEC)); in main()
320 int dmesg_fd = GetBoolProperty("ro.logd.auditd.dmesg", true) ? fdDmesg : -1; in main()
326 kl = new LogKlog(log_buffer, fdDmesg, fdPmesg, al != nullptr, &log_statistics); in main()