Home
last modified time | relevance | path

Searched refs:LogSeverity (Results 1 – 25 of 29) sorted by relevance

12

/system/libbase/
Dlogging.cpp154 static LogSeverity PriorityToLogSeverity(int priority) { in PriorityToLogSeverity()
175 static int32_t LogSeverityToPriority(LogSeverity severity) { in LogSeverityToPriority()
235 static LogSeverity gMinimumLogSeverity = INFO;
238 static void KernelLogLine(const char* msg, int length, android::base::LogSeverity severity, in KernelLogLine()
276 void KernelLogger(android::base::LogId, android::base::LogSeverity severity, const char* tag, in KernelLogger()
282 void StderrLogger(LogId, LogSeverity severity, const char* tag, const char* file, unsigned int line, in StderrLogger()
298 void StdioLogger(LogId, LogSeverity severity, const char* /*tag*/, const char* /*file*/, in StdioLogger()
317 static void LogdLogChunk(LogId id, LogSeverity severity, const char* tag, const char* message) { in LogdLogChunk()
333 void LogdLogger::operator()(LogId id, LogSeverity severity, const char* tag, const char* file, in operator ()()
429 LogMessageData(const char* file, unsigned int line, LogSeverity severity, const char* tag, in LogMessageData()
[all …]
Dlogging_test.cpp136 android::base::ScopedLogSeverity sls2(static_cast<android::base::LogSeverity>(i)); \
140 android::base::ScopedLogSeverity sls2(static_cast<android::base::LogSeverity>(i)); \
150 android::base::ScopedLogSeverity sls2(static_cast<android::base::LogSeverity>(i)); \
154 android::base::ScopedLogSeverity sls2(static_cast<android::base::LogSeverity>(i)); \
212 static std::string make_log_pattern(android::base::LogSeverity severity, in make_log_pattern()
225 static void CheckMessage(const std::string& output, android::base::LogSeverity severity, in CheckMessage()
248 static void CheckMessage(CapturedStderr& cap, android::base::LogSeverity severity, in CheckMessage()
645 [&](LogId, LogSeverity, const char*, const char*, unsigned int, const char*) { sleep(3); }); in TEST() argument
666 SetLogger([](LogId, LogSeverity, const char*, const char*, unsigned int, const char*) {}); in TEST() argument
Dlogging_splitters.h48 static void SplitByLogdChunks(LogId log_id, LogSeverity severity, const char* tag, const char* file, in SplitByLogdChunks()
149 LogSeverity severity, const char* tag, const char* file, in StderrOutputGenerator()
Dlogging_splitters_test.cpp76 auto logger_function = [&](LogId, LogSeverity, const char*, const char* msg) { in TestLogdChunkSplitter() argument
239 auto logger_function = [](LogId, LogSeverity, const char*, const char*) {}; in TEST() argument
/system/core/liblog/tests/
Dliblog_default_tag.cpp40 SetLogger([&](LogId, LogSeverity, const char* tag, const char*, unsigned int, const char*) { in TEST() argument
58 SetLogger([&](LogId, LogSeverity, const char* tag, const char*, unsigned int, const char*) { in TEST() argument
76 SetLogger([&](LogId, LogSeverity, const char* tag, const char*, unsigned int, const char*) { in TEST() argument
94 SetLogger([&](LogId, LogSeverity, const char* tag, const char*, unsigned int, const char*) { in TEST() argument
113 SetLogger([&](LogId, LogSeverity, const char* tag, const char*, unsigned int, const char*) { in TEST() argument
139 SetLogger([&](LogId, LogSeverity, const char* tag, const char*, unsigned int, const char*) { in TEST() argument
Dliblog_global_state.cpp29 LogSeverity expected_severity = WARNING; in TEST()
34 auto LoggerFunction = [&](LogId log_id, LogSeverity severity, const char* tag, const char* file, in TEST()
85 auto LoggerFunction = [&](LogId log_id, LogSeverity severity, const char* tag, const char* file, in TEST()
/system/libbase/include/android-base/
Dlogging.h83 enum LogSeverity { enum
101 using LogFunction = std::function<void(LogId, LogSeverity, const char*, const char*,
108 void KernelLogger(LogId, LogSeverity, const char*, const char*, unsigned int, const char*);
110 void StderrLogger(LogId, LogSeverity, const char*, const char*, unsigned int, const char*);
115 void StdioLogger(LogId, LogSeverity, const char*, const char*, unsigned int, const char*);
129 void operator()(LogId, LogSeverity, const char* tag, const char* file,
414 LogMessage(const char* file, unsigned int line, LogId, LogSeverity severity, const char* tag,
416 LogMessage(const char* file, unsigned int line, LogSeverity severity, const char* tag, int error);
425 static void LogLine(const char* file, unsigned int line, LogSeverity severity, const char* tag,
435 LogSeverity GetMinimumLogSeverity();
[all …]
/system/iorap/src/iorapd/
Dmain.cc38 ::android::base::LogSeverity sev, in operator ()()
/system/core/fs_mgr/libsnapshot/
Dsnapshot_fuzz.cpp36 using android::base::LogSeverity;
184 void FatalOnlyLogger(LogId logid, LogSeverity severity, const char* tag, const char* file, in FatalOnlyLogger()
186 if (severity == LogSeverity::FATAL) { in FatalOnlyLogger()
/system/extras/simpleperf/
Dgtest_main.cpp80 android::base::LogSeverity log_severity = android::base::WARNING; in main()
Dutils.cpp298 static std::map<std::string, android::base::LogSeverity> log_severity_map = {
306 bool GetLogSeverity(const std::string& name, android::base::LogSeverity* severity) { in GetLogSeverity()
316 android::base::LogSeverity severity = android::base::GetMinimumLogSeverity(); in GetLogSeverityName()
Dcommand.cpp212 static void StderrLogger(android::base::LogId, android::base::LogSeverity severity, in StderrLogger()
224 android::base::LogSeverity log_severity = android::base::INFO; in RunSimpleperfCmd()
Dutils.h144 bool GetLogSeverity(const std::string& name, android::base::LogSeverity* severity);
Ddso.h224 android::base::LogSeverity symbol_warning_loglevel_;
Ddso.cpp399 android::base::LogSeverity warning_loglevel = android::base::WARNING) { in ReportReadElfSymbolResult()
465 android::base::LogSeverity level = symbols_.empty() ? android::base::WARNING in LoadSymbols()
Dreport_lib_interface.cpp204 android::base::LogSeverity severity; in SetLogSeverity()
/system/core/adb/
Dadb_trace.cpp42 void AdbLogger(android::base::LogId id, android::base::LogSeverity severity, in AdbLogger()
/system/netd/server/
DNdcDispatcher.h65 static const android::base::LogSeverity LOGLEVEL = android::base::VERBOSE;
/system/core/toolbox/
Dmodprobe.cpp78 void MyLogger(android::base::LogId id, android::base::LogSeverity severity, const char* tag, in MyLogger()
/system/core/logd/
Dmain.cpp232 argv, [](android::base::LogId log_id, android::base::LogSeverity severity, in main()
DSerializedFlushToStateTest.cpp165 android::base::LogSeverity old_log_severity_;
/system/linkerconfig/
Dmain.cc297 void operator()(android::base::LogId id, android::base::LogSeverity severity, in operator ()()
/system/core/fs_mgr/
Dfs_mgr_remount.cpp88 void MyLogger(android::base::LogId id, android::base::LogSeverity severity, const char* tag, in MyLogger()
/system/extras/partition_tools/
Dlpadd.cc414 static void ErrorLogger(android::base::LogId, android::base::LogSeverity severity, const char*, in ErrorLogger()
/system/core/init/
Dselinux.cpp551 android::base::LogSeverity severity = android::base::ERROR; in SelinuxKlogCallback()

12