Home
last modified time | relevance | path

Searched refs:mInvocationContext (Results 1 – 11 of 11) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/retry/
DResultAggregatorTest.java53 private IInvocationContext mInvocationContext; field in ResultAggregatorTest
83 mInvocationContext = new InvocationContext(); in setUp()
84 mInvocationContext.addDeviceBuildInfo( in setUp()
108 mAggListener.invocationStarted(mInvocationContext); in testForwarding()
111 mDetailedListener.invocationStarted(mInvocationContext); in testForwarding()
182 mAggregator.invocationStarted(mInvocationContext); in testForwarding()
227 mAggListener.invocationStarted(mInvocationContext); in testForwarding_runFailure()
230 mDetailedListener.invocationStarted(mInvocationContext); in testForwarding_runFailure()
288 mAggregator.invocationStarted(mInvocationContext); in testForwarding_runFailure()
322 mAggListener.invocationStarted(mInvocationContext); in testForwarding_runFailure_noRerun()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/
DProtoResultParserTest.java64 private IInvocationContext mInvocationContext; field in ProtoResultParserTest
129 mInvocationContext = new InvocationContext(); in setUp()
130 mInvocationContext.setConfigurationDescriptor(new ConfigurationDescriptor()); in setUp()
132 mInvocationContext.addAllocatedDevice( in setUp()
136 mInvocationContext.addDeviceBuildInfo(ConfigurationDef.DEFAULT_DEVICE_NAME, info); in setUp()
178 mInvocationContext.getBuildInfos().get(0).addBuildAttribute("early_key", "build_value"); in testEvents()
179 mInvocationContext.addInvocationAttribute("early_context_key", "context_value"); in testEvents()
180 mTestParser.invocationStarted(mInvocationContext); in testEvents()
181 mInvocationContext.getBuildInfos().get(0).addBuildAttribute("after_start", "build_value"); in testEvents()
267 mInvocationContext.getBuildInfos().get(0).addBuildAttribute("early_key", "build_value"); in testEvents_invocationFailure()
[all …]
DStreamProtoResultReporterTest.java50 private IInvocationContext mInvocationContext; field in StreamProtoResultReporterTest
57 mInvocationContext = new InvocationContext(); in setUp()
59 mInvocationContext.setConfigurationDescriptor(new ConfigurationDescriptor()); in setUp()
97 mReporter.invocationStarted(mInvocationContext); in testStream()
141 mReporter.invocationStarted(mInvocationContext); in testStream_stopParsing()
185 mReporter.invocationStarted(mInvocationContext); in testStream_noInvocationReporting()
236 mReporter.invocationStarted(mInvocationContext); in testStream_incompleteModule()
DProtoResultReporterTest.java52 private IInvocationContext mInvocationContext; field in ProtoResultReporterTest
64 mInvocationContext = new InvocationContext(); in setUp()
65 mInvocationContext.setConfigurationDescriptor(new ConfigurationDescriptor()); in setUp()
72 mReporter.invocationStarted(mInvocationContext); in testFinalizeProto()
133 mReporter.invocationStarted(mInvocationContext); in testRunFail_interleavedWithTest()
157 mReporter.invocationStarted(mInvocationContext); in testInvocationFailure()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java551 private final IInvocationContext mInvocationContext; field in CommandScheduler.InvocationThread
563 mInvocationContext = invocationContext; in InvocationThread()
587 listener.invocationInitiated(mInvocationContext); in run()
600 mInvocationContext.addInvocationAttributes( in run()
609 instance.invoke(mInvocationContext, config, in run()
642 createReleaseMap(mInvocationContext, trackDeviceException); in run()
645 listener.invocationComplete(mInvocationContext, deviceStates); in run()
653 mCmd.getCommandTracker().getId(), elapsedTime, mInvocationContext); in run() local
707 return mInvocationContext; in getInvocationContext()
716 for (ITestDevice device : mInvocationContext.getDevices()) { in stopInvocation()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterCommandLauncherTest.java68 private IInvocationContext mInvocationContext; field in ClusterCommandLauncherTest
96 mInvocationContext = new InvocationContext(); in setUp()
99 mLauncher.setInvocationContext(mInvocationContext); in setUp()
112 mInvocationContext.addAllocatedDevice("foo", mMockTestDevice); in testRun()
174 mInvocationContext.addAllocatedDevice("foo", mMockTestDevice); in testRun_withSetupScripts()
227 mInvocationContext.addAllocatedDevice("foo", mMockTestDevice); in testRun_withUseSubprocessReporting()
DClusterCommandLauncherFuncTest.java60 private IInvocationContext mInvocationContext; field in ClusterCommandLauncherFuncTest
72 mInvocationContext = new InvocationContext(); in setUp()
74 mLauncher.setInvocationContext(mInvocationContext); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterCommandLauncher.java111 private IInvocationContext mInvocationContext; field in ClusterCommandLauncher
117 mInvocationContext = invocationContext; in setInvocationContext()
168 createSubprocessTestResultsParser(listener, true, mInvocationContext); in run()
316 for (final ITestDevice device : mInvocationContext.getDevices()) { in buildJavaCommandArgs()
338 for (String serial : mInvocationContext.getSerials()) { in resetUsbPorts()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DIncidentReportCollectorTest.java70 private IInvocationContext mInvocationContext; field in IncidentReportCollectorTest
87 mInvocationContext = new InvocationContext(); in setUp()
88 mInvocationContext.addAllocatedDevice( in setUp()
92 mIncidentCollector.init(mInvocationContext, mInvocationListener); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/result/
DJsonHttpTestResultReporter.java96 private IInvocationContext mInvocationContext = null; field in JsonHttpTestResultReporter
103 mInvocationContext = context; in invocationStarted()
182 IBuildInfo buildInfo = mInvocationContext.getBuildInfos().get(0); in postResults()
247 List<IBuildInfo> buildInfos = mInvocationContext.getBuildInfos(); in convertMetricsToJson()
/tools/tradefederation/core/src/com/android/tradefed/build/
DDependenciesResolver.java66 private IInvocationContext mInvocationContext; field in DependenciesResolver
79 dependency, build, mInvocationContext); in getBuild()
114 mInvocationContext = invocationContext; in setInvocationContext()