/tools/tradefederation/core/src/com/android/tradefed/result/ |
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 | 37 List<ITestInvocationListener> listeners) { in LogSaverResultForwarder() argument 38 super(listeners); in LogSaverResultForwarder() 40 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()
|
/tools/tradefederation/core/invocation_interfaces/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()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | NativeCodeCoverageListener.java | 70 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()
|
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 | PythonUnitTestResultParser.java | 187 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()
|
D | GTestListener.java | 40 public GTestListener(ITestInvocationListener... listeners) { in GTestListener() argument 41 super(listeners); in GTestListener()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/ |
D | MoblyYamlResultParser.java | 82 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/ |
D | ValidateSuiteConfigHelperTest.java | 129 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/ |
D | INativeDevice.java | 538 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/ |
D | TestDeviceTest.java | 877 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/ |
D | ResultAggregator.java | 78 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()
|
D | RetryLogSaverResultForwarder.java | 30 ILogSaver logSaver, List<ITestInvocationListener> listeners) { in RetryLogSaverResultForwarder() argument 31 super(logSaver, listeners); in RetryLogSaverResultForwarder()
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | CommandScheduler.java | 480 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/ |
D | AutomatedReporters.java | 55 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/ |
D | NativeDevice.java | 888 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/ |
D | RemoteInvocationExecutionTest.java | 103 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/ |
D | ConfigurationYamlParserTest.java | 103 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/ |
D | AtestRunner.java | 207 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/ |
D | RetryRescheduler.java | 414 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/ |
D | DefaultRemoteAndroidTestRunner.java | 40 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/ |
D | RenderState.kt | 28 val listeners = mutableListOf<() -> Unit>() in <lambda>() constant 36 listeners.forEach { it() } in <lambda>()
|