Home
last modified time | relevance | path

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

/system/core/liblog/
Dpmsg_writer.cpp102 android_pmsg_log_header_t pmsgHeader; in pmsgWrite() local
140 pmsgHeader.magic = LOGGER_MAGIC; in pmsgWrite()
141 pmsgHeader.len = sizeof(pmsgHeader) + sizeof(header); in pmsgWrite()
142 pmsgHeader.uid = __android_log_uid(); in pmsgWrite()
143 pmsgHeader.pid = getpid(); in pmsgWrite()
150 newVec[0].iov_base = (unsigned char*)&pmsgHeader; in pmsgWrite()
151 newVec[0].iov_len = sizeof(pmsgHeader); in pmsgWrite()
168 pmsgHeader.len += payloadSize; in pmsgWrite()
175 if (ret > (ssize_t)(sizeof(header) + sizeof(pmsgHeader))) { in pmsgWrite()
176 ret -= sizeof(header) - sizeof(pmsgHeader); in pmsgWrite()
/system/core/logd/
DLogTags.cpp582 android_pmsg_log_header_t pmsgHeader = { in WritePmsgEventLogTags() local
584 .len = (uint16_t)(sizeof(pmsgHeader) + sizeof(header) + sizeof(outTag) + in WritePmsgEventLogTags()
590 struct iovec Vec[] = { { (unsigned char*)&pmsgHeader, sizeof(pmsgHeader) }, in WritePmsgEventLogTags()
600 pmsgHeader.uid = (uint16_t)uid; in WritePmsgEventLogTags()
604 pmsgHeader.uid = (uint16_t)it; in WritePmsgEventLogTags()