Home
last modified time | relevance | path

Searched refs:ILogSaverListener (Results 1 – 25 of 38) sorted by relevance

12

/tools/asuite/atest/bazel/runner/src/com/android/tradefed/testtype/bazel/
DTestListeners.java19 import com.android.tradefed.result.ILogSaverListener;
39 if (!(listener instanceof ILogSaverListener)) { in testLogSaved()
43 ((ILogSaverListener) listener).testLogSaved(dataName, dataType, dataStream, logFile); in testLogSaved()
47 if (!(listener instanceof ILogSaverListener)) { in logAssociation()
51 ((ILogSaverListener) listener).logAssociation(dataName, logFile); in logAssociation()
55 if (!(listener instanceof ILogSaverListener)) { in setLogSaver()
59 ((ILogSaverListener) listener).setLogSaver(logSaver); in setLogSaver()
DNullTestListener.java24 import com.android.tradefed.result.ILogSaverListener;
34 abstract class NullTestListener implements ILogSaverListener {
DForwardingTestListener.java25 import com.android.tradefed.result.ILogSaverListener;
39 abstract class ForwardingTestListener implements ILogSaverListener, ISupportGranularResults {
/tools/tradefederation/core/src/com/android/tradefed/result/
DResultAndLogForwarder.java24 public class ResultAndLogForwarder extends ResultForwarder implements ILogSaverListener {
50 if (listener instanceof ILogSaverListener) { in testLogSaved()
51 ((ILogSaverListener) listener) in testLogSaved()
66 if (listener instanceof ILogSaverListener) { in logAssociation()
67 ((ILogSaverListener) listener).logAssociation(dataName, logFile); in logAssociation()
81 if (listener instanceof ILogSaverListener) { in setLogSaver()
82 ((ILogSaverListener) listener).setLogSaver(logSaver); in setLogSaver()
DLogSaverResultForwarder.java35 public class LogSaverResultForwarder extends ResultForwarder implements ILogSaverListener {
44 if (listener instanceof ILogSaverListener) { in LogSaverResultForwarder()
45 ((ILogSaverListener) listener).setLogSaver(mLogSaver); in LogSaverResultForwarder()
93 if (listener instanceof ILogSaverListener) { in logFile()
94 ((ILogSaverListener) listener).testLogSaved(name, type, source, logFile); in logFile()
95 ((ILogSaverListener) listener).logAssociation(name, logFile); in logFile()
172 if (listener instanceof ILogSaverListener) { in testLog()
173 ((ILogSaverListener) listener).testLogSaved(dataName, dataType, in testLog()
175 ((ILogSaverListener) listener).logAssociation(dataName, logFile); in testLog()
201 if (listener instanceof ILogSaverListener) { in testLogSaved()
[all …]
DTextResultReporter.java32 implements ITestInvocationListener, ILogSaverListener {
DEventsLoggerListener.java30 public class EventsLoggerListener implements ILogSaverListener {
DXmlResultReporter.java48 public class XmlResultReporter extends CollectingTestListener implements ILogSaverListener {
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DShardListener.java23 import com.android.tradefed.result.ILogSaverListener;
152 if (mMainListener instanceof ILogSaverListener) { in testLogSaved()
153 ((ILogSaverListener) mMainListener) in testLogSaved()
325 if (listener instanceof ILogSaverListener) { in forwardLogAssociation()
326 ((ILogSaverListener) listener).logAssociation(key, logFile); in forwardLogAssociation()
336 if (listener instanceof ILogSaverListener) { in forwardLogAssociation()
337 ((ILogSaverListener) listener).logAssociation(logFile.getKey(), logFile.getValue()); in forwardLogAssociation()
DShardMainResultForwarder.java25 import com.android.tradefed.result.ILogSaverListener;
52 public class ShardMainResultForwarder extends ResultForwarder implements ILogSaverListener {
174 if (listener instanceof ILogSaverListener) { in testLogSaved()
175 ((ILogSaverListener) listener) in testLogSaved()
212 if (listener instanceof ILogSaverListener) { in logAssociation()
213 ((ILogSaverListener) listener).logAssociation(dataName, logFile); in logAssociation()
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/
DIPostProcessor.java19 import com.android.tradefed.result.ILogSaverListener;
36 public interface IPostProcessor extends ITestInvocationListener, ILogSaverListener, IDisableable {
DBasePostProcessor.java30 import com.android.tradefed.result.ILogSaverListener;
384 if (mForwarder instanceof ILogSaverListener) { in setLogSaver()
385 ((ILogSaverListener) mForwarder).setLogSaver(logSaver); in setLogSaver()
395 if (mForwarder instanceof ILogSaverListener) { in testLogSaved()
396 ((ILogSaverListener) mForwarder).testLogSaved(dataName, dataType, dataStream, logFile); in testLogSaved()
422 if (mForwarder instanceof ILogSaverListener) { in logAssociation()
423 ((ILogSaverListener) mForwarder).logAssociation(dataName, logFile); in logAssociation()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleListener.java25 import com.android.tradefed.result.ILogSaverListener;
288 if (mMainListener instanceof ILogSaverListener) { in testLogSaved()
289 ((ILogSaverListener) mMainListener) in testLogSaved()
301 if (mMainListener instanceof ILogSaverListener) { in logAssociation()
302 ((ILogSaverListener) mMainListener).logAssociation(dataName, logFile); in logAssociation()
DModuleDefinition.java58 import com.android.tradefed.result.ILogSaverListener;
907 if (listener instanceof ILogSaverListener) { in reportFinalResults()
908 ((ILogSaverListener) listener).logAssociation(key, logFile); in reportFinalResults()
951 if (listener instanceof ILogSaverListener) { in forwardTestResults()
952 ((ILogSaverListener) listener) in forwardTestResults()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DIMetricCollector.java23 import com.android.tradefed.result.ILogSaverListener;
43 public interface IMetricCollector extends ILogSaverListener, IDisableable {
DBaseDeviceMetricCollector.java34 import com.android.tradefed.result.ILogSaverListener;
596 if (mForwarder instanceof ILogSaverListener) { in setLogSaver()
597 ((ILogSaverListener) mForwarder).setLogSaver(logSaver); in setLogSaver()
606 if (mForwarder instanceof ILogSaverListener) { in logAssociation()
607 ((ILogSaverListener) mForwarder).logAssociation(dataName, logFile); in logAssociation()
617 if (mForwarder instanceof ILogSaverListener) { in testLogSaved()
618 ((ILogSaverListener) mForwarder).testLogSaved(dataName, dataType, dataStream, logFile); in testLogSaved()
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DSubprocessTestResultsParserTest.java33 import com.android.tradefed.result.ILogSaverListener;
486 ILogSaverListener mockRunListener = mock(ILogSaverListener.class); in testParse_logAssociation()
520 ILogSaverListener mockRunListener = mock(ILogSaverListener.class); in testParse_logAssociation_notUploaded()
553 ILogSaverListener mockRunListener = mock(ILogSaverListener.class); in testParse_avoidDoubleLog()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/
DILogSaverListener.java32 public interface ILogSaverListener extends ITestInvocationListener { interface
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/
DResultsPlayer.java30 import com.android.tradefed.result.ILogSaverListener;
209 if (listener instanceof ILogSaverListener) { in forwardTestResults()
210 ((ILogSaverListener) listener) in forwardTestResults()
/tools/tradefederation/core/src/com/android/tradefed/retry/
DResultAggregator.java27 import com.android.tradefed.result.ILogSaverListener;
500 if (listener instanceof ILogSaverListener) { in forwardTestResults()
501 ((ILogSaverListener) listener) in forwardTestResults()
515 private void forwardTestRunResults(List<TestRunResult> results, ILogSaverListener listener) { in forwardTestRunResults()
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/
DShardListenerTest.java27 import com.android.tradefed.result.ILogSaverListener;
49 @Mock ILogSaverListener mMockListener;
279 ILogSaverListener mockListener = mock(ILogSaverListener.class); in testLogOrderingForSharding()
DShardMainResultForwarderTest.java29 import com.android.tradefed.result.ILogSaverListener;
159 public interface LogListenerTestInterface extends ITestInvocationListener, ILogSaverListener {}
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultParser.java33 import com.android.tradefed.result.ILogSaverListener;
615 if (!(mListener instanceof ILogSaverListener)) { in handleLogs()
618 ILogSaverListener logger = (ILogSaverListener) mListener; in handleLogs()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/reporter/
DGameQualificationResultReporter.java29 import com.android.tradefed.result.ILogSaverListener;
48 …class GameQualificationResultReporter extends CollectingTestListener implements ILogSaverListener {
/tools/tradefederation/core/src/com/android/tradefed/util/
DSubprocessTestResultsParser.java30 import com.android.tradefed.result.ILogSaverListener;
585 if (mListener instanceof ILogSaverListener) { in handleEvent()
586 ((ILogSaverListener) mListener).logAssociation(name, assosInfo.mLoggedFile); in handleEvent()

12