/tools/tradefederation/core/tests/src/com/android/tradefed/retry/ |
D | ResultAggregatorTest.java | 53 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/ |
D | ProtoResultParserTest.java | 64 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 …]
|
D | StreamProtoResultReporterTest.java | 50 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()
|
D | ProtoResultReporterTest.java | 52 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/ |
D | CommandScheduler.java | 551 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/ |
D | ClusterCommandLauncherTest.java | 68 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()
|
D | ClusterCommandLauncherFuncTest.java | 60 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/ |
D | ClusterCommandLauncher.java | 111 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/ |
D | IncidentReportCollectorTest.java | 70 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/ |
D | JsonHttpTestResultReporter.java | 96 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/ |
D | DependenciesResolver.java | 66 private IInvocationContext mInvocationContext; field in DependenciesResolver 79 dependency, build, mInvocationContext); in getBuild() 114 mInvocationContext = invocationContext; in setInvocationContext()
|