Home
last modified time | relevance | path

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

/system/core/liblog/
Dlogger_read.cpp370 if ((retval > 0) && !transp->logMsg.entry.len) { in android_logger_list_read()
375 retval = android_transport_read(logger_list_internal, transp, &transp->logMsg); in android_logger_list_read()
389 retval = android_transport_read(logger_list_internal, transp, &transp->logMsg); in android_logger_list_read()
396 if ((transp->ret > 0) && transp->logMsg.entry.len && in android_logger_list_read()
397 (!oldest || (oldest->logMsg.entry.sec > transp->logMsg.entry.sec) || in android_logger_list_read()
398 ((oldest->logMsg.entry.sec == transp->logMsg.entry.sec) && in android_logger_list_read()
399 (oldest->logMsg.entry.nsec > transp->logMsg.entry.nsec)))) { in android_logger_list_read()
416 if (ret < oldest->logMsg.entry.hdr_size) { in android_logger_list_read()
420 (oldest->logMsg.entry.hdr_size > sizeof(oldest->logMsg) ? sizeof(oldest->logMsg) in android_logger_list_read()
421 : oldest->logMsg.entry.hdr_size)); in android_logger_list_read()
[all …]
Dpmsg_reader.cpp338 while (pmsgRead(&logger_list, &transp, &transp.logMsg) > 0) { in __android_log_pmsg_file_read()
340 size_t hdr_size = transp.logMsg.entry.hdr_size ? transp.logMsg.entry.hdr_size in __android_log_pmsg_file_read()
341 : sizeof(transp.logMsg.entry_v1); in __android_log_pmsg_file_read()
342 char* msg = (char*)&transp.logMsg + hdr_size; in __android_log_pmsg_file_read()
345 if ((hdr_size < sizeof(transp.logMsg.entry_v1)) || (hdr_size > sizeof(transp.logMsg.entry))) { in __android_log_pmsg_file_read()
349 if ((transp.logMsg.entry.nsec % ANDROID_LOG_PMSG_FILE_SEQUENCE) || in __android_log_pmsg_file_read()
350 ((transp.logMsg.entry.nsec / ANDROID_LOG_PMSG_FILE_SEQUENCE) >= in __android_log_pmsg_file_read()
356 len = transp.logMsg.entry.len - sizeof(prio); in __android_log_pmsg_file_read()
402 if (!strcmp(names->name, msg + sizeof(prio)) && (names->id == transp.logMsg.entry.lid) && in __android_log_pmsg_file_read()
420 names->id = static_cast<log_id_t>(transp.logMsg.entry.lid); in __android_log_pmsg_file_read()
[all …]
Dlogger.h123 struct log_msg logMsg; /* peek at upcoming data, valid if logMsg.len != 0 */ member