Home
last modified time | relevance | path

Searched refs:ILeveledLogOutput (Results 1 – 14 of 14) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/log/
DLogRegistry.java47 private Map<ThreadGroup, ILeveledLogOutput> mLogTable = new Hashtable<>();
116 public void registerLogger(ILeveledLogOutput log) { in registerLogger()
118 ILeveledLogOutput oldValue = mLogTable.put(getCurrentThreadGroup(), log); in registerLogger()
146 public void dumpToGlobalLog(ILeveledLogOutput log) { in dumpToGlobalLog()
172 ILeveledLogOutput log = getLogger(); in printLog()
192 ILeveledLogOutput getLogger() { in getLogger()
194 ILeveledLogOutput log = mLogTable.get(getCurrentThreadGroup()); in getLogger()
209 Collection<ILeveledLogOutput> allLogs = mLogTable.values(); in closeAndRemoveAllLogs()
210 Iterator<ILeveledLogOutput> iter = allLogs.iterator(); in closeAndRemoveAllLogs()
212 ILeveledLogOutput log = iter.next(); in closeAndRemoveAllLogs()
[all …]
DILeveledLogOutput.java29 public interface ILeveledLogOutput extends ILogOutput { interface
71 public ILeveledLogOutput clone(); in clone()
DILogRegistry.java65 public void registerLogger(ILeveledLogOutput log); in registerLogger()
80 public void dumpToGlobalLog(ILeveledLogOutput log); in dumpToGlobalLog()
DStdoutLogger.java31 public class StdoutLogger implements ILeveledLogOutput {
88 public ILeveledLogOutput clone() { in clone()
DFileLogger.java38 public class FileLogger implements ILeveledLogOutput {
101 public ILeveledLogOutput clone() { in clone()
DHistoryLogger.java86 public ILeveledLogOutput clone() { in clone()
/tools/tradefederation/core/tests/src/com/android/tradefed/log/
DLogRegistryTest.java68 ILeveledLogOutput returnedLogger = mLogRegistry.getLogger(); in testGetLogger()
79 ILeveledLogOutput mockLogger = EasyMock.createMock(ILeveledLogOutput.class); in testPrintLog_sameLogLevel()
96 ILeveledLogOutput mockLogger = EasyMock.createMock(ILeveledLogOutput.class); in testPrintLog_lowerLogLevel()
113 final ILeveledLogOutput mockLogger = EasyMock.createMock(ILeveledLogOutput.class); in testThreadedLogging()
/tools/tradefederation/core/src/com/android/tradefed/config/
DIConfiguration.java26 import com.android.tradefed.log.ILeveledLogOutput;
102 public ILeveledLogOutput getLogOutput(); in getLogOutput()
254 public void setLogOutput(ILeveledLogOutput logger); in setLogOutput()
DConfiguration.java28 import com.android.tradefed.log.ILeveledLogOutput;
152 sObjTypeMap.put(LOGGER_TYPE_NAME, new ObjTypeInfo(ILeveledLogOutput.class, false)); in getObjTypeMap()
323 public ILeveledLogOutput getLogOutput() { in getLogOutput()
324 return (ILeveledLogOutput) getConfigurationObject(LOGGER_TYPE_NAME); in getLogOutput()
756 public void setLogOutput(ILeveledLogOutput logger) { in setLogOutput()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationMultiTest.java32 import com.android.tradefed.log.ILeveledLogOutput;
58 private ILeveledLogOutput mMockLogger;
74 mMockLogger = EasyMock.createMock(ILeveledLogOutput.class); in setUp()
DTestInvocationTest.java57 import com.android.tradefed.log.ILeveledLogOutput;
140 private ILeveledLogOutput mMockLogger;
165 mMockLogger = EasyMock.createMock(ILeveledLogOutput.class); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationTest.java28 import com.android.tradefed.log.ILeveledLogOutput;
253 final ILeveledLogOutput logger = EasyMock.createMock(ILeveledLogOutput.class); in testGetLogOutput()
DConfigurationFactoryTest.java21 import com.android.tradefed.log.ILeveledLogOutput;
314 ILeveledLogOutput logger = config.getLogOutput(); in testCreateConfigurationFromArgs()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DTestInvocation.java34 import com.android.tradefed.log.ILeveledLogOutput;
466 private void reportHostLog(ITestInvocationListener listener, ILeveledLogOutput logger) { in reportHostLog()