Home
last modified time | relevance | path

Searched refs:LOG_ID_MAX (Results 1 – 20 of 20) sorted by relevance

/system/logging/liblog/
Dlogger_name.cpp23 static const char* LOG_NAME[LOG_ID_MAX] = {
37 if (log_id >= LOG_ID_MAX) { in android_log_id_to_name()
54 return static_cast<log_id_t>(LOG_ID_MAX); in android_name_to_log_id()
64 for (ret = LOG_ID_MIN; ret < LOG_ID_MAX; ++ret) { in android_name_to_log_id()
71 return static_cast<log_id_t>(LOG_ID_MAX); in android_name_to_log_id()
Dlogger_read.cpp65 if (!logger_list || (logId >= LOG_ID_MAX)) { in android_logger_open()
Dlogd_reader.cpp246 for (size_t log_id = 0; log_id < LOG_ID_MAX; ++log_id) { in android_logger_get_statistics()
305 for (size_t log_id = 0; log_id < LOG_ID_MAX; ++log_id) { in logdOpen()
Dpmsg_reader.cpp81 (buf.p.len > (sizeof(buf) + LOGGER_ENTRY_MAX_PAYLOAD)) || (buf.l.id >= LOG_ID_MAX) || in PmsgRead()
/system/logging/logd/
DChattyLogBuffer.h45 LogBufferIteratorMap mLastWorst[LOG_ID_MAX] GUARDED_BY(logd_lock);
48 LogBufferPidIteratorMap mLastWorstPidOfSystem[LOG_ID_MAX] GUARDED_BY(logd_lock);
66 std::optional<LogBufferElement> last_logged_elements_[LOG_ID_MAX] GUARDED_BY(logd_lock);
69 std::optional<LogBufferElement> duplicate_elements_[LOG_ID_MAX] GUARDED_BY(logd_lock);
DSerializedFlushToState.h82 std::optional<LogPosition> log_positions_[LOG_ID_MAX] GUARDED_BY(logd_lock);
87 std::bitset<LOG_ID_MAX> logs_needed_from_next_position_ GUARDED_BY(logd_lock) = {};
DLogStatistics.h44 for (log_id_t i = LOG_ID_MIN; (i) < LOG_ID_MAX; (i) = (log_id_t)((i) + 1))
446 size_t mSizes[LOG_ID_MAX] GUARDED_BY(lock_);
447 size_t mElements[LOG_ID_MAX] GUARDED_BY(lock_);
448 size_t mDroppedElements[LOG_ID_MAX] GUARDED_BY(lock_);
449 size_t mSizesTotal[LOG_ID_MAX] GUARDED_BY(lock_);
450 size_t mElementsTotal[LOG_ID_MAX] GUARDED_BY(lock_);
451 log_time mOldest[LOG_ID_MAX] GUARDED_BY(lock_);
452 log_time mNewest[LOG_ID_MAX] GUARDED_BY(lock_);
453 log_time mNewestDropped[LOG_ID_MAX] GUARDED_BY(lock_);
459 uidTable_t uidTable[LOG_ID_MAX] GUARDED_BY(lock_);
[all …]
DSerializedFlushToStateTest.cpp87 uint32_t max_mask = (1 << LOG_ID_MAX) - 1; in TestAllReading()
103 uint32_t max_mask = (1 << LOG_ID_MAX) - 1; in TestAllReadingWithFutureMessages()
167 std::list<SerializedLogChunk> log_chunks_[LOG_ID_MAX];
199 int buf = rand() % LOG_ID_MAX; in TEST_F()
303 std::list<SerializedLogChunk> log_chunks[LOG_ID_MAX]; in TEST()
DSerializedLogBuffer.h72 size_t max_size_[LOG_ID_MAX] GUARDED_BY(logd_lock) = {};
73 std::list<SerializedLogChunk> logs_[LOG_ID_MAX] GUARDED_BY(logd_lock);
DSimpleLogBuffer.h78 size_t max_size_[LOG_ID_MAX] GUARDED_BY(logd_lock);
82 std::optional<std::list<LogBufferElement>::iterator> oldest_[LOG_ID_MAX] GUARDED_BY(logd_lock);
DSimpleLogBuffer.cpp83 if (log_id >= LOG_ID_MAX) { in Log()
126 pid_t last_tid_[LOG_ID_MAX] = {};
320 bool oldest_is_it[LOG_ID_MAX]; in Erase()
DLogListener.cpp102 if (/* logId < LOG_ID_MIN || */ logId >= LOG_ID_MAX || in HandleData()
DLogReaderThread.h89 unsigned int skip_ahead_[LOG_ID_MAX] GUARDED_BY(logd_lock);
DCommandListener.cpp181 if ((id < LOG_ID_MIN) || (LOG_ID_MAX <= id)) { in runCommand()
DSerializedLogBuffer.cpp138 if (log_id >= LOG_ID_MAX || len == 0) { in Log()
/system/logging/liblog/tests/
Dlog_id_test.cpp36 for (int i = LOG_ID_MIN; i < LOG_ID_MAX; ++i) { in TEST()
45 ASSERT_EQ(LOG_ID_MAX, count); in TEST()
Dlog_read_test.cpp42 for (int i = LOG_ID_MIN; i < LOG_ID_MAX; ++i) { in TEST()
/system/logging/liblog/include/android/
Dlog.h158 LOG_ID_MAX, enumerator
/system/logging/logcat/
Dlogcat.cpp105 log_id_t last_printed_id_ = LOG_ID_MAX;
106 bool printed_start_[LOG_ID_MAX] = {};
747 if (log_id >= LOG_ID_MAX) { in Run()
959 for (int i = LOG_ID_MIN; i < LOG_ID_MAX; ++i) { in Run()
1104 if (log_msg.id() > LOG_ID_MAX) { in Run()
1106 LOG_ID_MAX); in Run()
/system/logging/logd/fuzz/
Dlog_buffer_log_fuzzer.cpp80 log_id_t log_id = static_cast<log_id_t>(unsigned(logInput->log_id) % (LOG_ID_MAX + 1)); in write_log_messages()