Home
last modified time | relevance | path

Searched refs:configDescriptor (Results 1 – 6 of 6) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DLocalRunInstructionBuilderTest.java50 ConfigurationDescriptor configDescriptor = new ConfigurationDescriptor(); in testGetInstruction() local
51 configDescriptor.addRerunOption( in testGetInstruction()
53 configDescriptor.addRerunOption( in testGetInstruction()
55 configDescriptor.setAbi(new Abi(ABI_NAME, "32")); in testGetInstruction()
56 configDescriptor.setModuleName(OPTION_SOURCE); in testGetInstruction()
59 configDescriptor, LocalTestRunner.ATEST, null); in testGetInstruction()
74 ConfigurationDescriptor configDescriptor = new ConfigurationDescriptor(); in testGetInstruction_withTestId() local
75 configDescriptor.setAbi(new Abi(ABI_NAME, "32")); in testGetInstruction_withTestId()
76 configDescriptor.setModuleName(OPTION_SOURCE); in testGetInstruction_withTestId()
80 configDescriptor, LocalTestRunner.ATEST, testId); in testGetInstruction_withTestId()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/util/
DLocalRunInstructionBuilder.java38 ConfigurationDescriptor configDescriptor, LocalTestRunner runner) { in getInstruction() argument
39 return getInstruction(configDescriptor, runner, null); in getInstruction()
52 ConfigurationDescriptor configDescriptor, in getInstruction() argument
60 return getAtestInstruction(configDescriptor, testId); in getInstruction()
75 ConfigurationDescriptor configDescriptor, TestDescription testId) { in getAtestInstruction() argument
78 StringBuilder testName = new StringBuilder(configDescriptor.getModuleName()); in getAtestInstruction()
91 if (configDescriptor.getAbi() != null) { in getAtestInstruction()
92 instruction.append(String.format(" --abi %s", configDescriptor.getAbi().getName())); in getAtestInstruction()
95 for (OptionDef optionDef : configDescriptor.getRerunOptions()) { in getAtestInstruction()
100 configDescriptor.getModuleName(), optionDef.name)); in getAtestInstruction()
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfigurationDescriptor.java231 ConfigurationDescriptor configDescriptor = new ConfigurationDescriptor(); in fromProto() local
233 configDescriptor.mSuiteTags.addAll(protoDescriptor.getTestSuiteTagList()); in fromProto()
237 configDescriptor.mMetaData.put(meta.getKey(), value); in fromProto()
241 configDescriptor.mNotShardable = !protoDescriptor.getShardable(); in fromProto()
243 configDescriptor.mNotStrictShardable = !protoDescriptor.getStrictShardable(); in fromProto()
245 configDescriptor.mUseSandboxing = protoDescriptor.getUseSandboxing(); in fromProto()
248 configDescriptor.mModuleName = protoDescriptor.getModuleName(); in fromProto()
252 configDescriptor.mAbi = Abi.fromProto(protoDescriptor.getAbi()); in fromProto()
254 return configDescriptor; in fromProto()
DConfiguration.java839 private void setConfigurationDescriptor(ConfigurationDescriptor configDescriptor) { in setConfigurationDescriptor() argument
840 setConfigurationObjectNoThrow(CONFIGURATION_DESCRIPTION_TYPE_NAME, configDescriptor); in setConfigurationDescriptor()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunner.java174 ConfigurationDescriptor configDescriptor = in loadTests() local
176 if (testsInTestMapping.containsKey(configDescriptor.getModuleName())) { in loadTests()
177 configDescriptor.addMetaData( in loadTests()
179 testsInTestMapping.get(configDescriptor.getModuleName())); in loadTests()
DModuleDefinition.java168 ConfigurationDescriptor configDescriptor = moduleConfig.getConfigurationDescription(); in ModuleDefinition() local
170 mModuleInvocationContext.setConfigurationDescriptor(configDescriptor.clone()); in ModuleDefinition()
173 if (configDescriptor.getAbi() != null) { in ModuleDefinition()
175 MODULE_ABI, configDescriptor.getAbi().getName()); in ModuleDefinition()
177 if (configDescriptor.getModuleName() != null) { in ModuleDefinition()
179 MODULE_NAME, configDescriptor.getModuleName()); in ModuleDefinition()
188 List<String> tokens = configDescriptor.getMetaData(ITestSuite.TOKEN_KEY); in ModuleDefinition()