Home
last modified time | relevance | path

Searched refs:configMap (Results 1 – 4 of 4) sorted by relevance

/test/suite_harness/common/host-side/util/tests/src/com/android/compatibility/common/util/
DDynamicConfigHandlerTest.java103 Map<String, List<String>> configMap = DynamicConfig.createConfigMap(mergedFile); in testDynamicConfigHandler() local
105 assertEquals("override-config-val-1", configMap.get("override-config-1").get(0)); in testDynamicConfigHandler()
106 assertTrue(configMap.get("override-config-list-1") in testDynamicConfigHandler()
108 assertTrue(configMap.get("override-config-list-1") in testDynamicConfigHandler()
110 assertTrue(configMap.get("override-config-list-3").size() == 0); in testDynamicConfigHandler()
112 assertEquals("test config 1", configMap.get("test-config-1").get(0)); in testDynamicConfigHandler()
113 assertTrue(configMap.get("config-list").contains("config2")); in testDynamicConfigHandler()
115 assertEquals("override-config-val-2", configMap.get("override-config-2").get(0)); in testDynamicConfigHandler()
116 assertEquals(1, configMap.get("override-config-list-2").size()); in testDynamicConfigHandler()
117 assertTrue(configMap.get("override-config-list-2") in testDynamicConfigHandler()
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DDynamicConfigHandler.java64 Map<String, List<String>> configMap = new HashMap<String, List<String>>(); in parseJsonToConfigMap() local
66 return configMap; in parseJsonToConfigMap()
75 return configMap; in parseJsonToConfigMap()
85 configMap.put(key, values); in parseJsonToConfigMap()
87 return configMap; in parseJsonToConfigMap()
90 private static File storeMergedConfigFile(Map<String, List<String>> configMap, in storeMergedConfigFile() argument
101 for (String key : configMap.keySet()) { in storeMergedConfigFile()
104 for (String value : configMap.get(key)) { in storeMergedConfigFile()
DDynamicConfigHostSide.java48 Map<String, List<String>> configMap = DynamicConfig.createConfigMap(file); in getValueFromConfig() local
49 List<String> singleValue = configMap.get(key); in getValueFromConfig()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/build/
DCompatibilityBuildHelper.java150 Map<String, File> configMap = new HashMap<>(); in getDynamicConfigFiles() local
153 configMap.put( in getDynamicConfigFiles()
158 return configMap; in getDynamicConfigFiles()