/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | InvocationSummaryHelper.java | 33 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()
|
D | ResultForwarder.java | 47 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()
|
D | LogSaverResultForwarder.java | 31 List<ITestInvocationListener> listeners) { in LogSaverResultForwarder() argument 32 super(listeners); in LogSaverResultForwarder() 34 for (ITestInvocationListener listener : listeners) { in LogSaverResultForwarder()
|
D | RetryResultForwarder.java | 23 public RetryResultForwarder(int attemptNumber, ITestInvocationListener... listeners) { in RetryResultForwarder() argument 24 super(listeners); in RetryResultForwarder()
|
D | ResultAndLogForwarder.java | 27 public ResultAndLogForwarder(List<ITestInvocationListener> listeners) { in ResultAndLogForwarder() argument 28 super(listeners); in ResultAndLogForwarder()
|
D | FilteredResultForwarder.java | 33 Collection<TestDescription> allowedTests, ITestInvocationListener... listeners) { in FilteredResultForwarder() argument 34 super(listeners); in FilteredResultForwarder()
|
D | LogcatCrashResultForwarder.java | 49 public LogcatCrashResultForwarder(ITestDevice device, ITestInvocationListener... listeners) { in LogcatCrashResultForwarder() argument 50 super(listeners); in LogcatCrashResultForwarder()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ValidateSuiteConfigHelperTest.java | 137 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()
|
D | AtestRunnerTest.java | 212 List<ITestInvocationListener> listeners = mSpyRunner.createModuleListeners(); in testCreateModuleListener() local 213 assertEquals(1, listeners.size()); in testCreateModuleListener()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | UiAutomatorRunner.java | 303 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()
|
D | JavaCodeCoverageListener.java | 54 ITestDevice device, boolean mergeMeasurements, ITestInvocationListener... listeners) { in JavaCodeCoverageListener() argument 55 super(listeners); in JavaCodeCoverageListener()
|
D | NativeCodeCoverageListener.java | 55 public NativeCodeCoverageListener(ITestDevice device, ITestInvocationListener... listeners) { in NativeCodeCoverageListener() argument 56 super(listeners); in NativeCodeCoverageListener()
|
D | GTestXmlResultParser.java | 66 public GTestXmlResultParser(String testRunName, Collection<ITestInvocationListener> listeners) { in GTestXmlResultParser() argument 68 mTestListeners = new ArrayList<>(listeners); in GTestXmlResultParser()
|
D | PythonUnitTestResultParser.java | 179 Collection<ITestInvocationListener> listeners, String runName) { in PythonUnitTestResultParser() argument 180 mListeners.addAll(listeners); in PythonUnitTestResultParser()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | INativeDevice.java | 486 IRemoteAndroidTestRunner runner, Collection<ITestLifeCycleReceiver> listeners) in runInstrumentationTests() argument 501 IRemoteAndroidTestRunner runner, ITestLifeCycleReceiver... listeners) in runInstrumentationTests() argument 511 Collection<ITestLifeCycleReceiver> listeners) in runInstrumentationTestsAsUser() argument 519 IRemoteAndroidTestRunner runner, int userId, ITestLifeCycleReceiver... listeners) in runInstrumentationTestsAsUser() argument
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | RemoteInvocationExecutionTest.java | 99 List<ITestInvocationListener> listeners = reparse.getTestInvocationListeners(); in testCreateRemoteConfig() local 100 assertEquals(1, listeners.size()); in testCreateRemoteConfig() 101 assertTrue(listeners.get(0) instanceof ProtoResultReporter); in testCreateRemoteConfig()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | AtestRunner.java | 174 List<ITestInvocationListener> listeners = super.createModuleListeners(); in createModuleListeners() local 178 listeners.add(subprocessResult); in createModuleListeners() 180 return listeners; in createModuleListeners()
|
D | GranularRetriableTestWrapper.java | 524 ILogSaver logSaver, List<ITestInvocationListener> listeners) { in RetryLogSaverResultForwarder() argument 525 super(logSaver, listeners); in RetryLogSaverResultForwarder()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ddmlib/ |
D | DefaultRemoteAndroidTestRunner.java | 39 String runName, Collection<ITestRunListener> listeners) { in createParser() argument 40 InstrumentationResultParser parser = super.createParser(runName, listeners); in createParser()
|
D | TestRunToTestInvocationForwarder.java | 49 public TestRunToTestInvocationForwarder(Collection<ITestLifeCycleReceiver> listeners) { in TestRunToTestInvocationForwarder() argument 50 mListeners = listeners; in TestRunToTestInvocationForwarder()
|
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/ |
D | RenderState.kt | 28 val listeners = mutableListOf<() -> Unit>() in <lambda>() constant 36 listeners.forEach { it() } in <lambda>()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/ |
D | RetryRescheduler.java | 375 List<ITestInvocationListener> listeners = originalConfig.getTestInvocationListeners(); in handleExtraResultReporter() local 376 listeners.addAll(retryConfig.getTestInvocationListeners()); in handleExtraResultReporter() 377 originalConfig.setTestInvocationListeners(listeners); in handleExtraResultReporter()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | ShardMasterResultForwarder.java | 59 public ShardMasterResultForwarder(List<ITestInvocationListener> listeners, int expectedShards) { in ShardMasterResultForwarder() argument 60 super(listeners); in ShardMasterResultForwarder()
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | CommandScheduler.java | 473 IScheduledInvocationListener... listeners) { in FreeDeviceHandler() argument 474 super(listeners); in FreeDeviceHandler() 541 ExecutableCommand command, IScheduledInvocationListener... listeners) { in InvocationThread() argument 544 mListeners = listeners; in InvocationThread() 1533 IScheduledInvocationListener... listeners) { in startInvocation() argument 1545 listeners); in startInvocation()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | TestDeviceTest.java | 863 Collection<ITestLifeCycleReceiver> listeners = new ArrayList<>(0); in testRunInstrumentationTests() local 869 mTestDevice.runInstrumentationTests(mockRunner, listeners); in testRunInstrumentationTests() 878 Collection<ITestLifeCycleReceiver> listeners = new ArrayList<>(1); in testRunInstrumentationTests_recoveryFails() local 880 listeners.add(listener); in testRunInstrumentationTests_recoveryFails() 891 mRecoveryTestDevice.runInstrumentationTests(mockRunner, listeners); in testRunInstrumentationTests_recoveryFails() 904 Collection<ITestLifeCycleReceiver> listeners = new ArrayList<>(1); in testRunInstrumentationTests_recoverySucceeds() local 906 listeners.add(listener); in testRunInstrumentationTests_recoverySucceeds() 915 mTestDevice.runInstrumentationTests(mockRunner, listeners); in testRunInstrumentationTests_recoverySucceeds() 2673 Collection<ITestLifeCycleReceiver> listeners = new ArrayList<>(); in testrunInstrumentationTestsAsUser_failed() local 2676 mTestDevice.runInstrumentationTestsAsUser(mockRunner, 12, listeners); in testrunInstrumentationTestsAsUser_failed()
|