Home
last modified time | relevance | path

Searched refs:moduleContext (Results 1 – 19 of 19) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/
DResultsPlayer.java90 IInvocationContext moduleContext = holder.mModuleContext; in run() local
91 if (moduleContext != null) { in run()
93 moduleContext.addAllocatedDevice( in run()
95 moduleContext.addDeviceBuildInfo( in run()
98 listener.testModuleStarted(moduleContext); in run()
109 if (moduleContext != null) { in run()
137 IInvocationContext moduleContext, in addToReplay() argument
143 holder.mModuleContext = moduleContext; in addToReplay()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java383 IInvocationContext moduleContext = mModule.getModuleInvocationContext(); in testCreateModule() local
384 assertNull(moduleContext.getAttributes().get(ModuleDefinition.MODULE_PARAMETERIZATION)); in testCreateModule()
402 IInvocationContext moduleContext = mModule.getModuleInvocationContext(); in testCreateModule_withParams() local
405 moduleContext.getAttributes().get(ModuleDefinition.MODULE_PARAMETERIZATION).size()); in testCreateModule_withParams()
408 moduleContext in testCreateModule_withParams()
1087 IInvocationContext moduleContext = mModule.getModuleInvocationContext(); in testAbiSetting() local
1090 moduleContext.getAttributes().get(ModuleDefinition.MODULE_NAME).get(0)); in testAbiSetting()
1091 assertEquals("arm", moduleContext.getAttributes().get(ModuleDefinition.MODULE_ABI).get(0)); in testAbiSetting()
1094 moduleContext.getAttributes().get(ModuleDefinition.MODULE_ID).get(0)); in testAbiSetting()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultParser.java363 IInvocationContext moduleContext = in handleModuleStart() local
366 if (moduleContext.getAttributes().containsKey(ModuleDefinition.MODULE_ID)) { in handleModuleStart()
368 moduleContext in handleModuleStart()
376 mListener.testModuleStarted(moduleContext); in handleModuleStart()
380 mergeBuildInfo(mMainContext, moduleContext); in handleModuleStart()
DProtoResultReporter.java222 public final void testModuleStarted(IInvocationContext moduleContext) { in testModuleStarted() argument
230 moduleContext.getAttributes().get(ModuleDefinition.MODULE_ID).get(0)); in testModuleStarted()
232 moduleBuilder.setDescription(Any.pack(moduleContext.toProto())); in testModuleStarted()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/
DTestInformation.java56 IInvocationContext moduleContext, in TestInformation() argument
58 mContext = moduleContext; in TestInformation()
76 TestInformation invocationInfo, IInvocationContext moduleContext) { in createModuleTestInfo() argument
77 return new TestInformation(invocationInfo, moduleContext, false); in createModuleTestInfo()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DInvocationContextTest.java180 InvocationContext moduleContext = new InvocationContext(); in testProtoSerialize_moduleContext() local
181 moduleContext.addInvocationAttribute(ModuleDefinition.MODULE_ID, "module-id"); in testProtoSerialize_moduleContext()
182 moduleContext.setConfigurationDescriptor(new ConfigurationDescriptor()); in testProtoSerialize_moduleContext()
183 context.setModuleInvocationContext(moduleContext); in testProtoSerialize_moduleContext()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/
DFormattedGeneratorReporterTest.java153 IInvocationContext moduleContext = new InvocationContext(); in testFinalizeResults() local
154 moduleContext.addInvocationAttribute(ModuleDefinition.MODULE_ID, "module1"); in testFinalizeResults()
155 moduleContext.addInvocationAttribute(ModuleDefinition.MODULE_ABI, "abi1"); in testFinalizeResults()
156 mReporter.testModuleStarted(moduleContext); in testFinalizeResults()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DSuiteResultReporter.java92 public void testModuleStarted(IInvocationContext moduleContext) { in testModuleStarted() argument
93 super.testModuleStarted(moduleContext); in testModuleStarted()
95 List<String> abiName = moduleContext.getAttributes().get(ModuleDefinition.MODULE_ABI); in testModuleStarted()
99 moduleContext.getAttributes().get(ModuleDefinition.MODULE_ID).get(0), abi); in testModuleStarted()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DShardListener.java142 public void testModuleStarted(IInvocationContext moduleContext) { in testModuleStarted() argument
143 super.testModuleStarted(moduleContext); in testModuleStarted()
144 mModuleContext = moduleContext; in testModuleStarted()
/tools/tradefederation/core/src/com/android/tradefed/retry/
DResultAggregator.java162 public void testModuleStarted(IInvocationContext moduleContext) { in testModuleStarted() argument
178 super.testModuleStarted(moduleContext); in testModuleStarted()
179 mAllForwarder.testModuleStarted(moduleContext); in testModuleStarted()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DPushFilePreparerTest.java926 IInvocationContext moduleContext = new InvocationContext(); in createModuleWithName() local
927 moduleContext.addInvocationAttribute(ModuleDefinition.MODULE_NAME, name); in createModuleWithName()
928 return moduleContext; in createModuleWithName()
/tools/tradefederation/core/src/com/android/tradefed/result/
DLegacySubprocessResultsReporter.java135 public void testModuleStarted(IInvocationContext moduleContext) { in testModuleStarted() argument
143 TestModuleStartedEventInfo info = new TestModuleStartedEventInfo(moduleContext); in testModuleStarted()
DResultForwarder.java356 public void testModuleStarted(IInvocationContext moduleContext) { in testModuleStarted() argument
359 listener.testModuleStarted(moduleContext); in testModuleStarted()
DCollectingTestListener.java156 public void testModuleStarted(IInvocationContext moduleContext) { in testModuleStarted() argument
157 mCurrentModuleContext = moduleContext; in testModuleStarted()
DSubprocessResultsReporter.java276 public void testModuleStarted(IInvocationContext moduleContext) { in testModuleStarted() argument
277 TestModuleStartedEventInfo info = new TestModuleStartedEventInfo(moduleContext); in testModuleStarted()
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/
DBasePostProcessor.java125 public final void testModuleStarted(IInvocationContext moduleContext) { in testModuleStarted() argument
126 mForwarder.testModuleStarted(moduleContext); in testModuleStarted()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollector.java223 public final void testModuleStarted(IInvocationContext moduleContext) { in testModuleStarted() argument
224 mForwarder.testModuleStarted(moduleContext); in testModuleStarted()
/tools/tradefederation/core/src/com/android/tradefed/util/
DSubprocessEventHelper.java669 public TestModuleStartedEventInfo(IInvocationContext moduleContext) { in TestModuleStartedEventInfo() argument
670 mModuleContext = moduleContext; in TestModuleStartedEventInfo()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/
DITestInvocationListener.java114 public default void testModuleStarted(IInvocationContext moduleContext) {} in testModuleStarted() argument