Home
last modified time | relevance | path

Searched refs:listeners (Results 1 – 25 of 46) sorted by relevance

12

/tools/tradefederation/core/src/com/android/tradefed/result/
DResultForwarder.java47 public ResultForwarder(List<ITestInvocationListener> listeners) { in ResultForwarder() argument
48 mListeners = listeners; in ResultForwarder()
56 public ResultForwarder(ITestInvocationListener... listeners) { in ResultForwarder() argument
57 mListeners = Arrays.asList(listeners); in ResultForwarder()
65 protected void setListeners(List<ITestInvocationListener> listeners) { in setListeners() argument
66 mListeners = listeners; in setListeners()
74 protected void setListeners(ITestInvocationListener... listeners) { in setListeners() argument
75 mListeners = Arrays.asList(listeners); in setListeners()
DLogSaverResultForwarder.java37 List<ITestInvocationListener> listeners) { in LogSaverResultForwarder() argument
38 super(listeners); in LogSaverResultForwarder()
40 for (ITestInvocationListener listener : listeners) { in LogSaverResultForwarder()
DRetryResultForwarder.java23 public RetryResultForwarder(int attemptNumber, ITestInvocationListener... listeners) { in RetryResultForwarder() argument
24 super(listeners); in RetryResultForwarder()
DResultAndLogForwarder.java27 public ResultAndLogForwarder(List<ITestInvocationListener> listeners) { in ResultAndLogForwarder() argument
28 super(listeners); in ResultAndLogForwarder()
DFilteredResultForwarder.java33 Collection<TestDescription> allowedTests, ITestInvocationListener... listeners) { in FilteredResultForwarder() argument
34 super(listeners); in FilteredResultForwarder()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/
DInvocationSummaryHelper.java33 List<ITestInvocationListener> listeners, IInvocationContext context) { in reportInvocationStarted() argument
34 List<TestSummary> summaries = new ArrayList<TestSummary>(listeners.size()); in reportInvocationStarted()
35 for (ITestInvocationListener listener : listeners) { in reportInvocationStarted()
58 public static void reportInvocationEnded(List<ITestInvocationListener> listeners, in reportInvocationEnded() argument
60 List<TestSummary> summaries = new ArrayList<TestSummary>(listeners.size()); in reportInvocationEnded()
61 for (ITestInvocationListener listener : listeners) { in reportInvocationEnded()
89 for (ITestInvocationListener listener : listeners) { in reportInvocationEnded()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DNativeCodeCoverageListener.java70 public NativeCodeCoverageListener(ITestDevice device, ITestInvocationListener... listeners) { in NativeCodeCoverageListener() argument
71 super(listeners); in NativeCodeCoverageListener()
80 ITestInvocationListener... listeners) { in NativeCodeCoverageListener() argument
81 super(listeners); in NativeCodeCoverageListener()
DUiAutomatorRunner.java303 public void run(ITestRunListener... listeners) throws TimeoutException, in run() argument
305 run(Arrays.asList(listeners)); in run()
312 public void run(Collection<ITestRunListener> listeners) throws TimeoutException, in run() argument
317 mParser = new InstrumentationResultParser(runName, listeners); in run()
DPythonUnitTestResultParser.java187 Collection<ITestInvocationListener> listeners, String runName) { in PythonUnitTestResultParser() argument
188 this(listeners, runName, new LinkedHashSet<>(), new LinkedHashSet<>()); in PythonUnitTestResultParser()
196 Collection<ITestInvocationListener> listeners, in PythonUnitTestResultParser() argument
200 mListeners.addAll(listeners); in PythonUnitTestResultParser()
DGTestListener.java40 public GTestListener(ITestInvocationListener... listeners) { in GTestListener() argument
41 super(listeners); in GTestListener()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/
DMoblyYamlResultParser.java82 List<ITestInvocationListener> listeners, in reportToListeners() argument
84 for (ITestInvocationListener listener : listeners) { in reportToListeners()
103 for (ITestInvocationListener listener : listeners) { in reportToListeners()
134 for (ITestInvocationListener listener : listeners) { in reportToListeners()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DValidateSuiteConfigHelperTest.java129 List<ITestInvocationListener> listeners = new ArrayList<>(); in testNotRunningAsSuite_multi_resultReporter() local
130 listeners.add(new TextResultReporter()); in testNotRunningAsSuite_multi_resultReporter()
131 listeners.add(new CollectingTestListener()); in testNotRunningAsSuite_multi_resultReporter()
132 config.setTestInvocationListeners(listeners); in testNotRunningAsSuite_multi_resultReporter()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DINativeDevice.java538 IRemoteAndroidTestRunner runner, Collection<ITestLifeCycleReceiver> listeners) in runInstrumentationTests() argument
553 IRemoteAndroidTestRunner runner, ITestLifeCycleReceiver... listeners) in runInstrumentationTests() argument
563 Collection<ITestLifeCycleReceiver> listeners) in runInstrumentationTestsAsUser() argument
571 IRemoteAndroidTestRunner runner, int userId, ITestLifeCycleReceiver... listeners) in runInstrumentationTestsAsUser() argument
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceTest.java877 Collection<ITestLifeCycleReceiver> listeners = new ArrayList<>(0); in testRunInstrumentationTests() local
883 mTestDevice.runInstrumentationTests(mockRunner, listeners); in testRunInstrumentationTests()
892 Collection<ITestLifeCycleReceiver> listeners = new ArrayList<>(1); in testRunInstrumentationTests_recoveryFails() local
894 listeners.add(listener); in testRunInstrumentationTests_recoveryFails()
905 mRecoveryTestDevice.runInstrumentationTests(mockRunner, listeners); in testRunInstrumentationTests_recoveryFails()
918 Collection<ITestLifeCycleReceiver> listeners = new ArrayList<>(1); in testRunInstrumentationTests_recoverySucceeds() local
920 listeners.add(listener); in testRunInstrumentationTests_recoverySucceeds()
929 mTestDevice.runInstrumentationTests(mockRunner, listeners); in testRunInstrumentationTests_recoverySucceeds()
2799 Collection<ITestLifeCycleReceiver> listeners = new ArrayList<>(); in testrunInstrumentationTestsAsUser_failed() local
2802 mTestDevice.runInstrumentationTestsAsUser(mockRunner, 12, listeners); in testrunInstrumentationTestsAsUser_failed()
/tools/tradefederation/core/src/com/android/tradefed/retry/
DResultAggregator.java78 public ResultAggregator(List<ITestInvocationListener> listeners, RetryStrategy strategy) { in ResultAggregator() argument
79 mAllForwarder = new ResultAndLogForwarder(listeners); in ResultAggregator()
82 listeners in ResultAggregator()
91 listeners in ResultAggregator()
DRetryLogSaverResultForwarder.java30 ILogSaver logSaver, List<ITestInvocationListener> listeners) { in RetryLogSaverResultForwarder() argument
31 super(logSaver, listeners); in RetryLogSaverResultForwarder()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java480 IScheduledInvocationListener... listeners) { in FreeDeviceHandler() argument
481 super(listeners); in FreeDeviceHandler()
559 ExecutableCommand command, IScheduledInvocationListener... listeners) { in InvocationThread() argument
562 mListeners = listeners; in InvocationThread()
1647 IScheduledInvocationListener... listeners) { in startInvocation() argument
1665 listeners); in startInvocation()
/tools/tradefederation/core/src/com/android/tradefed/config/proxy/
DAutomatedReporters.java55 List<ITestInvocationListener> listeners = in applyAutomatedReporters() local
57 listeners.add(reporter); in applyAutomatedReporters()
58 configuration.setTestInvocationListeners(listeners); in applyAutomatedReporters()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java888 final Collection<ITestLifeCycleReceiver> listeners) in runInstrumentationTests() argument
893 runListeners.add(new TestRunToTestInvocationForwarder(listeners)); in runInstrumentationTests()
923 final Collection<ITestLifeCycleReceiver> listeners) in runInstrumentationTestsAsUser() argument
926 boolean result = runInstrumentationTests(runner, listeners); in runInstrumentationTestsAsUser()
986 IRemoteAndroidTestRunner runner, ITestLifeCycleReceiver... listeners) in runInstrumentationTests() argument
989 listenerList.addAll(Arrays.asList(listeners)); in runInstrumentationTests()
996 IRemoteAndroidTestRunner runner, int userId, ITestLifeCycleReceiver... listeners) in runInstrumentationTestsAsUser() argument
999 boolean result = runInstrumentationTests(runner, listeners); in runInstrumentationTestsAsUser()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DRemoteInvocationExecutionTest.java103 List<ITestInvocationListener> listeners = reparse.getTestInvocationListeners(); in testCreateRemoteConfig() local
104 assertEquals(1, listeners.size()); in testCreateRemoteConfig()
105 assertTrue(listeners.get(0) instanceof ProtoResultReporter); in testCreateRemoteConfig()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/yaml/
DConfigurationYamlParserTest.java103 List<ITestInvocationListener> listeners = config.getTestInvocationListeners(); in testParseConfig() local
104 assertTrue(listeners.get(0) instanceof SuiteResultReporter); in testParseConfig()
142 List<ITestInvocationListener> listeners = config.getTestInvocationListeners(); in testParseModule() local
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/suite/
DAtestRunner.java207 List<ITestInvocationListener> listeners = super.createModuleListeners(); in createModuleListeners() local
211 listeners.add(subprocessResult); in createModuleListeners()
213 return listeners; in createModuleListeners()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/
DRetryRescheduler.java414 List<ITestInvocationListener> listeners = originalConfig.getTestInvocationListeners(); in handleExtraResultReporter() local
415 listeners.addAll(retryConfig.getTestInvocationListeners()); in handleExtraResultReporter()
416 originalConfig.setTestInvocationListeners(listeners); in handleExtraResultReporter()
/tools/tradefederation/core/src/com/android/tradefed/result/ddmlib/
DDefaultRemoteAndroidTestRunner.java40 String runName, Collection<ITestRunListener> listeners) { in createParser() argument
42 (InstrumentationResultParser) super.createParser(runName, listeners); in createParser()
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/
DRenderState.kt28 val listeners = mutableListOf<() -> Unit>() in <lambda>() constant
36 listeners.forEach { it() } in <lambda>()

12