Home
last modified time | relevance | path

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

12

/system/libbase/
Dlogging.cpp155 static LogSeverity PriorityToLogSeverity(int priority) { in PriorityToLogSeverity()
176 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()
278 void KernelLogger(android::base::LogId, android::base::LogSeverity severity, const char* tag, in KernelLogger()
284 void StderrLogger(LogId, LogSeverity severity, const char* tag, const char* file, unsigned int line, in StderrLogger()
294 void StdioLogger(LogId, LogSeverity severity, const char* /*tag*/, const char* /*file*/, in StdioLogger()
305 return [l1 = std::move(l1), l2 = std::move(l2)](LogId id, LogSeverity severity, const char* tag, in TeeLogger()
322 static void LogdLogChunk(LogId id, LogSeverity severity, const char* tag, const char* message) { in LogdLogChunk()
337 void LogdLogger::operator()(LogId id, LogSeverity severity, const char* tag, const char* file, in operator ()()
[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(const char* expected_tag, android::base::LogSeverity severity, in make_log_pattern()
233 static void CheckMessage(const std::string& output, android::base::LogSeverity severity, in CheckMessage()
251 static void CheckMessage(CapturedStderr& cap, android::base::LogSeverity severity, in CheckMessage()
664 [&](LogId, LogSeverity, const char*, const char*, unsigned int, const char*) { sleep(3); }); in TEST() argument
685 SetLogger([](LogId, LogSeverity, const char*, const char*, unsigned int, const char*) {}); in TEST() argument
Dlogging_splitters.h49 static void SplitByLogdChunks(LogId log_id, LogSeverity severity, const char* tag, const char* file, in SplitByLogdChunks()
150 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/logging/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.h85 enum LogSeverity { enum
104 LogSeverity /*severity*/,
118 void KernelLogger(LogId log_buffer_id, LogSeverity severity, const char* tag, const char* file, uns…
120 void StderrLogger(LogId log_buffer_id, LogSeverity severity, const char* tag, const char* file, uns…
125 void StdioLogger(LogId log_buffer_id, LogSeverity severity, const char* tag, const char* file, unsi…
142 void operator()(LogId, LogSeverity, const char* tag, const char* file,
427 LogMessage(const char* file, unsigned int line, LogId, LogSeverity severity, const char* tag,
429 LogMessage(const char* file, unsigned int line, LogSeverity severity, const char* tag, int error);
438 static void LogLine(const char* file, unsigned int line, LogSeverity severity, const char* tag,
448 LogSeverity GetMinimumLogSeverity();
[all …]
/system/libvintf/
DVintfFmMain.cpp21 void PlainLogger(android::base::LogId, android::base::LogSeverity severity, const char* /*tag*/, in PlainLogger()
23 if (severity >= android::base::LogSeverity::WARNING) { in PlainLogger()
/system/core/libprocessgroup/
Dtask_profiles_test.cpp31 using ::android::base::LogSeverity;
61 LogSeverity severity;
71 saved_logger_ = SetLogger([this](LogId log_buffer_id, LogSeverity severity, const char* tag, in ScopedLogCapturer()
95 LogSeverity saved_severity_;
142 LogSeverity log_severity;
/system/extras/simpleperf/
Dgtest_main.cpp82 android::base::LogSeverity log_severity = android::base::WARNING; in main()
Dcommand.cpp208 static void StderrLogger(android::base::LogId, android::base::LogSeverity severity, const char*, in StderrLogger()
220 android::base::LogSeverity log_severity = android::base::INFO; in RunSimpleperfCmd()
Dprofcollect.cpp110 static void FileLogger(android::base::LogId id, android::base::LogSeverity severity, in FileLogger()
Dutils.cpp309 static std::map<std::string, android::base::LogSeverity> log_severity_map = {
314 bool GetLogSeverity(const std::string& name, android::base::LogSeverity* severity) { in GetLogSeverity()
324 android::base::LogSeverity severity = android::base::GetMinimumLogSeverity(); in GetLogSeverityName()
Ddso.h226 android::base::LogSeverity symbol_warning_loglevel_;
Dutils.h244 bool GetLogSeverity(const std::string& name, android::base::LogSeverity* severity);
Ddso.cpp458 android::base::LogSeverity warning_loglevel = android::base::WARNING) { in ReportReadElfSymbolResult()
534 android::base::LogSeverity level = in LoadSymbolsImpl()
646 android::base::LogSeverity log_level = android::base::WARNING; in LoadSymbolsImpl()
/system/vold/
Dmain.cpp56 static void VoldLogger(android::base::LogId log_buffer_id, android::base::LogSeverity severity,
288 static void VoldLogger(android::base::LogId log_buffer_id, android::base::LogSeverity severity, in VoldLogger()
/system/netd/server/
DNdcDispatcher.h65 static const android::base::LogSeverity LOGLEVEL = android::base::VERBOSE;
/system/logging/logd/
Dmain.cpp196 argv, [](android::base::LogId log_id, android::base::LogSeverity severity, in main()
DSerializedFlushToStateTest.cpp165 android::base::LogSeverity old_log_severity_;
/system/core/fs_mgr/libsnapshot/libsnapshot_cow/
Dinspect_cow.cpp50 void MyLogger(android::base::LogId, android::base::LogSeverity severity, const char*, const char*, in MyLogger()
/system/core/toolbox/
Dmodprobe.cpp81 void MyLogger(android::base::LogId id, android::base::LogSeverity severity, const char* tag, in MyLogger()
/system/libvintf/test/
DVintfFmTest.cpp325 android::base::SetMinimumLogSeverity(android::base::LogSeverity::WARNING); in main()
/system/linkerconfig/
Dmain.cc396 void operator()(android::base::LogId id, android::base::LogSeverity severity, in operator ()()
/system/extras/partition_tools/
Dlpadd.cc427 static void ErrorLogger(android::base::LogId, android::base::LogSeverity severity, const char*, in ErrorLogger()

12