Home
last modified time | relevance | path

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

/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()
DLogcatCrashResultForwarder.java45 public LogcatCrashResultForwarder(ITestDevice device, ITestInvocationListener... listeners) { in LogcatCrashResultForwarder() argument
46 super(listeners); in LogcatCrashResultForwarder()
/tools/tradefederation/core/src/com/android/tradefed/result/ddmlib/
DDefaultRemoteAndroidTestRunner.java39 String runName, Collection<ITestRunListener> listeners) { in createParser() argument
40 InstrumentationResultParser parser = super.createParser(runName, listeners); in createParser()
DTestRunToTestInvocationForwarder.java39 public TestRunToTestInvocationForwarder(Collection<ITestLifeCycleReceiver> listeners) { in TestRunToTestInvocationForwarder() argument
40 mListeners = listeners; in TestRunToTestInvocationForwarder()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DCodeCoverageListener.java45 public CodeCoverageListener(ITestDevice device, ITestInvocationListener... listeners) { in CodeCoverageListener() argument
46 super(listeners); in CodeCoverageListener()
DUiAutomatorRunner.java293 public void run(ITestRunListener... listeners) throws TimeoutException, in run() argument
295 run(Arrays.asList(listeners)); in run()
302 public void run(Collection<ITestRunListener> listeners) throws TimeoutException, in run() argument
307 mParser = new InstrumentationResultParser(runName, listeners); in run()
DGTestXmlResultParser.java64 public GTestXmlResultParser(String testRunName, Collection<ITestInvocationListener> listeners) { in GTestXmlResultParser() argument
66 mTestListeners = new ArrayList<>(listeners); in GTestXmlResultParser()
DPythonUnitTestResultParser.java151 Collection<ITestInvocationListener> listeners, String runName) { in PythonUnitTestResultParser() argument
152 mListeners = listeners; in PythonUnitTestResultParser()
DGTestResultParser.java220 public GTestResultParser(String testRunName, Collection<ITestInvocationListener> listeners) { in GTestResultParser() argument
222 mTestListeners = new ArrayList<>(listeners); in GTestResultParser()
DCodeCoverageTestBase.java484 public CoverageCollectingListener(ITestDevice device, ITestInvocationListener... listeners) in CoverageCollectingListener() argument
486 super(listeners); in CoverageCollectingListener()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DValidateSuiteConfigHelperTest.java137 List<ITestInvocationListener> listeners = new ArrayList<>(); in testNotRunningAsSuite_multi_resultReporter() local
138 listeners.add(new TextResultReporter()); in testNotRunningAsSuite_multi_resultReporter()
139 listeners.add(new CollectingTestListener()); in testNotRunningAsSuite_multi_resultReporter()
140 config.setTestInvocationListeners(listeners); in testNotRunningAsSuite_multi_resultReporter()
DAtestRunnerTest.java203 List<ITestInvocationListener> listeners = mSpyRunner.createModuleListeners(); in testCreateModuleListener() local
204 assertEquals(1, listeners.size()); in testCreateModuleListener()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DAtestRunner.java171 List<ITestInvocationListener> listeners = super.createModuleListeners(); in createModuleListeners() local
175 listeners.add(subprocessResult); in createModuleListeners()
177 return listeners; in createModuleListeners()
/tools/tradefederation/core/src/com/android/tradefed/device/
DINativeDevice.java422 IRemoteAndroidTestRunner runner, Collection<ITestLifeCycleReceiver> listeners) in runInstrumentationTests() argument
437 IRemoteAndroidTestRunner runner, ITestLifeCycleReceiver... listeners) in runInstrumentationTests() argument
447 Collection<ITestLifeCycleReceiver> listeners) in runInstrumentationTestsAsUser() argument
455 IRemoteAndroidTestRunner runner, int userId, ITestLifeCycleReceiver... listeners) in runInstrumentationTestsAsUser() argument
DNativeDevice.java709 final Collection<ITestLifeCycleReceiver> listeners) in runInstrumentationTests() argument
714 runListeners.add(new TestRunToTestInvocationForwarder(listeners)); in runInstrumentationTests()
744 final Collection<ITestLifeCycleReceiver> listeners) in runInstrumentationTestsAsUser() argument
747 boolean result = runInstrumentationTests(runner, listeners); in runInstrumentationTestsAsUser()
805 IRemoteAndroidTestRunner runner, ITestLifeCycleReceiver... listeners) in runInstrumentationTests() argument
808 listenerList.addAll(Arrays.asList(listeners)); in runInstrumentationTests()
815 IRemoteAndroidTestRunner runner, int userId, ITestLifeCycleReceiver... listeners) in runInstrumentationTestsAsUser() argument
818 boolean result = runInstrumentationTests(runner, listeners); in runInstrumentationTestsAsUser()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DShardMasterResultForwarder.java60 public ShardMasterResultForwarder(List<ITestInvocationListener> listeners, int expectedShards) { in ShardMasterResultForwarder() argument
61 super(listeners); in ShardMasterResultForwarder()
DTestInvocation.java127 public ResumeResultForwarder(List<ITestInvocationListener> listeners, in ResumeResultForwarder() argument
129 super(listeners); in ResumeResultForwarder()
/tools/tradefederation/core/src/com/android/tradefed/config/
DIConfiguration.java360 public void setTestInvocationListeners(List<ITestInvocationListener> listeners); in setTestInvocationListeners() argument
DConfiguration.java661 public void setTestInvocationListeners(List<ITestInvocationListener> listeners) { in setTestInvocationListeners() argument
662 setConfigurationObjectListNoThrow(RESULT_REPORTER_TYPE_NAME, listeners); in setTestInvocationListeners()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DCodeCoverageTestBaseTest.java877 public void run(Collection<ITestRunListener> listeners) {
884 listeners.stream().forEach(l -> l.testRunStarted(getPackageName(), tests.size()));
888 listeners
891 listeners
911 listeners.stream().forEach(l -> l.testRunEnded(TEST_RUN_TIME, metrics));
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceTest.java845 Collection<ITestLifeCycleReceiver> listeners = new ArrayList<>(0); in testRunInstrumentationTests() local
851 mTestDevice.runInstrumentationTests(mockRunner, listeners); in testRunInstrumentationTests()
860 Collection<ITestLifeCycleReceiver> listeners = new ArrayList<>(1); in testRunInstrumentationTests_recoveryFails() local
862 listeners.add(listener); in testRunInstrumentationTests_recoveryFails()
873 mRecoveryTestDevice.runInstrumentationTests(mockRunner, listeners); in testRunInstrumentationTests_recoveryFails()
886 Collection<ITestLifeCycleReceiver> listeners = new ArrayList<>(1); in testRunInstrumentationTests_recoverySucceeds() local
888 listeners.add(listener); in testRunInstrumentationTests_recoverySucceeds()
897 mTestDevice.runInstrumentationTests(mockRunner, listeners); in testRunInstrumentationTests_recoverySucceeds()
2196 Collection<ITestLifeCycleReceiver> listeners = new ArrayList<>(); in testrunInstrumentationTestsAsUser_failed() local
2199 mTestDevice.runInstrumentationTestsAsUser(mockRunner, 12, listeners); in testrunInstrumentationTestsAsUser_failed()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerFuncTest.java214 ITestInvocationListener... listeners) in invoke() argument
474 ITestInvocationListener... listeners) in invoke() argument