/system/core/base/ |
D | logging_test.cpp | 110 #define CHECK_WOULD_LOG_DISABLED(severity) \ argument 111 static_assert(android::base::severity < android::base::FATAL, "Bad input"); \ 112 for (size_t i = static_cast<size_t>(android::base::severity) + 1; \ 117 EXPECT_FALSE(WOULD_LOG(severity)) << i; \ 121 EXPECT_FALSE(WOULD_LOG(::android::base::severity)) << i; \ 125 #define CHECK_WOULD_LOG_ENABLED(severity) \ argument 127 i <= static_cast<size_t>(android::base::severity); \ 131 EXPECT_TRUE(WOULD_LOG(severity)) << i; \ 135 EXPECT_TRUE(WOULD_LOG(::android::base::severity)) << i; \ 195 static std::string make_log_pattern(android::base::LogSeverity severity, in make_log_pattern() argument [all …]
|
D | logging.cpp | 149 void KernelLogger(android::base::LogId, android::base::LogSeverity severity, in KernelLogger() argument 169 int level = kLogSeverityToKernelLogLevel[severity]; in KernelLogger() 188 void StderrLogger(LogId, LogSeverity severity, const char*, const char* file, in StderrLogger() argument 205 char severity_char = log_characters[severity]; in StderrLogger() 224 void LogdLogger::operator()(LogId id, LogSeverity severity, const char* tag, in operator ()() argument 235 int priority = kLogSeverityToAndroidLogPriority[severity]; in operator ()() 346 LogSeverity severity, int error) in LogMessageData() argument 350 severity_(severity), in LogMessageData() 394 LogSeverity severity, int error) in LogMessage() argument 395 : data_(new LogMessageData(file, line, id, severity, error)) { in LogMessage() [all …]
|
/system/extras/perfprofd/quipper/base/ |
D | logging.h | 168 #define LOG_IS_ON(severity) \ argument 169 ((::logging::LOG_ ## severity) >= ::logging::GetMinLogLevel()) 186 #define LOG_STREAM(severity) COMPACT_GOOGLE_LOG_ ## severity.stream() argument 188 #define LOG(severity) LAZY_STREAM(LOG_STREAM(severity), LOG_IS_ON(severity)) argument 189 #define LOG_IF(severity, condition) \ argument 190 LAZY_STREAM(LOG_STREAM(severity), LOG_IS_ON(severity) && (condition)) 210 #define PLOG(severity) \ argument 211 LAZY_STREAM(PLOG_STREAM(severity), LOG_IS_ON(severity)) 213 #define PLOG_IF(severity, condition) \ argument 214 LAZY_STREAM(PLOG_STREAM(severity), LOG_IS_ON(severity) && (condition)) [all …]
|
D | logging.cc | 60 LogMessage::LogMessage(const char* file, int line, LogSeverity severity) in LogMessage() argument 61 : severity_(severity), file_(file), line_(line) { in LogMessage() 72 LogMessage::LogMessage(const char* file, int line, LogSeverity severity, in LogMessage() argument 74 : severity_(severity), file_(file), line_(line) { in LogMessage()
|
/system/core/base/include/android-base/ |
D | logging.h | 157 #define SEVERITY_LAMBDA(severity) ([&]() { \ argument 165 return (severity); }()) 168 #define WOULD_LOG(severity) \ argument 169 UNLIKELY((SEVERITY_LAMBDA(severity)) >= ::android::base::GetMinimumLogSeverity()) 178 #define LOG_STREAM(severity) LOG_STREAM_TO(DEFAULT, severity) argument 182 #define LOG_STREAM_TO(dest, severity) \ argument 185 SEVERITY_LAMBDA(severity), -1).stream() 191 #define LOG(severity) LOG_TO(DEFAULT, severity) argument 200 #define LOG_TO(dest, severity) \ argument 201 WOULD_LOG(severity) && \ [all …]
|
/system/core/init/ |
D | log.cpp | 44 android::base::LogSeverity severity = android::base::ERROR; in selinux_klog_callback() local 46 severity = android::base::WARNING; in selinux_klog_callback() 48 severity = android::base::INFO; in selinux_klog_callback() 55 android::base::KernelLogger(android::base::MAIN, severity, "selinux", nullptr, 0, buf); in selinux_klog_callback()
|
D | builtins.cpp | 750 android::base::LogSeverity severity; in do_loglevel() local 752 case 7: severity = android::base::DEBUG; break; in do_loglevel() 753 case 6: severity = android::base::INFO; break; in do_loglevel() 755 case 4: severity = android::base::WARNING; break; in do_loglevel() 756 case 3: severity = android::base::ERROR; break; in do_loglevel() 759 case 0: severity = android::base::FATAL; break; in do_loglevel() 764 android::base::SetMinimumLogSeverity(severity); in do_loglevel()
|
/system/tpm/tpm_manager/server/ |
D | tpm_util.h | 22 #define TPM_LOG(severity, result) \ argument 23 LOG(severity) << "TPM error 0x" << std::hex << result << " (" \
|
/system/connectivity/wifilogd/ |
D | protocol.h | 87 severity = new_severity; in set_severity() 93 MessageSeverity severity; member
|
/system/core/adb/ |
D | adb_trace.cpp | 40 void AdbLogger(android::base::LogId id, android::base::LogSeverity severity, in AdbLogger() argument 43 android::base::StderrLogger(id, severity, tag, file, line, message); in AdbLogger() 45 gLogdLogger(id, severity, tag, file, line, message); in AdbLogger()
|
/system/connectivity/wifilogd/tests/ |
D | protocol_unittest.cpp | 46 EXPECT_EQ(3U, offsetof(AsciiMessage, severity)); in TEST() 47 EXPECT_EQ(1U, sizeof(AsciiMessage::severity)); in TEST()
|
/system/extras/simpleperf/ |
D | main.cpp | 56 android::base::ScopedLogSeverity severity(log_severity); in main() local
|
D | report_lib_interface.cpp | 160 android::base::LogSeverity severity; in SetLogSeverity() local 161 if (!GetLogSeverity(log_level, &severity)) { in SetLogSeverity() 166 log_severity_.reset(new android::base::ScopedLogSeverity(severity)); in SetLogSeverity()
|
D | utils.cpp | 242 bool GetLogSeverity(const std::string& name, android::base::LogSeverity* severity) { in GetLogSeverity() argument 253 *severity = it->second; in GetLogSeverity()
|
D | utils.h | 152 bool GetLogSeverity(const std::string& name, android::base::LogSeverity* severity);
|
D | gtest_main.cpp | 188 android::base::ScopedLogSeverity severity(log_severity); in main() local
|
/system/tpm/attestation/common/ |
D | tpm_utility_v1.cc | 32 #define TPM_LOG(severity, result) \ argument 33 LOG(severity) << "TPM error 0x" << std::hex << result << " (" \
|
/system/tpm/trunks/generator/ |
D | raw_structures_fixed.txt | 4490 severity
|
D | raw_structures.txt | 4496 severity
|