Home
last modified time | relevance | path

Searched refs:log_id_t (Results 1 – 25 of 30) sorted by relevance

12

/system/core/logd/
DLogBuffer.h110 int log(log_id_t log_id, log_time realtime,
118 bool clear(log_id_t id, uid_t uid = AID_ROOT);
119 unsigned long getSize(log_id_t id);
120 int setSize(log_id_t id, unsigned long size);
121 unsigned long getSizeUsed(log_id_t id);
144 void maybePrune(log_id_t id);
145 bool prune(log_id_t id, unsigned long pruneRows, uid_t uid = AID_ROOT);
DLogStatistics.h36 for (log_id_t i = LOG_ID_MIN; i < LOG_ID_MAX; i = (log_id_t) (i + 1))
132 log_id_t id = LOG_ID_MAX) const {
246 std::string formatHeader(const std::string &name, log_id_t id) const;
247 std::string format(const LogStatistics &stat, log_id_t id) const;
306 std::string formatHeader(const std::string &name, log_id_t id) const;
307 std::string format(const LogStatistics &stat, log_id_t id) const;
369 std::string formatHeader(const std::string &name, log_id_t id) const;
370 std::string format(const LogStatistics &stat, log_id_t id) const;
400 std::string formatHeader(const std::string &name, log_id_t id) const;
401 std::string format(const LogStatistics &stat, log_id_t id) const;
[all …]
DLogBufferElement.h40 const log_id_t mLogId;
58 LogBufferElement(log_id_t log_id, log_time realtime,
63 log_id_t getLogId() const { return mLogId; } in getLogId()
DLogStatistics.cpp65 log_id_t log_id = element->getLogId(); in add()
100 log_id_t log_id = element->getLogId(); in subtract()
137 log_id_t log_id = element->getLogId(); in drop()
205 std::string UidEntry::formatHeader(const std::string &name, log_id_t id) const { in formatHeader()
216 std::string UidEntry::format(const LogStatistics &stat, log_id_t id) const { in format()
324 std::string PidEntry::formatHeader(const std::string &name, log_id_t /* id */) const { in formatHeader()
333 std::string PidEntry::format(const LogStatistics &stat, log_id_t /* id */) const { in format()
361 std::string TidEntry::formatHeader(const std::string &name, log_id_t /* id */) const { in formatHeader()
370 std::string TidEntry::format(const LogStatistics &stat, log_id_t /* id */) const { in format()
401 std::string TagEntry::formatHeader(const std::string &name, log_id_t id) const { in formatHeader()
[all …]
DLogTimes.h75 void triggerSkip_Locked(log_id_t id, unsigned int skip) { skipAhead[id] = skip; } in triggerSkip_Locked()
114 bool isWatching(log_id_t id) { return (mLogMask & (1<<id)) != 0; } in isWatching()
DCommandListener.cpp100 cli->sendMsg(mBuf.clear((log_id_t) id, uid) ? "busy" : "success"); in runCommand()
123 unsigned long size = mBuf.getSize((log_id_t) id); in runCommand()
155 if (mBuf.setSize((log_id_t) id, size)) { in runCommand()
183 unsigned long size = mBuf.getSizeUsed((log_id_t) id); in runCommand()
DLogBuffer.cpp202 int LogBuffer::log(log_id_t log_id, log_time realtime, in log()
290 void LogBuffer::maybePrune(log_id_t id) { in maybePrune()
314 log_id_t id = element->getLogId(); in erase()
487 bool LogBuffer::prune(log_id_t id, unsigned long pruneRows, uid_t caller_uid) { in prune()
840 bool LogBuffer::clear(log_id_t id, uid_t uid) { in clear()
882 unsigned long LogBuffer::getSizeUsed(log_id_t id) { in getSizeUsed()
890 int LogBuffer::setSize(log_id_t id, unsigned long size) { in setSize()
902 unsigned long LogBuffer::getSize(log_id_t id) { in getSize()
DLogUtils.h56 static inline bool worstUidEnabledForLogid(log_id_t id) { in worstUidEnabledForLogid()
DLogTimes.cpp282 for (log_id_t i = LOG_ID_MIN; i < LOG_ID_MAX; i = (log_id_t) (i + 1)) { in cleanSkip_Locked()
DLogListener.cpp112 if (logbuf->log((log_id_t)header->id, header->realtime, in onDataAvailable()
/system/core/include/log/
Dlogger.h140 log_id_t id() in id()
142 return (log_id_t) entry.lid; in id()
157 log_id_t android_logger_get_id(struct logger *logger);
196 log_id_t id);
199 struct logger_list *android_logger_list_open(log_id_t id,
212 log_id_t android_name_to_log_id(const char *logName);
213 const char *android_log_id_to_name(log_id_t log_id);
Dlog.h546 } log_id_t; typedef
598 int android_log_write_list(android_log_context ctx, log_id_t id);
/system/core/include/private/
Dandroid_logger.h109 log_id_t logId,
114 #define LOG_ID_ANY ((log_id_t)-1)
119 log_id_t logId,
125 log_id_t logId, char prio, const char *prefix,
/system/core/liblog/
Dlogger.h46 int (*available)(log_id_t logId);
49 int (*write)(log_id_t logId, struct timespec *ts, struct iovec *vec, size_t nr);
60 int (*available)(log_id_t logId);
111 log_id_t logId;
Dlogger_name.c35 LIBLOG_ABI_PUBLIC const char *android_log_id_to_name(log_id_t log_id) in android_log_id_to_name()
43 LIBLOG_ABI_PUBLIC log_id_t android_name_to_log_id(const char *logName) in android_name_to_log_id()
Dpmsg_writer.c42 static int pmsgAvailable(log_id_t logId);
43 static int pmsgWrite(log_id_t logId, struct timespec *ts,
90 static int pmsgAvailable(log_id_t logId) in pmsgAvailable()
117 static int pmsgWrite(log_id_t logId, struct timespec *ts, in pmsgWrite()
224 log_id_t logId, in __android_log_pmsg_file_write()
Dfake_writer.c30 static int fakeWrite(log_id_t log_id, struct timespec *ts,
65 static int fakeWrite(log_id_t log_id, struct timespec *ts __unused, in fakeWrite()
Dlogd_writer.c48 static int logdAvailable(log_id_t LogId);
51 static int logdWrite(log_id_t logId, struct timespec *ts,
103 static int logdAvailable(log_id_t logId) in logdAvailable()
117 static int logdWrite(log_id_t logId, struct timespec *ts, in logdWrite()
DREADME63 log_id_t android_logger_get_id(struct logger *logger)
72 log_id_t id)
73 struct logger_list *android_logger_list_open(log_id_t id, int mode,
81 log_id_t android_name_to_log_id(const char *logName)
82 const char *android_log_id_to_name(log_id_t log_id)
Dlogger_read.c54 LIBLOG_ABI_PUBLIC log_id_t android_logger_get_id(struct logger *logger) in android_logger_get_id()
93 log_id_t logId = logger->logId; in init_transport_context()
280 log_id_t logId) in android_logger_open()
324 log_id_t logId, in android_logger_list_open()
Dlogger_write.c40 static int __write_to_log_init(log_id_t, struct iovec *vec, size_t nr);
41 static int (*write_to_log)(log_id_t, struct iovec *vec, size_t nr) = __write_to_log_init;
224 static int __write_to_log_daemon(log_id_t log_id, struct iovec *vec, size_t nr) in __write_to_log_daemon()
358 static int __write_to_log_init(log_id_t log_id, struct iovec *vec, size_t nr) in __write_to_log_init()
Dpmsg_reader.c31 static int pmsgAvailable(log_id_t logId);
59 static int pmsgAvailable(log_id_t logId) in pmsgAvailable()
260 log_id_t logId, in __android_log_pmsg_file_read()
280 log_id_t id; in __android_log_pmsg_file_read()
/system/core/debuggerd/test/
Dlog_fake.cpp71 extern "C" log_id_t android_name_to_log_id(const char*) { in android_name_to_log_id()
75 extern "C" struct logger_list* android_logger_list_open(log_id_t, int, unsigned int, pid_t) { in android_logger_list_open() argument
/system/core/liblog/tests/
Dlibc_test.cpp27 typedef unsigned char log_id_t; // log_id_t missing as a result typedef
100 (log_id_t)LOG_ID_CRASH, ANDROID_LOG_RDONLY | ANDROID_LOG_NONBLOCK, 1000, pid))); in TEST()
/system/core/logcat/
Dlogcat.cpp775 log_id_t log_id = android_name_to_log_id(optarg); in main()
787 const char *name = android_log_id_to_name((log_id_t)i); in main()
788 log_id_t log_id = android_name_to_log_id(name); in main()
790 if (log_id != (log_id_t)i) { in main()

12