Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/invoker/
DShardListener.java139 IInvocationContext moduleContext = null; in invocationEnded() local
143 if (moduleContext != null in invocationEnded()
145 .equals(moduleContext)) { in invocationEnded()
147 moduleContext = null; in invocationEnded()
149 if (moduleContext == null in invocationEnded()
151 moduleContext = getModuleContextForRunResult(runResult.getName()); in invocationEnded()
152 mMasterListener.testModuleStarted(moduleContext); in invocationEnded()
169 if (moduleContext != null) { in invocationEnded()
171 moduleContext = null; in invocationEnded()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/
DResultsPlayer.java73 IInvocationContext moduleContext = holder.mModuleContext; in run() local
74 if (moduleContext != null) { in run()
76 moduleContext.addAllocatedDevice(deviceName, mContext.getDevice(deviceName)); in run()
77 moduleContext.addDeviceBuildInfo(deviceName, mContext.getBuildInfo(deviceName)); in run()
79 listener.testModuleStarted(moduleContext); in run()
90 if (moduleContext != null) { in run()
114 IInvocationContext moduleContext, in addToReplay() argument
120 holder.mModuleContext = moduleContext; in addToReplay()
/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.java147 IInvocationContext moduleContext = new InvocationContext(); in testFinalizeResults() local
148 moduleContext.addInvocationAttribute(ModuleDefinition.MODULE_ID, "module1"); in testFinalizeResults()
149 moduleContext.addInvocationAttribute(ModuleDefinition.MODULE_ABI, "abi1"); in testFinalizeResults()
150 mReporter.testModuleStarted(moduleContext); in testFinalizeResults()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultParser.java255 IInvocationContext moduleContext = in handleModuleStart() local
258 if (moduleContext.getAttributes().containsKey(ModuleDefinition.MODULE_ID)) { in handleModuleStart()
261 + moduleContext in handleModuleStart()
267 mListener.testModuleStarted(moduleContext); in handleModuleStart()
DProtoResultReporter.java190 public final void testModuleStarted(IInvocationContext moduleContext) { in testModuleStarted() argument
198 moduleContext.getAttributes().get(ModuleDefinition.MODULE_ID).get(0)); in testModuleStarted()
200 moduleBuilder.setDescription(Any.pack(moduleContext.toProto())); in testModuleStarted()
/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/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/
DBaseGameQualificationMetricCollector.java143 public final void testModuleStarted(IInvocationContext moduleContext) { in testModuleStarted() argument
144 super.testModuleStarted(moduleContext); in testModuleStarted()
/tools/tradefederation/core/src/com/android/tradefed/result/
DResultForwarder.java302 public void testModuleStarted(IInvocationContext moduleContext) { in testModuleStarted() argument
305 listener.testModuleStarted(moduleContext); in testModuleStarted()
DCollectingTestListener.java151 public void testModuleStarted(IInvocationContext moduleContext) { in testModuleStarted() argument
152 mCurrentModuleContext = moduleContext; in testModuleStarted()
DSubprocessResultsReporter.java237 public void testModuleStarted(IInvocationContext moduleContext) { in testModuleStarted() argument
238 TestModuleStartedEventInfo info = new TestModuleStartedEventInfo(moduleContext); in testModuleStarted()
DITestInvocationListener.java99 public default void testModuleStarted(IInvocationContext moduleContext) {} in testModuleStarted() argument
DLegacySubprocessResultsReporter.java130 public void testModuleStarted(IInvocationContext moduleContext) { in testModuleStarted() argument
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DPushFilePreparerTest.java752 IInvocationContext moduleContext = new InvocationContext(); in createModuleWithName() local
753 moduleContext.addInvocationAttribute(ModuleDefinition.MODULE_NAME, name); in createModuleWithName()
754 return moduleContext; in createModuleWithName()
/tools/tradefederation/core/src/com/android/tradefed/util/
DSubprocessEventHelper.java516 public TestModuleStartedEventInfo(IInvocationContext moduleContext) { in TestModuleStartedEventInfo() argument
517 mModuleContext = moduleContext; in TestModuleStartedEventInfo()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java922 IInvocationContext moduleContext = mModule.getModuleInvocationContext(); in testAbiSetting() local
925 moduleContext.getAttributes().get(ModuleDefinition.MODULE_NAME).get(0)); in testAbiSetting()
926 assertEquals("arm", moduleContext.getAttributes().get(ModuleDefinition.MODULE_ABI).get(0)); in testAbiSetting()
929 moduleContext.getAttributes().get(ModuleDefinition.MODULE_ID).get(0)); in testAbiSetting()