Searched refs:collector (Results 1 – 17 of 17) sorted by relevance
29 … BaseGameQualificationMetricCollector collector = new BaseGameQualificationMetricCollector() { in onTestStartHasErrorOnException() local36 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() local53 collector.onTestEnd(null, null); in onTestEndHasErrorOnException()56 assertTrue(collector.hasError()); in onTestEndHasErrorOnException()57 assertEquals("foo", collector.getErrorMessage()); in onTestEndHasErrorOnException()
32 GameQualificationScheduledMetricCollector collector = in checkConcurrency() local63 collector.mIntervalMs = 1; in checkConcurrency()64 collector.enable(); in checkConcurrency()66 collector.onTestStart(null); in checkConcurrency()67 collector.onTestEnd(null, null); in checkConcurrency()
69 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 …]
171 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 …]
42 for (IMetricCollector collector : originalCollectors) { in cloneCollectors()46 collector.getClass().getDeclaredConstructor().newInstance(); in cloneCollectors()47 OptionCopier.copyOptionsNoThrow(collector, clone); in cloneCollectors()
192 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()
113 for (IMetricCollector collector : config.getMetricCollectors()) { in validateConfig()115 if (!ALLOWED_COLLECTOR_IN_MODULE.contains(collector.getClass().getCanonicalName())) { in validateConfig()
32 BaseDeviceMetricCollector collector = value.getInstanceForValue(); in testGetInstance() local33 assertNotNull(collector); in testGetInstance()
160 PostProcessingFilePullerLogCollector collector = new PostProcessingFilePullerLogCollector(); in testPostProcessFiles() local161 OptionSetter setter = new OptionSetter(collector); in testPostProcessFiles()164 ITestInvocationListener listener = collector.init(mContext, mMockListener); in testPostProcessFiles()185 assertTrue(collector.isPostProcessed()); in testPostProcessFiles()
201 private void setPatterns(LogcatTimingMetricCollector collector) throws ConfigurationException { in setPatterns() argument202 OptionSetter setter = new OptionSetter(collector); in setPatterns()
941 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() local987 collector.addPredicate(pred); in addBugreportListenerIfEnabled()988 listener = collector; in addBugreportListenerIfEnabled()1205 CollectingTestListener collector = new CollectingTestListener(); in collectTestsAndRetry() local1210 instrResult = mDevice.runInstrumentationTests(runner, collector); in collectTestsAndRetry()[all …]
271 BaseDeviceMetricCollector collector = new BaseDeviceMetricCollector(); in testCloneMetricCollector() local273 createTmpConfig(Configuration.DEVICE_METRICS_COLLECTOR_TYPE_NAME, collector); in testCloneMetricCollector()281 mConfig.setDeviceMetricCollectors(Arrays.asList(collector)); in testCloneMetricCollector()302 collector, in testCloneMetricCollector()
186 for (BaseGameQualificationMetricCollector collector : mCollectors) { in run()187 collector.setDeviceResultData(resultData); in run()
744 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()
180 for (IMetricCollector collector : mCollectors) { in run()181 listenerWithCollectors = collector.init(info.getContext(), listenerWithCollectors); in run()
176 for (IMetricCollector collector : mCollectors) { in run()177 collector.init(new InvocationContext(), new ITestInvocationListener() {}); in run()
META-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...