/aosp12/system/libbase/ |
H A D | logging.cpp | 149 static LogSeverity PriorityToLogSeverity(int priority) { in PriorityToLogSeverity() 170 static int32_t LogSeverityToPriority(LogSeverity severity) { in LogSeverityToPriority() 229 static LogSeverity gMinimumLogSeverity = INFO; 294 void StdioLogger(LogId, LogSeverity severity, const char* /*tag*/, const char* /*file*/, in StdioLogger() 441 LogSeverity GetSeverity() const { in GetSeverity() 463 const LogSeverity severity_; 536 LogSeverity GetMinimumLogSeverity() { in GetMinimumLogSeverity() 544 bool ShouldLog(LogSeverity severity, const char* tag) { in ShouldLog() 556 LogSeverity SetMinimumLogSeverity(LogSeverity new_severity) { in SetMinimumLogSeverity() 561 LogSeverity old_severity = gMinimumLogSeverity; in SetMinimumLogSeverity() [all …]
|
H A D | logging_test.cpp | 136 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() 661 [&](LogId, LogSeverity, const char*, const char*, unsigned int, const char*) { sleep(3); }); in TEST() argument 682 SetLogger([](LogId, LogSeverity, const char*, const char*, unsigned int, const char*) {}); in TEST() argument
|
H A D | logging_splitters.h | 48 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()
|
H A D | logging_splitters_test.cpp | 76 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
|
/aosp12/system/libbase/include/android-base/ |
H A D | logging.h | 85 enum LogSeverity { enum 104 LogSeverity /*severity*/, 135 void operator()(LogId, LogSeverity, const char* tag, const char* file, 420 LogMessage(const char* file, unsigned int line, LogId, LogSeverity severity, const char* tag, 422 LogMessage(const char* file, unsigned int line, LogSeverity severity, const char* tag, int error); 431 static void LogLine(const char* file, unsigned int line, LogSeverity severity, const char* tag, 441 LogSeverity GetMinimumLogSeverity(); 444 LogSeverity SetMinimumLogSeverity(LogSeverity new_severity); 447 bool ShouldLog(LogSeverity severity, const char* tag); 452 explicit ScopedLogSeverity(LogSeverity level); [all …]
|
/aosp12/packages/modules/NeuralNetworks/common/ |
H A D | LogTagTest.cpp | 45 android::base::LogSeverity /* logSeverity */, const char* tag, in TEST_F() 53 android::base::LogSeverity /* logSeverity */, const char* tag, in TEST_F() argument 63 [](android::base::LogId /* logId */, android::base::LogSeverity logSeverity, in TEST_F() argument 72 android::base::LogSeverity /* logSeverity */, const char* /* tag */, in TEST_F() 82 android::base::SetLogger([](android::base::LogId, android::base::LogSeverity, in TEST_F() argument
|
/aosp12/system/logging/liblog/tests/ |
H A D | liblog_default_tag.cpp | 40 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
|
H A D | liblog_global_state.cpp | 29 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()
|
/aosp12/art/libartbase/base/ |
H A D | logging.h | 29 using ::android::base::LogSeverity; 95 android::base::LogSeverity severity, 104 bool PrintFileToLog(const std::string& file_name, android::base::LogSeverity level); 120 ::android::base::LogSeverity severity, in VlogMessage()
|
H A D | logging.cc | 94 android::base::LogSeverity severity, in InitLogging() 127 LogSeverity log_severity, in LogLineLowStack() 170 bool PrintFileToLog(const std::string& file_name, android::base::LogSeverity level) { in PrintFileToLog()
|
H A D | common_art_test.h | 41 using LogSeverity = android::base::LogSeverity; variable
|
/aosp12/system/libvintf/ |
H A D | VintfFmMain.cpp | 21 void PlainLogger(android::base::LogId, android::base::LogSeverity severity, const char* /*tag*/, in PlainLogger() 23 if (severity >= android::base::LogSeverity::WARNING) { in PlainLogger()
|
/aosp12/art/tools/common/ |
H A D | common.py | 57 class LogSeverity(Enum): class 72 for log_severity in LogSeverity: 255 def RunCommand(self, cmd, log_severity=LogSeverity.ERROR): 335 def RunCommand(self, cmd, log_severity=LogSeverity.ERROR): 432 return LogSeverity.FromSymbol(brief_log_line[0]) 434 def RunCommand(self, cmd, log_severity=LogSeverity.ERROR):
|
/aosp12/art/runtime/gc/ |
H A D | heap_verification_test.cc | 104 ScopedLogSeverity sls(LogSeverity::INFO); in TEST_F() 122 ScopedLogSeverity sls(LogSeverity::INFO); in TEST_F() 148 ScopedLogSeverity sls(LogSeverity::INFO); in TEST_F() 168 ScopedLogSeverity sls(LogSeverity::INFO); in TEST_F()
|
/aosp12/art/runtime/ |
H A D | monitor_test.cc | 300 ScopedLogSeverity sls(LogSeverity::FATAL); in TEST_F() 310 ScopedLogSeverity sls(LogSeverity::FATAL); in TEST_F() 321 ScopedLogSeverity sls(LogSeverity::FATAL); in TEST_F() 347 ScopedLogSeverity sls(LogSeverity::FATAL); in TEST_F()
|
H A D | common_runtime_test.h | 45 using LogSeverity = android::base::LogSeverity; variable
|
/aosp12/art/tools/bisection_search/ |
H A D | bisection_search.py | 42 from common.common import LogSeverity 116 cmd, LogSeverity.ERROR) 136 (output, _) = self._test_env.RunCommand(cmd, LogSeverity.INFO) 156 (output, _) = self._test_env.RunCommand(cmd, LogSeverity.INFO)
|
/aosp12/system/core/fs_mgr/libsnapshot/ |
H A D | snapshot_fuzz.cpp | 36 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()
|
/aosp12/system/iorap/src/common/ |
H A D | loggers.h | 36 ::android::base::LogSeverity sev, in operator()
|
/aosp12/system/extras/simpleperf/ |
H A D | utils.cpp | 306 static std::map<std::string, android::base::LogSeverity> log_severity_map = { 311 bool GetLogSeverity(const std::string& name, android::base::LogSeverity* severity) { in GetLogSeverity() 321 android::base::LogSeverity severity = android::base::GetMinimumLogSeverity(); in GetLogSeverityName()
|
H A D | command.cpp | 216 static void StderrLogger(android::base::LogId, android::base::LogSeverity severity, const char*, in StderrLogger() 228 android::base::LogSeverity log_severity = android::base::INFO; in RunSimpleperfCmd()
|
H A D | gtest_main.cpp | 80 android::base::LogSeverity log_severity = android::base::WARNING; in main()
|
/aosp12/bootable/recovery/updater/ |
H A D | updater_main.cpp | 42 static void UpdaterLogger(android::base::LogId /* id */, android::base::LogSeverity /* severity */, in UpdaterLogger() argument
|
/aosp12/art/openjdkjvmti/ |
H A D | ti_logging.h | 62 android::base::LogSeverity severity, in JvmtiLogMessage()
|
/aosp12/art/libdexfile/dex/ |
H A D | compact_offset_table_test.cc | 72 android::base::ScopedLogSeverity sls(android::base::LogSeverity::INFO); in TEST()
|