Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/invoker/
DShardListener.java139 IInvocationContext moduleContext = null; in invocationEnded() local
142 if (moduleContext != null in invocationEnded()
143 && !getModuleContextForRunResult(runResult).equals(moduleContext)) { in invocationEnded()
145 moduleContext = null; in invocationEnded()
147 if (moduleContext == null && getModuleContextForRunResult(runResult) != null) { in invocationEnded()
148 moduleContext = getModuleContextForRunResult(runResult); in invocationEnded()
149 mMasterListener.testModuleStarted(moduleContext); in invocationEnded()
165 if (moduleContext != null) { in invocationEnded()
167 moduleContext = null; in invocationEnded()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/
DFormattedGeneratorReporterTest.java125 IInvocationContext moduleContext = new InvocationContext(); in testFinalizeResults() local
126 moduleContext.addInvocationAttribute(ModuleDefinition.MODULE_ID, "module1"); in testFinalizeResults()
127 moduleContext.addInvocationAttribute(ModuleDefinition.MODULE_ABI, "abi1"); in testFinalizeResults()
128 mReporter.testModuleStarted(moduleContext); in testFinalizeResults()
/tools/tradefederation/core/src/com/android/tradefed/result/
DITestInvocationListener.java99 public default void testModuleStarted(IInvocationContext moduleContext) {} in testModuleStarted() argument
DResultForwarder.java289 public void testModuleStarted(IInvocationContext moduleContext) { in testModuleStarted() argument
292 listener.testModuleStarted(moduleContext); in testModuleStarted()
DCollectingTestListener.java123 public void testModuleStarted(IInvocationContext moduleContext) { in testModuleStarted() argument
124 mCurrentModuleContext = moduleContext; in testModuleStarted()
DLegacySubprocessResultsReporter.java92 public void testModuleStarted(IInvocationContext moduleContext) { in testModuleStarted() argument
DSubprocessResultsReporter.java228 public void testModuleStarted(IInvocationContext moduleContext) { in testModuleStarted() argument
229 TestModuleStartedEventInfo info = new TestModuleStartedEventInfo(moduleContext); in testModuleStarted()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DSuiteResultReporter.java84 public void testModuleStarted(IInvocationContext moduleContext) { in testModuleStarted() argument
85 super.testModuleStarted(moduleContext); in testModuleStarted()
87 List<String> abiName = moduleContext.getAttributes().get(ModuleDefinition.MODULE_ABI); in testModuleStarted()
91 moduleContext.getAttributes().get(ModuleDefinition.MODULE_ID).get(0), abi); in testModuleStarted()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java445 IInvocationContext moduleContext = mModule.getModuleInvocationContext(); in testAbiSetting() local
448 moduleContext.getAttributes().get(ModuleDefinition.MODULE_NAME).get(0)); in testAbiSetting()
449 assertEquals("arm", moduleContext.getAttributes().get(ModuleDefinition.MODULE_ABI).get(0)); in testAbiSetting()
452 moduleContext.getAttributes().get(ModuleDefinition.MODULE_ID).get(0)); in testAbiSetting()