Home
last modified time | relevance | path

Searched refs:pmsgHeader (Results 1 – 2 of 2) sorted by relevance

/system/logging/liblog/
Dpmsg_writer.cpp74 android_pmsg_log_header_t pmsgHeader; in PmsgWrite() local
120 pmsgHeader.magic = LOGGER_MAGIC; in PmsgWrite()
121 pmsgHeader.len = sizeof(pmsgHeader) + sizeof(header); in PmsgWrite()
122 pmsgHeader.uid = getuid(); in PmsgWrite()
123 pmsgHeader.pid = getpid(); in PmsgWrite()
130 newVec[0].iov_base = (unsigned char*)&pmsgHeader; in PmsgWrite()
131 newVec[0].iov_len = sizeof(pmsgHeader); in PmsgWrite()
148 pmsgHeader.len += payloadSize; in PmsgWrite()
155 if (ret > (ssize_t)(sizeof(header) + sizeof(pmsgHeader))) { in PmsgWrite()
156 ret -= sizeof(header) - sizeof(pmsgHeader); in PmsgWrite()
/system/logging/logd/
DLogTags.cpp566 android_pmsg_log_header_t pmsgHeader = { in WritePmsgEventLogTags() local
568 .len = (uint16_t)(sizeof(pmsgHeader) + sizeof(header) + sizeof(outTag) + in WritePmsgEventLogTags()
574 struct iovec Vec[] = { { (unsigned char*)&pmsgHeader, sizeof(pmsgHeader) }, in WritePmsgEventLogTags()
584 pmsgHeader.uid = (uint16_t)uid; in WritePmsgEventLogTags()
588 pmsgHeader.uid = (uint16_t)it; in WritePmsgEventLogTags()