Home
last modified time | relevance | path

Searched refs:collectors (Results 1 – 18 of 18) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DValidateSuiteConfigHelperTest.java159 List<IMetricCollector> collectors = new ArrayList<>(); in testMetricCollectors() local
160 collectors.add(new BaseDeviceMetricCollector()); in testMetricCollectors()
161 config.setDeviceMetricCollectors(collectors); in testMetricCollectors()
177 List<IMetricCollector> collectors = new ArrayList<>(); in testMetricCollectorsForPerformanceModule() local
178 collectors.add(new BaseDeviceMetricCollector()); in testMetricCollectorsForPerformanceModule()
179 config.setDeviceMetricCollectors(collectors); in testMetricCollectorsForPerformanceModule()
192 List<IMetricCollector> collectors = new ArrayList<>(); in testMetricCollectors_exempted() local
193 collectors.add(new FilePullerLogCollector()); in testMetricCollectors_exempted()
194 config.setDeviceMetricCollectors(collectors); in testMetricCollectors_exempted()
DGranularRetriableTestWrapperTest.java304 IRemoteTest test, int maxRunCount, List<IMetricCollector> collectors) throws Exception { in createGranularTestWrapper() argument
305 return createGranularTestWrapper(test, maxRunCount, collectors, null); in createGranularTestWrapper()
311 List<IMetricCollector> collectors, in createGranularTestWrapper() argument
318 granularTestWrapper.setMetricCollectors(collectors); in createGranularTestWrapper()
843 List<IMetricCollector> collectors = new ArrayList<>(); in testIntraModuleRun_runAnyFailure() local
848 collectors.add(notCalledCollector); in testIntraModuleRun_runAnyFailure()
851 collectors.add(calledCollector); in testIntraModuleRun_runAnyFailure()
865 createGranularTestWrapper(test, 7, collectors); in testIntraModuleRun_runAnyFailure()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DMockInstrumentationTest.java54 public void setMetricCollectors(List<IMetricCollector> collectors) { in setMetricCollectors() argument
55 super.setMetricCollectors(collectors); in setMetricCollectors()
56 mCollectors = collectors; in setMetricCollectors()
DInstalledInstrumentationsTestTest.java335 List<IMetricCollector> collectors = new ArrayList<>(); in testRun_withCollectors() local
336 collectors.add(new BaseDeviceMetricCollector()); in testRun_withCollectors()
337 mInstalledInstrTest.setMetricCollectors(collectors); in testRun_withCollectors()
DInstrumentationTestTest.java1094 List<IMetricCollector> collectors = new ArrayList<>(); in testRun_withCollectors() local
1100 collectors.add(notCalledCollector); in testRun_withCollectors()
1101 collectors.add(calledCollector); in testRun_withCollectors()
1102 mInstrumentationTest.setMetricCollectors(collectors); in testRun_withCollectors()
/tools/tradefederation/core/src/com/android/tradefed/monitoring/
DLabResourceDeviceMonitor.java120 List<IResourceMetricCollector> collectors = in loadMetricCollectors() local
122 if (collectors != null) { in loadMetricCollectors()
123 mMetricCollectors.addAll(collectors); in loadMetricCollectors()
301 MonitoredEntity buildMonitoredHost(Collection<IResourceMetricCollector> collectors) { in buildMonitoredHost() argument
324 for (IResourceMetricCollector collector : collectors) { in buildMonitoredHost()
349 DeviceDescriptor descriptor, Collection<IResourceMetricCollector> collectors) { in buildMonitoredDevice() argument
378 for (IResourceMetricCollector collector : collectors) { in buildMonitoredDevice()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DIMetricCollectorReceiver.java52 public void setMetricCollectors(List<IMetricCollector> collectors); in setMetricCollectors() argument
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DInstalledInstrumentationsTest.java392 List<IMetricCollector> collectors = in buildTests() local
404 t.setMetricCollectors(collectors); in buildTests()
528 public void setMetricCollectors(List<IMetricCollector> collectors) { in setMetricCollectors() argument
529 mMetricCollectorList = collectors; in setMetricCollectors()
DInstrumentationTest.java1294 public void setMetricCollectors(List<IMetricCollector> collectors) { in setMetricCollectors() argument
1295 mCollectors = collectors; in setMetricCollectors()
/tools/tradefederation/core/test_framework/
DREADME.md12 * Utilities specific to the tests, preparers or collectors
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/
DInvocationExecutionTest.java176 public void setMetricCollectors(List<IMetricCollector> collectors) { in setMetricCollectors() argument
177 mCollectors = collectors; in setMetricCollectors()
287 List<IMetricCollector> collectors = new ArrayList<>(); in testRun_metricCollectors() local
288 collectors.add(new TestBaseMetricCollector()); in testRun_metricCollectors()
289 mConfig.setDeviceMetricCollectors(collectors); in testRun_metricCollectors()
304 List<IMetricCollector> collectors = new ArrayList<>(); in testRun_metricCollectors_auto() local
305 mConfig.setDeviceMetricCollectors(collectors); in testRun_metricCollectors_auto()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/test/
DPerformanceTest.java109 Collection<BaseGameQualificationMetricCollector> collectors, in PerformanceTest() argument
116 mCollectors = collectors; in PerformanceTest()
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DTestsPoolPoller.java348 public void setMetricCollectors(List<IMetricCollector> collectors) { in setMetricCollectors() argument
349 mCollectors = collectors; in setMetricCollectors()
/tools/tradefederation/core/src/com/android/tradefed/config/
DIConfiguration.java459 public void setDeviceMetricCollectors(List<IMetricCollector> collectors); in setDeviceMetricCollectors() argument
DConfiguration.java879 public void setDeviceMetricCollectors(List<IMetricCollector> collectors) { in setDeviceMetricCollectors() argument
880 setConfigurationObjectListNoThrow(DEVICE_METRICS_COLLECTOR_TYPE_NAME, collectors); in setDeviceMetricCollectors()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java376 public void setMetricCollectors(List<IMetricCollector> collectors) { in setMetricCollectors() argument
377 if (collectors == null) { in setMetricCollectors()
380 mRunMetricCollectors.addAll(collectors); in setMetricCollectors()
DITestSuite.java1429 public void setMetricCollectors(List<IMetricCollector> collectors) { in setMetricCollectors() argument
1430 mMetricCollectors = collectors; in setMetricCollectors()
/tools/tradefederation/contrib/src/com/android/performance/tests/
DBootTimeTest.java393 public void setMetricCollectors(List<IMetricCollector> collectors) { in setMetricCollectors() argument
394 mCollectors = collectors; in setMetricCollectors()