Home
last modified time | relevance | path

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

/system/core/liblog/
Dpmsg_writer.cpp66 android_pmsg_log_header_t pmsgHeader; in PmsgWrite() local
112 pmsgHeader.magic = LOGGER_MAGIC; in PmsgWrite()
113 pmsgHeader.len = sizeof(pmsgHeader) + sizeof(header); in PmsgWrite()
114 pmsgHeader.uid = getuid(); in PmsgWrite()
115 pmsgHeader.pid = getpid(); in PmsgWrite()
122 newVec[0].iov_base = (unsigned char*)&pmsgHeader; in PmsgWrite()
123 newVec[0].iov_len = sizeof(pmsgHeader); in PmsgWrite()
140 pmsgHeader.len += payloadSize; in PmsgWrite()
147 if (ret > (ssize_t)(sizeof(header) + sizeof(pmsgHeader))) { in PmsgWrite()
148 ret -= sizeof(header) - sizeof(pmsgHeader); in PmsgWrite()
/system/core/logd/
DLogTags.cpp565 android_pmsg_log_header_t pmsgHeader = { in WritePmsgEventLogTags() local
567 .len = (uint16_t)(sizeof(pmsgHeader) + sizeof(header) + sizeof(outTag) + in WritePmsgEventLogTags()
573 struct iovec Vec[] = { { (unsigned char*)&pmsgHeader, sizeof(pmsgHeader) }, in WritePmsgEventLogTags()
583 pmsgHeader.uid = (uint16_t)uid; in WritePmsgEventLogTags()
587 pmsgHeader.uid = (uint16_t)it; in WritePmsgEventLogTags()