Home
last modified time | relevance | path

Searched refs:mLogRegistry (Results 1 – 2 of 2) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/log/
DLogRegistryTest.java32 private LogRegistry mLogRegistry; field in LogRegistryTest
39 mLogRegistry = in setUp()
58 mLogRegistry.closeAndRemoveAllLogs(); in tearDown()
66 mLogRegistry.registerLogger(stdoutLogger); in testGetLogger()
68 ILeveledLogOutput returnedLogger = mLogRegistry.getLogger(); in testGetLogger()
70 mLogRegistry.unregisterLogger(); in testGetLogger()
80 mLogRegistry.registerLogger(mockLogger); in testPrintLog_sameLogLevel()
86 mLogRegistry.printLog(LogLevel.VERBOSE, LOG_TAG, testMessage); in testPrintLog_sameLogLevel()
87 mLogRegistry.unregisterLogger(); in testPrintLog_sameLogLevel()
97 mLogRegistry.registerLogger(mockLogger); in testPrintLog_lowerLogLevel()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/log/
DLogRegistry.java46 private static LogRegistry mLogRegistry = null; field in LogRegistry
79 if (mLogRegistry == null) { in getLogRegistry()
80 mLogRegistry = new LogRegistry(); in getLogRegistry()
83 return mLogRegistry; in getLogRegistry()