Home
last modified time | relevance | path

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

/tools/test/graphicsbenchmark/performance_tests/hostside/test/com/android/game/qualification/metric/
DBaseGameQualificationMetricCollectorTest.java29 … BaseGameQualificationMetricCollector collector = new BaseGameQualificationMetricCollector() { in onTestStartHasErrorOnException() local
36 collector.onTestStart(null); in onTestStartHasErrorOnException()
39 assertTrue(collector.hasError()); in onTestStartHasErrorOnException()
40 assertEquals("foo", collector.getErrorMessage()); in onTestStartHasErrorOnException()
46 … BaseGameQualificationMetricCollector collector = new BaseGameQualificationMetricCollector() { in onTestEndHasErrorOnException() local
53 collector.onTestEnd(null, null); in onTestEndHasErrorOnException()
56 assertTrue(collector.hasError()); in onTestEndHasErrorOnException()
57 assertEquals("foo", collector.getErrorMessage()); in onTestEndHasErrorOnException()
DGameQualificationScheduledMetricCollectorTest.java32 GameQualificationScheduledMetricCollector collector = in checkConcurrency() local
63 collector.mIntervalMs = 1; in checkConcurrency()
64 collector.enable(); in checkConcurrency()
66 collector.onTestStart(null); in checkConcurrency()
67 collector.onTestEnd(null, null); in checkConcurrency()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/helper/
DTelephonyHelperTest.java69 ITestInvocationListener collector = in testGetSimInfo()
71 collector.testRunStarted("android.telephony.utility", 1); in testGetSimInfo()
72 collector.testStarted(TelephonyHelper.SIM_TEST); in testGetSimInfo()
78 collector.testEnded(TelephonyHelper.SIM_TEST, testMetrics); in testGetSimInfo()
79 collector.testRunEnded(500L, new HashMap<String, Metric>()); in testGetSimInfo()
118 ITestInvocationListener collector = in testGetSimInfo_instrumentationFailed()
120 collector.testRunStarted("android.telephony.utility", 1); in testGetSimInfo_instrumentationFailed()
121 collector.testRunFailed("Couldn't run the instrumentation."); in testGetSimInfo_instrumentationFailed()
122 collector.testRunEnded(500L, new HashMap<String, Metric>()); in testGetSimInfo_instrumentationFailed()
146 ITestInvocationListener collector = in testGetSimInfo_simTest_not_run()
[all …]
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/testtype/
DGameQualificationHostsideController.java171 for (IMetricCollector collector : list) { in setMetricCollectors()
172 if (collector instanceof BaseGameQualificationMetricCollector) { in setMetricCollectors()
173 mAGQMetricCollectors.add((BaseGameQualificationMetricCollector) collector); in setMetricCollectors()
229 for (IMetricCollector collector : mCollectors) { in run()
230 listener = collector.init(mContext, listener); in run()
233 for (BaseGameQualificationMetricCollector collector : mAGQMetricCollectors) { in run()
234 collector.setDevice(getDevice()); in run()
254 for (BaseGameQualificationMetricCollector collector : mAGQMetricCollectors) { in run()
255 collector.setApkInfo(apk); in run()
256 collector.setCertificationRequirements( in run()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DCollectorHelper.java42 for (IMetricCollector collector : originalCollectors) { in cloneCollectors()
46 collector.getClass().getDeclaredConstructor().newInstance(); in cloneCollectors()
47 OptionCopier.copyOptionsNoThrow(collector, clone); in cloneCollectors()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DGranularRetriableTestWrapper.java192 for (IMetricCollector collector : in initializeListeners()
194 if (collector.isDisabled()) { in initializeListeners()
195 CLog.d("%s has been disabled. Skipping.", collector); in initializeListeners()
197 runListener = collector.init(mModuleInvocationContext, runListener); in initializeListeners()
279 for (IMetricCollector collector : clonedCollectors) { in intraModuleRun()
280 if (collector.isDisabled()) { in intraModuleRun()
281 CLog.d("%s has been disabled. Skipping.", collector); in intraModuleRun()
283 runListener = collector.init(mModuleInvocationContext, runListener); in intraModuleRun()
DValidateSuiteConfigHelper.java113 for (IMetricCollector collector : config.getMetricCollectors()) { in validateConfig()
115 if (!ALLOWED_COLLECTOR_IN_MODULE.contains(collector.getClass().getCanonicalName())) { in validateConfig()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DAutoLogCollectorTest.java32 BaseDeviceMetricCollector collector = value.getInstanceForValue(); in testGetInstance() local
33 assertNotNull(collector); in testGetInstance()
DFilePullerLogCollectorTest.java160 PostProcessingFilePullerLogCollector collector = new PostProcessingFilePullerLogCollector(); in testPostProcessFiles() local
161 OptionSetter setter = new OptionSetter(collector); in testPostProcessFiles()
164 ITestInvocationListener listener = collector.init(mContext, mMockListener); in testPostProcessFiles()
185 assertTrue(collector.isPostProcessed()); in testPostProcessFiles()
DLogcatTimingMetricCollectorTest.java201 private void setPatterns(LogcatTimingMetricCollector collector) throws ConfigurationException { in setPatterns() argument
202 OptionSetter setter = new OptionSetter(collector); in setPatterns()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DInstrumentationTest.java941 for (IMetricCollector collector : mCollectors) { in doTestRun()
942 if (collector.isDisabled()) { in doTestRun()
943 CLog.d("%s has been disabled. Skipping.", collector); in doTestRun()
947 collector.getClass().getCanonicalName()); in doTestRun()
948 listener = collector.init(testInfo.getContext(), listener); in doTestRun()
986 BugreportCollector collector = new BugreportCollector(listener, getDevice()); in addBugreportListenerIfEnabled() local
987 collector.addPredicate(pred); in addBugreportListenerIfEnabled()
988 listener = collector; in addBugreportListenerIfEnabled()
1205 CollectingTestListener collector = new CollectingTestListener(); in collectTestsAndRetry() local
1210 instrResult = mDevice.runInstrumentationTests(runner, collector); in collectTestsAndRetry()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DShardHelperTest.java271 BaseDeviceMetricCollector collector = new BaseDeviceMetricCollector(); in testCloneMetricCollector() local
273 createTmpConfig(Configuration.DEVICE_METRICS_COLLECTOR_TYPE_NAME, collector); in testCloneMetricCollector()
281 mConfig.setDeviceMetricCollectors(Arrays.asList(collector)); in testCloneMetricCollector()
302 collector, in testCloneMetricCollector()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/test/
DPerformanceTest.java186 for (BaseGameQualificationMetricCollector collector : mCollectors) { in run()
187 collector.setDeviceResultData(resultData); in run()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java744 for (IMetricCollector collector : clonedCollectors) { in runTest()
745 if (collector.isDisabled()) { in runTest()
746 CLog.d("%s has been disabled. Skipping.", collector); in runTest()
749 collector.init(info.getContext(), listenerWithCollectors); in runTest()
750 TfObjectTracker.countWithParents(collector.getClass()); in runTest()
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DTestsPoolPoller.java180 for (IMetricCollector collector : mCollectors) { in run()
181 listenerWithCollectors = collector.init(info.getContext(), listenerWithCollectors); in run()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DInvocationExecutionTest.java176 for (IMetricCollector collector : mCollectors) { in run()
177 collector.init(new InvocationContext(), new ITestInvocationListener() {}); in run()
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...