Home
last modified time | relevance | path

Searched refs:ConfigurationDescriptor (Results 1 – 25 of 28) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DLocalRunInstructionBuilderTest.java20 import com.android.tradefed.config.ConfigurationDescriptor;
21 import com.android.tradefed.config.ConfigurationDescriptor.LocalTestRunner;
50 ConfigurationDescriptor configDescriptor = new ConfigurationDescriptor(); in testGetInstruction()
74 ConfigurationDescriptor configDescriptor = new ConfigurationDescriptor(); in testGetInstruction_withTestId()
94 ConfigurationDescriptor configDescriptor = new ConfigurationDescriptor(); in testGetInstruction_withTestIdAndParameter()
110 ConfigurationDescriptor configDescriptor = new ConfigurationDescriptor(); in testGetInstruction_withParameter()
113 configDescriptor.addMetadata(ConfigurationDescriptor.ACTIVE_PARAMETER_KEY, "instant"); in testGetInstruction_withParameter()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DSandboxedInvocationExecutionTest.java33 import com.android.tradefed.config.ConfigurationDescriptor;
147 ConfigurationDescriptor descriptor = new ConfigurationDescriptor(); in testSandboxInvocation()
212 ConfigurationDescriptor descriptor = new ConfigurationDescriptor(); in testParentSandboxInvocation_sharding()
241 ConfigurationDescriptor descriptor = new ConfigurationDescriptor(); in testParentSandboxInvocation()
301 ConfigurationDescriptor descriptor = new ConfigurationDescriptor(); in testInvocation_sharding_notTests()
364 ConfigurationDescriptor descriptor = new ConfigurationDescriptor(); in testInvocation_preInvocationFailing()
DInvocationContextTest.java26 import com.android.tradefed.config.ConfigurationDescriptor;
130 mContext.setConfigurationDescriptor(new ConfigurationDescriptor()); in testSerialize()
155 ConfigurationDescriptor descriptor = new ConfigurationDescriptor(); in testProtoSerialize()
176 ConfigurationDescriptor descriptor = new ConfigurationDescriptor(); in testProtoSerialize_moduleContext()
182 moduleContext.setConfigurationDescriptor(new ConfigurationDescriptor()); in testProtoSerialize_moduleContext()
DTestInvocationMultiTest.java26 import com.android.tradefed.config.ConfigurationDescriptor;
71 private ConfigurationDescriptor mConfigDesc;
98 mConfigDesc = new ConfigurationDescriptor(); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DITestSuiteTest.java33 import com.android.tradefed.config.ConfigurationDescriptor;
1011 ConfigurationDescriptor desc = config.getConfigurationDescription(); in testMetadataFilter_matchInclude()
1026 ConfigurationDescriptor desc = config.getConfigurationDescription(); in testMetadataFilter_noMatchInclude_mismatchValue()
1041 ConfigurationDescriptor desc = config.getConfigurationDescription(); in testMetadataFilter_noMatchInclude_mismatchKey()
1056 ConfigurationDescriptor desc = config.getConfigurationDescription(); in testMetadataFilter_matchExclude()
1071 ConfigurationDescriptor desc = config.getConfigurationDescription(); in testMetadataFilter_noMatchExclude_mismatchKey()
1086 ConfigurationDescriptor desc = config.getConfigurationDescription(); in testMetadataFilter_noMatchExclude_mismatchValue()
1104 ConfigurationDescriptor desc = config.getConfigurationDescription(); in testMetadataFilter_matchInclude_multipleMetadataField()
1123 ConfigurationDescriptor desc = config.getConfigurationDescription(); in testMetadataFilter_matchExclude_multipleMetadataField()
1142 ConfigurationDescriptor desc = config.getConfigurationDescription(); in testMetadataFilter_matchInclude_multipleFilters()
[all …]
DModuleDefinitionTest.java30 import com.android.tradefed.config.ConfigurationDescriptor;
372 ConfigurationDescriptor descriptor = config.getConfigurationDescription(); in testCreateModule()
390 ConfigurationDescriptor descriptor = config.getConfigurationDescription(); in testCreateModule_withParams()
393 ConfigurationDescriptor.ACTIVE_PARAMETER_KEY, Arrays.asList("instant")); in testCreateModule_withParams()
586 ConfigurationDescriptor descriptor = config.getConfigurationDescription(); in testParseTokens()
1072 ConfigurationDescriptor descriptor = new ConfigurationDescriptor(); in testAbiSetting()
DSuiteModuleLoaderTest.java27 import com.android.tradefed.config.ConfigurationDescriptor;
411 ConfigurationDescriptor descriptor = instantModule.getConfigurationDescription(); in testFilterParameterized()
416 .get(ConfigurationDescriptor.ACTIVE_PARAMETER_KEY) in testFilterParameterized()
423 .get(ConfigurationDescriptor.ACTIVE_PARAMETER_KEY)); in testFilterParameterized()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationDescriptorTest.java75 ConfigurationDescriptor descriptor = config.getConfigurationDescription(); in testSerialization()
80 ConfigurationDescriptor desc = in testSerialization()
81 (ConfigurationDescriptor) SerializationUtil.deserialize(serialized, true); in testSerialization()
91 ConfigurationDescriptor descriptor = new ConfigurationDescriptor(); in testProtoSerialization()
98 ConfigurationDescriptor deserialized = ConfigurationDescriptor.fromProto(protoDescriptor); in testProtoSerialization()
/tools/tradefederation/core/src/com/android/tradefed/util/
DLocalRunInstructionBuilder.java19 import com.android.tradefed.config.ConfigurationDescriptor;
20 import com.android.tradefed.config.ConfigurationDescriptor.LocalTestRunner;
40 ConfigurationDescriptor configDescriptor, LocalTestRunner runner) { in getInstruction()
54 ConfigurationDescriptor configDescriptor, in getInstruction()
77 ConfigurationDescriptor configDescriptor, TestDescription testId) { in getAtestInstruction()
93 ConfigurationDescriptor configDescriptor, in getCommand()
133 configDescriptor.getMetaData(ConfigurationDescriptor.ACTIVE_PARAMETER_KEY); in getCommand()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/config/
DConfigurationDescriptor.java38 public class ConfigurationDescriptor implements Serializable, Cloneable { class
230 public static ConfigurationDescriptor fromProto( in fromProto()
232 ConfigurationDescriptor configDescriptor = new ConfigurationDescriptor(); in fromProto()
260 public ConfigurationDescriptor clone() { in clone()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationContext.java22 import com.android.tradefed.config.ConfigurationDescriptor;
60 private ConfigurationDescriptor mConfigurationDescriptor;
310 public void setConfigurationDescriptor(ConfigurationDescriptor configurationDescriptor) { in setConfigurationDescriptor()
316 public ConfigurationDescriptor getConfigurationDescriptor() { in getConfigurationDescriptor()
433 ConfigurationDescriptor.fromProto(protoContext.getConfigurationDescription()); in fromProto()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/
DFileProtoResultReporterTest.java22 import com.android.tradefed.config.ConfigurationDescriptor;
78 context.setConfigurationDescriptor(new ConfigurationDescriptor()); in testWriteResults()
102 context.setConfigurationDescriptor(new ConfigurationDescriptor()); in testWriteResults_periodic()
163 context.setConfigurationDescriptor(new ConfigurationDescriptor()); in createModuleContext()
DProtoResultReporterTest.java21 import com.android.tradefed.config.ConfigurationDescriptor;
65 mInvocationContext.setConfigurationDescriptor(new ConfigurationDescriptor()); in setUp()
186 context.setConfigurationDescriptor(new ConfigurationDescriptor()); in createModuleContext()
DStreamProtoResultReporterTest.java21 import com.android.tradefed.config.ConfigurationDescriptor;
59 mInvocationContext.setConfigurationDescriptor(new ConfigurationDescriptor()); in setUp()
256 context.setConfigurationDescriptor(new ConfigurationDescriptor()); in createModuleContext()
DProtoResultParserTest.java25 import com.android.tradefed.config.ConfigurationDescriptor;
130 mInvocationContext.setConfigurationDescriptor(new ConfigurationDescriptor()); in setUp()
718 context.setConfigurationDescriptor(new ConfigurationDescriptor()); in createModuleContext()
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfiguration.java176 new ObjTypeInfo(ConfigurationDescriptor.class, false)); in getObjTypeMap()
238 setConfigurationDescriptor(new ConfigurationDescriptor()); in Configuration()
418 public ConfigurationDescriptor getConfigurationDescription() { in getConfigurationDescription()
419 return (ConfigurationDescriptor) in getConfigurationDescription()
928 private void setConfigurationDescriptor(ConfigurationDescriptor configDescriptor) { in setConfigurationDescriptor()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/
DIInvocationContext.java19 import com.android.tradefed.config.ConfigurationDescriptor;
162 public void setConfigurationDescriptor(ConfigurationDescriptor configurationDescriptor); in setConfigurationDescriptor()
167 public ConfigurationDescriptor getConfigurationDescriptor(); in getConfigurationDescriptor()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerFuncTest.java25 import com.android.tradefed.config.ConfigurationDescriptor;
125 .andStubReturn(new ConfigurationDescriptor()); in setUp()
127 .andStubReturn(new ConfigurationDescriptor()); in setUp()
DCommandSchedulerTest.java32 import com.android.tradefed.config.ConfigurationDescriptor;
100 private ConfigurationDescriptor mMockConfigDescriptor;
179 mMockConfigDescriptor = new ConfigurationDescriptor(); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java22 import com.android.tradefed.config.ConfigurationDescriptor;
180 ConfigurationDescriptor configDescriptor = moduleConfig.getConfigurationDescription(); in ModuleDefinition()
197 .get(ConfigurationDescriptor.ACTIVE_PARAMETER_KEY); in ModuleDefinition()
DTestMappingSuiteRunner.java18 import com.android.tradefed.config.ConfigurationDescriptor;
174 ConfigurationDescriptor configDescriptor = in loadTests()
DSuiteModuleLoader.java19 import com.android.tradefed.config.ConfigurationDescriptor;
353 ConfigurationDescriptor.ACTIVE_PARAMETER_KEY, in loadOneConfig()
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DShardHelper.java21 import com.android.tradefed.config.ConfigurationDescriptor;
263 .addMetadata(ConfigurationDescriptor.LOCAL_SHARDED_KEY, "true"); in cloneConfigObject()
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/
DTradefedSandboxTest.java26 import com.android.tradefed.config.ConfigurationDescriptor;
78 mMockContext.setConfigurationDescriptor(new ConfigurationDescriptor()); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/retry/
DRetryReschedulerTest.java25 import com.android.tradefed.config.ConfigurationDescriptor;
594 context.setConfigurationDescriptor(new ConfigurationDescriptor()); in populateFakeResults()

12