/frameworks/support/jetifier/jetifier/core/src/main/kotlin/com/android/tools/build/jetifier/core/utils/ |
Log.kt | 21 var currentLevel: LogLevel = LogLevel.ERROR 27 "info" -> LogLevel.INFO 28 "error" -> LogLevel.ERROR 29 "warning" -> LogLevel.WARNING 30 "verbose" -> LogLevel.VERBOSE 31 else -> LogLevel.WARNING 36 if (currentLevel >= LogLevel.ERROR) { 42 if (currentLevel >= LogLevel.WARNING) { 48 if (currentLevel >= LogLevel.INFO) [all...] |
LogLevel.kt | 19 enum class LogLevel(val priority: Int) {
|
/tools/tradefederation/core/src/com/android/tradefed/log/ |
ILeveledLogOutput.java | 19 import com.android.ddmlib.Log.LogLevel; 39 * @return the current {@link LogLevel} 41 public LogLevel getLogLevel(); 46 * @param logLevel the {@link LogLevel} to display 48 public void setLogLevel(LogLevel logLevel);
|
StdoutLogger.java | 18 import com.android.ddmlib.Log.LogLevel; 35 private LogLevel mLogLevel = LogLevel.INFO; 41 public void printAndPromptLog(LogLevel logLevel, String tag, String message) { 42 printLog(logLevel, tag, message); 50 public void printLog(LogLevel logLevel, String tag, String message) { 51 LogUtil.printLog(logLevel, tag, message); 58 public void setLogLevel(LogLevel logLevel) [all...] |
ILogRegistry.java | 20 import com.android.ddmlib.Log.LogLevel; 46 * @param logLevel the {@link LogLevel} to use 48 public void setGlobalLogDisplayLevel(LogLevel logLevel); 58 * @return logLevel the {@link LogLevel} to use 60 public LogLevel getGlobalLogDisplayLevel(); 94 * @param logLevel the {@link LogLevel} to be printed [all...] |
HistoryLogger.java | 18 import com.android.ddmlib.Log.LogLevel; 42 public void printAndPromptLog(LogLevel logLevel, String tag, String message) { 49 public void printLog(LogLevel logLevel, String tag, String message) { 60 public void logEvent(LogLevel logLevel, EventType event, Map<String, String> args) { 70 internalPrintLog(logLevel, message.toString()); 74 private void internalPrintLog(LogLevel logLevel, String message) [all...] |
FileLogger.java | 18 import com.android.ddmlib.Log.LogLevel; 43 private LogLevel mLogLevel = LogLevel.DEBUG; 48 private LogLevel mLogLevelDisplay = LogLevel.ERROR; 111 public void printAndPromptLog(LogLevel logLevel, String tag, String message) { 112 internalPrintLog(logLevel, tag, message, true /* force print to stdout */); 119 public void printLog(LogLevel logLevel, String tag, String message) [all...] |
/external/tensorflow/tensorflow/core/platform/s3/ |
aws_logging.cc | 28 AWSLogSystem::AWSLogSystem(Aws::Utils::Logging::LogLevel log_level) 31 void AWSLogSystem::Log(Aws::Utils::Logging::LogLevel log_level, const char* tag, 43 void AWSLogSystem::LogStream(Aws::Utils::Logging::LogLevel log_level, 49 void AWSLogSystem::LogMessage(Aws::Utils::Logging::LogLevel log_level, 53 case Aws::Utils::Logging::LogLevel::Info: 56 case Aws::Utils::Logging::LogLevel::Warn: 59 case Aws::Utils::Logging::LogLevel::Error: 62 case Aws::Utils::Logging::LogLevel::Fatal: 74 Aws::Utils::Logging::LogLevel ParseLogLevelFromEnv() { 75 Aws::Utils::Logging::LogLevel log_level = Aws::Utils::Logging::LogLevel::Info [all...] |
aws_logging.h | 22 #include <aws/core/utils/logging/LogLevel.h> 33 explicit AWSLogSystem(Aws::Utils::Logging::LogLevel log_level); 37 virtual Aws::Utils::Logging::LogLevel GetLogLevel(void) const override { 42 void SetLogLevel(Aws::Utils::Logging::LogLevel log_level) { 50 virtual void Log(Aws::Utils::Logging::LogLevel log_level, const char* tag, 54 virtual void LogStream(Aws::Utils::Logging::LogLevel log_level, 59 void LogMessage(Aws::Utils::Logging::LogLevel log_level, 61 std::atomic<Aws::Utils::Logging::LogLevel> log_level_;
|
/external/protobuf/src/google/protobuf/testing/ |
googletest.h | 64 // For use with ScopedMemoryLog::GetMessages(). Inside Google the LogLevel 68 static const LogLevel ERROR = LOGLEVEL_ERROR; 69 static const LogLevel WARNING = LOGLEVEL_WARNING; 85 const vector<string>& GetMessages(LogLevel error); 88 map<LogLevel, vector<string> > messages_; 91 static void HandleLog(LogLevel level, const char* filename, int line,
|
/system/keymaster/include/keymaster/ |
soft_keymaster_logger.h | 29 virtual int log_msg(LogLevel level, const char* fmt, va_list args) const;
|
logger.h | 29 enum LogLevel { 37 virtual int log_msg(LogLevel level, const char* fmt, va_list args) const = 0; 39 static int Log(LogLevel level, const char* fmt, va_list args); 40 static int Log(LogLevel level, const char* fmt, ...);
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/ |
PairingListener.java | 26 public static enum LogLevel { 73 void onLogMessage(LogLevel level, String message);
|
/device/google/contexthub/util/nanotool/ |
log.h | 51 enum class LogLevel { 61 static void Initialize(Logger *logger, LogLevel level); 79 static void SetLevel(LogLevel level); 82 static char LevelAbbrev(LogLevel level); 83 static void LogEx(LogLevel level, const char *format, va_list arg_list); 86 static LogLevel level_;
|
log.cpp | 26 Log::LogLevel Log::level_; 30 void Log::Initialize(Logger *logger, LogLevel level) { 39 void Log::SetLevel(LogLevel level) { 52 LOG_EX_VARARGS(LogLevel::Error, format); 56 LOG_EX_VARARGS(LogLevel::Warn, format); 60 LOG_EX_VARARGS(LogLevel::Info, format); 64 LOG_EX_VARARGS(LogLevel::Debug, format); 72 if (Log::level_ < LogLevel::Debug) { 107 char Log::LevelAbbrev(LogLevel level) { 109 case LogLevel::Error [all...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/log/ |
LogRegistryTest.java | 19 import com.android.ddmlib.Log.LogLevel; 82 EasyMock.expect(mockLogger.getLogLevel()).andReturn(LogLevel.VERBOSE); 83 mockLogger.printLog(LogLevel.VERBOSE, LOG_TAG, testMessage); 86 mLogRegistry.printLog(LogLevel.VERBOSE, LOG_TAG, testMessage); 99 // Setting LogLevel == ERROR will let everything print 100 EasyMock.expect(mockLogger.getLogLevel()).andReturn(LogLevel.ERROR); 103 mLogRegistry.printLog(LogLevel.VERBOSE, LOG_TAG, testMessage); 143 EasyMock.expect(mockLogger.getLogLevel()).andReturn(LogLevel.VERBOSE); 144 mockLogger.printLog(LogLevel.VERBOSE, LOG_TAG, testMessage); 146 EasyMock.expect(mockLogger.getLogLevel()).andReturn(LogLevel.ERROR) [all...] |
FileLoggerTest.java | 21 import com.android.ddmlib.Log.LogLevel; 60 logger.printLog(LogLevel.INFO, LOG_TAG, Text1); 61 String expectedText1 = LogUtil.getLogFormatString(LogLevel.INFO, LOG_TAG, Text1).trim(); 62 logger.printLog(LogLevel.VERBOSE, LOG_TAG, Text2); 64 LogUtil.getLogFormatString(LogLevel.VERBOSE, LOG_TAG, Text2).trim(); 65 logger.printLog(LogLevel.ASSERT, LOG_TAG, Text3); 67 LogUtil.getLogFormatString(LogLevel.ASSERT, LOG_TAG, Text3).trim(); 115 * Test that no unexpected Exceptions occur if {@link FileLogger#printLog(LogLevel, String, 149 assertEquals(LogLevel.INFO, clone.getLogLevel());
|
HistoryLoggerTest.java | 18 import com.android.ddmlib.Log.LogLevel; 44 * Test for {@link HistoryLogger#logEvent(LogLevel, EventType, Map)} logging the expected 61 mLogger.logEvent(LogLevel.INFO, EventType.INVOCATION_END, expectedArgs); 66 * Test for {@link HistoryLogger#logEvent(LogLevel, EventType, Map)} logging the expected 81 mLogger.logEvent(LogLevel.INFO, EventType.INVOCATION_END, null);
|
/cts/suite/audio_quality/lib/include/ |
Log.h | 28 enum LogLevel { 40 void printf(LogLevel level, const char* fmt, ...); 41 void setLogLevel(LogLevel level); 42 LogLevel getLogLevel() { 52 LogLevel mLogLevel;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/preferences/ |
LogCatPreferencePage.java | 19 import com.android.ddmlib.Log.LogLevel; 119 { LogLevel.VERBOSE.toString(), LogLevel.VERBOSE.getStringValue() }, 120 { LogLevel.DEBUG.toString(), LogLevel.DEBUG.getStringValue() }, 121 { LogLevel.INFO.toString(), LogLevel.INFO.getStringValue() }, 122 { LogLevel.WARN.toString(), LogLevel.WARN.getStringValue() }, 123 { LogLevel.ERROR.toString(), LogLevel.ERROR.getStringValue() } [all...] |
/cts/hostsidetests/media/src/android/media/session/cts/ |
MediaSessionManagerHostTest.java | 31 import com.android.ddmlib.Log.LogLevel; 103 CLog.logAndDisplay(LogLevel.INFO, 141 CLog.logAndDisplay(LogLevel.INFO, 146 CLog.logAndDisplay(LogLevel.INFO, 180 CLog.logAndDisplay(LogLevel.INFO, 185 CLog.logAndDisplay(LogLevel.INFO, 220 CLog.logAndDisplay(LogLevel.INFO, 225 CLog.logAndDisplay(LogLevel.INFO,
|
/tools/tradefederation/core/src/com/android/tradefed/util/hostmetric/ |
HeapHostMonitor.java | 18 import com.android.ddmlib.Log.LogLevel; 57 LogRegistry.getLogRegistry().logEvent(LogLevel.INFO, EventType.HEAP_MEMORY, args);
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
AppSecurityPreparer.java | 19 import com.android.ddmlib.Log.LogLevel; 50 CLog.logAndDisplay(LogLevel.INFO, 54 CLog.logAndDisplay(LogLevel.INFO, 75 CLog.logAndDisplay(LogLevel.INFO, "Destroyed secondary user " + userIds[i]);
|
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/settings/ |
MyPreferences.java | 93 public Util.LogLevel getLoggingLevel() { 94 return Util.LogLevel.values()[mPrefs.getInt(LOGGING_LEVEL, Util.LogLevel.Off.ordinal())]; 97 public void setLoggingLevel(Util.LogLevel level) {
|
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/ |
KeyguardStatusChecker.java | 18 import com.android.ddmlib.Log.LogLevel; 41 LogLevel.DEBUG, 53 CLog.logAndDisplay(LogLevel.WARN, message);
|