Home
last modified time | relevance | path

Searched refs:MultiMap (Results 1 – 25 of 37) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DITestSuiteTest.java66 import com.android.tradefed.util.MultiMap;
94 private static final MultiMap<String, String> METADATA_INCLUDES = new MultiMap<>();
95 private static final MultiMap<String, String> METADATA_EXCLUDES = new MultiMap<>();
979 MultiMap<String, String> metadata = new MultiMap<>(); in testMetadataFilter_matchInclude()
982 MultiMap<String, String> includeFilter = new MultiMap<>(); in testMetadataFilter_matchInclude()
994 MultiMap<String, String> metadata = new MultiMap<>(); in testMetadataFilter_noMatchInclude_mismatchValue()
997 MultiMap<String, String> includeFilter = new MultiMap<>(); in testMetadataFilter_noMatchInclude_mismatchValue()
1009 MultiMap<String, String> metadata = new MultiMap<>(); in testMetadataFilter_noMatchInclude_mismatchKey()
1012 MultiMap<String, String> includeFilter = new MultiMap<>(); in testMetadataFilter_noMatchInclude_mismatchKey()
1024 MultiMap<String, String> metadata = new MultiMap<>(); in testMetadataFilter_matchExclude()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DFlashingResourcesParser.java20 import com.android.tradefed.util.MultiMap;
81 public static class AndroidInfo extends HashMap<String, MultiMap<String, String>> {}
178 MultiMap<String, String> productReqs = mReqs.get(productName); in getRequiredImageVersion()
209 MultiMap<String, String> boardReqs = mReqs.get(null); in getRequiredBoards()
301 private static MultiMap<String, String> getOrCreateEntry(AndroidInfo map, String key) { in getOrCreateEntry()
305 MultiMap<String, String> value = new MultiMap<String, String>(); in getOrCreateEntry()
334 MultiMap<String, String> reqs = getOrCreateEntry(requiredImageMap, product); in parseAndroidInfo()
349 MultiMap<String, String> reqs = getOrCreateEntry(requiredImageMap, null); in parseAndroidInfo()
DDeviceSetup.java28 import com.android.tradefed.util.MultiMap;
335 protected MultiMap<String, String> mSystemSettings = new MultiMap<>();
341 protected MultiMap<String, String> mSecureSettings = new MultiMap<>();
347 protected MultiMap<String, String> mGlobalSettings = new MultiMap<>();
978 MultiMap<String, String> settingsMap, String setting, String onValue, String offValue) { in setSettingForBinaryState()
/tools/tradefederation/contrib/src/com/android/regression/tests/
DMetrics.java20 import com.android.tradefed.util.MultiMap;
30 private final MultiMap<String, Double> mRunMetrics = new MultiMap<>();
31 private final MultiMap<Pair<TestDescription, String>, Double> mTestMetrics = new MultiMap<>();
217 public MultiMap<String, Double> getRunMetrics() { in getRunMetrics()
226 public MultiMap<Pair<TestDescription, String>, Double> getTestMetrics() { in getTestMetrics()
DDetectRegression.java28 import com.android.tradefed.util.MultiMap;
153 MultiMap<String, TableRow> testMetricsResult = new MultiMap<>(); in runRegressionDetection()
171 MultiMap<String, TableRow> testMetricsResult) { in logResult()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DMultiMapTest.java36 MultiMap<String, String> multiMap = new MultiMap<String, String>(); in testGetUniqueMap()
72 MultiMap<String, String> multiMap = new MultiMap<>(); in testEmptyMapEntries()
77 MultiMap<String, String> multiMap = new MultiMap<>(); in testEntries()
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfigurationDescriptor.java25 import com.android.tradefed.util.MultiMap;
57 private MultiMap<String, String> mMetaData = new MultiMap<>();
102 public MultiMap<String, String> getAllMetaData() { in getAllMetaData()
103 MultiMap<String, String> copy = new MultiMap<>(); in getAllMetaData()
118 public void setMetaData(MultiMap<String, String> metadata) { in setMetaData()
DOptionSetter.java22 import com.android.tradefed.util.MultiMap;
148 MultiMap.class.isAssignableFrom(rawClass)) { in getHandler()
186 } else if (MultiMap.class.isAssignableFrom(cType)) { in getHandler()
488 } else if (MultiMap.class.isAssignableFrom(field.getType())) { in setFieldValue()
490 MultiMap map = (MultiMap)field.get(optionSource); in setFieldValue()
495 if (value instanceof MultiMap) { in setFieldValue()
501 map.putAll((MultiMap)value); in setFieldValue()
745 } else if (value instanceof MultiMap) { in getUnsetMandatoryOptions()
746 MultiMap m = (MultiMap) value; in getUnsetMandatoryOptions()
831 } else if (fieldValue instanceof MultiMap) { in getFieldValueAsString()
[all …]
DDynamicRemoteFileResolver.java24 import com.android.tradefed.util.MultiMap;
152 } else if (value instanceof MultiMap) { in validateRemoteFilePath()
153 MultiMap<Object, Object> m = (MultiMap<Object, Object>) value; in validateRemoteFilePath()
154 MultiMap<Object, Object> copy = new MultiMap<>(m); in validateRemoteFilePath()
DConfigurationXmlParserSettings.java19 import com.android.tradefed.util.MultiMap;
37 public MultiMap<String, String> templateMap = new MultiMap<>();
DConfigurationUtil.java21 import com.android.tradefed.util.MultiMap;
162 } else if (fieldVal instanceof MultiMap) { in dumpOptionsToXml()
163 MultiMap multimap = (MultiMap) fieldVal; in dumpOptionsToXml()
DConfiguration.java45 import com.android.tradefed.util.MultiMap;
118 private MultiMap<FieldDef, String> mFieldSources = new MultiMap<>();
582 !MultiMap.class.isAssignableFrom(field.field.getType())) { in internalInjectOptionValue()
1160 } else if (value instanceof MultiMap) { in getOptionJson()
1161 MultiMap multimap = (MultiMap) value; in getOptionJson()
1193 } else if (MultiMap.class.isAssignableFrom(field.getType())) { in getOptionJson()
1197 for (Object key : ((MultiMap) value).keySet()) { in getOptionJson()
/tools/tradefederation/core/src/com/android/tradefed/util/
DMultiMap.java34 public class MultiMap<K, V> implements Serializable { class
39 public MultiMap() { in MultiMap() method in MultiMap
43 public MultiMap(MultiMap<K, V> map) { in MultiMap() method in MultiMap
142 public void putAll(MultiMap<K, ? extends V> m) { in putAll()
240 MultiMap<?, ?> other = (MultiMap<?, ?>) obj; in equals()
/tools/tradefederation/contrib/src/com/android/uicd/tests/
DUiConductorTest.java33 import com.android.tradefed.util.MultiMap;
76 private MultiMap<String, String> globalVariables = new MultiMap<>();
97 private MultiMap<String, File> uicdTest = new MultiMap<>();
145 MultiMap<String, File> copiedTestFileMap = new MultiMap<>(); in run()
293 private MultiMap<String, File> copyFile(String key, String srcFilePath, String destDirPath) in copyFile()
295 MultiMap<String, File> copiedTestFileMap = new MultiMap<>(); in copyFile()
/tools/tradefederation/core/src/com/android/tradefed/build/
DBuildInfo.java25 import com.android.tradefed.util.MultiMap;
59 private transient MultiMap<String, VersionedFile> mVersionedFileMultiMap;
81 mVersionedFileMultiMap = new MultiMap<String, VersionedFile>(); in BuildInfo()
217 protected MultiMap<String, String> getAttributesMultiMap() { in getAttributesMultiMap()
286 protected MultiMap<String, VersionedFile> getVersionedFileMapFull() { in getVersionedFileMapFull()
287 return new MultiMap<>(mVersionedFileMultiMap); in getVersionedFileMapFull()
589 MultiMap<String, VersionedFile> versionedMap = build.getVersionedFileMapFull(); in copyAllFileFrom()
607 mVersionedFileMultiMap = (MultiMap<String, VersionedFile>) in.readObject(); in readObject()
609 mVersionedFileMultiMap = new MultiMap<>(); in readObject()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/target/
DDeviceSideCollectorSpecification.java21 import com.android.tradefed.util.MultiMap;
52 private MultiMap<String, String> mInstrumentationArgs = new MultiMap<>();
75 public MultiMap<String, String> getCollectorOptions() { in getCollectorOptions()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DFlashingResourcesParserTest.java22 import com.android.tradefed.util.MultiMap;
58 MultiMap<String, String> result = fullInfo.get(null); in testParseAndroidInfo()
82 MultiMap<String, String> result = fullInfo.get(null); in testParseAndroidInfo_withConstraint()
169 MultiMap<String, String> globalReqs = fullInfo.get(null); in testRequireForProduct_internalState()
179 MultiMap<String, String> gammaReqs = fullInfo.get("gamma"); in testRequireForProduct_internalState()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/net/
DHttpHelperTest.java25 import com.android.tradefed.util.MultiMap;
66 MultiMap<String, String> paramMap = new MultiMap<String, String>(); in testBuildParams()
93 MultiMap<String, String> paramMap = new MultiMap<String, String>(); in testBuildUrl()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DITestSuite.java63 import com.android.tradefed.util.MultiMap;
262 private MultiMap<String, String> mModuleMetadataIncludeFilter = new MultiMap<>();
273 private MultiMap<String, String> mModuleMetadataExcludeFilter = new MultiMap<>();
1015 public void addModuleMetadataIncludeFilters(MultiMap<String, String> filters) { in addModuleMetadataIncludeFilters()
1019 public void addModuleMetadataExcludeFilters(MultiMap<String, String> filters) { in addModuleMetadataExcludeFilters()
1169 MultiMap<String, String> include, in filterByConfigMetadata()
1170 MultiMap<String, String> exclude) { in filterByConfigMetadata()
1171 MultiMap<String, String> metadata = config.getConfigurationDescription().getAllMetaData(); in filterByConfigMetadata()
/tools/tradefederation/contrib/tests/src/com/android/regression/tests/
DDetectRegressionTest.java29 import com.android.tradefed.util.MultiMap;
146 ArgumentCaptor<MultiMap<String, TableRow>> testResultCaptor = in testRunRegressionDetection()
147 ArgumentCaptor.forClass(MultiMap.class); in testRunRegressionDetection()
160 MultiMap<String, TableRow> testResults = testResultCaptor.getValue(); in testRunRegressionDetection()
/tools/tradefederation/core/src/com/android/tradefed/util/net/
DIHttpHelper.java20 import com.android.tradefed.util.MultiMap;
49 public String buildUrl(String url, MultiMap<String, String> paramMap); in buildUrl()
58 public String buildParameters(MultiMap<String, String> paramMap); in buildParameters()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DIInvocationContext.java23 import com.android.tradefed.util.MultiMap;
143 public void addInvocationAttributes(MultiMap<String, String> attributesMap); in addInvocationAttributes()
146 public MultiMap<String, String> getAttributes(); in getAttributes()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DCommonLogRemoteFileUtil.java24 import com.android.tradefed.util.MultiMap;
39 public static final MultiMap<InstanceType, KnownLogFileEntry> KNOWN_FILES_TO_FETCH =
40 new MultiMap<>();
/tools/tradefederation/contrib/src/com/android/framework/tests/
DBandwidthMicroBenchMarkTest.java37 import com.android.tradefed.util.MultiMap;
203 MultiMap<String, String> params = new MultiMap<String, String>(); in fetchDataFromTestServer()
229 private final MultiMap<String, String> mParams;
234 IHttpHelper helper, String testServerUrl, MultiMap<String, String> params) { in QueryRunnable()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DDynamicFileStubTest.java24 import com.android.tradefed.util.MultiMap;
58 private MultiMap<File, File> mFileMultiMap = new MultiMap<>();

12