Home
last modified time | relevance | path

Searched refs:mLogger (Results 1 – 10 of 10) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/log/
DSimpleFileLoggerTest.java52 private SimpleFileLogger mLogger; field in SimpleFileLoggerTest
57 mLogger = new SimpleFileLogger(); in setUp()
58 OptionSetter setter = new OptionSetter(mLogger); in setUp()
64 if (mLogger != null) { in tearDown()
65 mLogger.closeLog(); in tearDown()
72 mLogger.init(); in testPrintLog()
73 mLogger.printLog(LogLevel.DEBUG, LOG_TAG, "debug"); in testPrintLog()
74 mLogger.printLog(LogLevel.INFO, LOG_TAG, "info"); in testPrintLog()
75 mLogger.printLog(LogLevel.WARN, LOG_TAG, "warn"); in testPrintLog()
76 mLogger.printLog(LogLevel.ERROR, LOG_TAG, "error"); in testPrintLog()
[all …]
DHistoryLoggerTest.java34 private HistoryLogger mLogger; field in HistoryLoggerTest
40 if (mLogger != null) { in tearDown()
41 mLogger.closeLog(); in tearDown()
54 mLogger = in testLogEvent()
62 mLogger.init(); in testLogEvent()
63 mLogger.logEvent(LogLevel.INFO, EventType.INVOCATION_END, expectedArgs); in testLogEvent()
74 mLogger = in testLogEvent_nullArgs()
82 mLogger.init(); in testLogEvent_nullArgs()
83 mLogger.logEvent(LogLevel.INFO, EventType.INVOCATION_END, null); in testLogEvent_nullArgs()
/tools/tradefederation/core/javatests/com/android/tradefed/retry/
DResultAggregatorTest.java61 @Mock ILogSaver mLogger; field in ResultAggregatorTest
129 when(mLogger.saveLogData( in testForwarding()
134 when(mLogger.saveLogData( in testForwarding()
144 mAggregator.setLogSaver(mLogger); in testForwarding()
175 inOrderAgg.verify(mAggListener).setLogSaver(mLogger); in testForwarding()
177 inOrder.verify(mDetailedListener).setLogSaver(mLogger); in testForwarding()
267 when(mLogger.saveLogData( in testForwarding_emptyModule()
272 when(mLogger.saveLogData( in testForwarding_emptyModule()
282 mAggregator.setLogSaver(mLogger); in testForwarding_emptyModule()
301 inOrderAgg.verify(mAggListener).setLogSaver(mLogger); in testForwarding_emptyModule()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DActivityStatusChecker.java31 private ITestLogger mLogger; field in ActivityStatusChecker
62 mLogger.testLog("status_checker_front_activity", LogDataType.JPEG, screen); in isFrontActivityLauncher()
76 mLogger = testLogger; in setTestLogger()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DRecoveryLogPreparer.java40 private ITestLogger mLogger; field in RecoveryLogPreparer
44 mLogger = testLogger; in setTestLogger()
64 mLogger.testLog(RECOVERY_LOG_NAME, LogDataType.RECOVERY_MODE_LOG, source); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/result/
DReportPassedTests.java41 private ITestLogger mLogger; field in ReportPassedTests
48 mLogger = logger; in setLogger()
131 if (mLogger == null || mPassedTests == null) { in createPassedLog()
155 mLogger.testLog(PASSED_TEST_LOG, LogDataType.PASSED_TESTS, source); in testLog()
/tools/tradefederation/core/javatests/com/android/tradefed/device/cloud/
DGceSshTunnelMonitorTest.java64 private ITestLogger mLogger; field in GceSshTunnelMonitorTest
83 mLogger = Mockito.mock(ITestLogger.class); in setUp()
89 mMonitor.logSshTunnelLogs(mLogger); in tearDown()
/tools/tradefederation/core/test_observatory/com/android/tradefed/observatory/
DTestDiscoveryInvoker.java78 private ITestLogger mLogger; field in TestDiscoveryInvoker
132 mLogger = logger; in setTestLogger()
272 if (mLogger != null) { in discoverTestDependencies()
273 mLogger.testLog("discovery-trace", LogDataType.PERFETTO, source); in discoverTestDependencies()
398 if (mLogger != null) { in discoverTestMappingDependencies()
399 mLogger.testLog("discovery-trace", LogDataType.PERFETTO, source); in discoverTestMappingDependencies()
/tools/tradefederation/core/javatests/com/android/tradefed/result/
DReportPassedTestsTest.java46 private ITestLogger mLogger; field in ReportPassedTestsTest
64 mLogger = Mockito.mock(ITestLogger.class); in setUp()
65 mReporter.setLogger(mLogger); in setUp()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DRunHostCommandTargetPreparer.java115 private ITestLogger mLogger; field in RunHostCommandTargetPreparer
162 mLogger = testLogger; in setTestLogger()
238 mLogger.testLog(log.getName(), LogDataType.TEXT, log.getInputStreamSource()); in tearDown()