Home
last modified time | relevance | path

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

/system/logging/logd/
DLogAudit.h28 int fdDmesg; // fdDmesg >= 0 is functionally bool dmesg variable
34 LogAudit(LogBuffer* buf, int fdDmesg, LogStatistics* stats);
Dmain.cpp208 int fdDmesg = android_get_control_file(dev_kmsg); in main() local
209 if (fdDmesg < 0) { in main()
210 fdDmesg = TEMP_FAILURE_RETRY(open(dev_kmsg, O_WRONLY | O_CLOEXEC)); in main()
285 int dmesg_fd = GetBoolProperty("ro.logd.auditd.dmesg", true) ? fdDmesg : -1; in main()
291 kl = new LogKlog(log_buffer, fdDmesg, fdPmesg, al != nullptr, &log_statistics); in main()
DLogAudit.cpp51 LogAudit::LogAudit(LogBuffer* buf, int fdDmesg, LogStatistics* stats) in LogAudit() argument
54 fdDmesg(fdDmesg), in LogAudit()
79 write(fdDmesg, auditd_message, sizeof(auditd_message)); in LogAudit()
244 if ((fdDmesg >= 0) && initialized) { in logPrint()
260 writev(fdDmesg, iov, arraysize(iov)); in logPrint()
283 if (((fdDmesg < 0) || !initialized) && !hasMetadata(str, str_len)) in logPrint()