Home
last modified time | relevance | path

Searched refs:collector (Results 1 – 8 of 8) sorted by relevance

/tools/tradefederation/core/proto/
Dcollector.proto13 // Never run this collector.
16 // Run this collector at the start of a test.
19 // Run this collector when the test finishes.
22 // Run this collector when the test fails.
25 // Run this collector when the test crashes.
28 // Run this collector when the test has a tool failure.
31 // Run this collector at the given interval.
36 // Run this collector for the given build targets. If no build targets are
37 // specified, we will run the collector on all build targets.
40 // Run this collector for tests with the given prefix. If no prefices are
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DGranularRetriableTestWrapper.java197 for (IMetricCollector collector : mRunMetricCollectors) { in prepareRunListener()
198 runListener = collector.init(mModuleInvocationContext, runListener); in prepareRunListener()
202 for (IMetricCollector collector : mModuleConfiguration.getMetricCollectors()) { in prepareRunListener()
203 runListener = collector.init(mModuleInvocationContext, runListener); in prepareRunListener()
DValidateSuiteConfigHelper.java113 for (IMetricCollector collector : config.getMetricCollectors()) { in validateConfig()
115 if (!ALLOWED_COLLECTOR_IN_MODULE.contains(collector.getClass().getCanonicalName())) { in validateConfig()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DInstrumentationTest.java845 BugreportCollector collector = new BugreportCollector(listener, getDevice()); in addBugreportListenerIfEnabled() local
846 collector.addPredicate(pred); in addBugreportListenerIfEnabled()
847 listener = collector; in addBugreportListenerIfEnabled()
1017 CollectingTestListener collector = new CollectingTestListener(); in collectTestsAndRetry() local
1022 instrResult = mDevice.runInstrumentationTests(runner, collector); in collectTestsAndRetry()
1024 instrResult = mDevice.runInstrumentationTests(runner, collector, listener); in collectTestsAndRetry()
1026 TestRunResult runResults = collector.getCurrentRunResults(); in collectTestsAndRetry()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DShardHelperTest.java259 BaseDeviceMetricCollector collector = new BaseDeviceMetricCollector(); in testCloneMetricCollector() local
261 createTmpConfig(Configuration.DEVICE_METRICS_COLLECTOR_TYPE_NAME, collector); in testCloneMetricCollector()
269 mConfig.setDeviceMetricCollectors(Arrays.asList(collector)); in testCloneMetricCollector()
290 collector, in testCloneMetricCollector()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java381 for (IMetricCollector collector : clonedCollectors) { in runTests()
382 listenerWithCollectors = collector.init(context, listenerWithCollectors); in runTests()
412 for (IMetricCollector collector : originalCollectors) { in cloneCollectors()
415 IMetricCollector clone = collector.getClass().newInstance(); in cloneCollectors()
416 OptionCopier.copyOptionsNoThrow(collector, clone); in cloneCollectors()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DInvocationExecutionTest.java146 for (IMetricCollector collector : mCollectors) { in run()
147 collector.init(new InvocationContext(), new ITestInvocationListener() {}); in run()
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfiguration.java1303 for (IMetricCollector collector : getMetricCollectors()) { in dumpXml()
1305 serializer, DEVICE_METRICS_COLLECTOR_TYPE_NAME, collector, excludeFilters); in dumpXml()