Home
last modified time | relevance | path

Searched refs:paramMap (Results 1 – 3 of 3) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/util/net/
DHttpHelperTest.java66 MultiMap<String, String> paramMap = new MultiMap<String, String>(); in testBuildParams() local
67 paramMap.put("key", "value"); in testBuildParams()
68 assertEquals("key=value", mHelper.buildParameters(paramMap)); in testBuildParams()
70 paramMap.clear(); in testBuildParams()
71 paramMap.put("key1", "value1"); in testBuildParams()
72 paramMap.put("key2", "value2"); in testBuildParams()
73 String params = mHelper.buildParameters(paramMap); in testBuildParams()
78 paramMap.clear(); in testBuildParams()
79 paramMap.put("key", "value1"); in testBuildParams()
80 paramMap.put("key", "value2"); in testBuildParams()
[all …]
/tools/tradefederation/core/common_util/com/android/tradefed/util/net/
DHttpHelper.java58 public String buildUrl(String baseUrl, MultiMap<String, String> paramMap) { in buildUrl() argument
60 if (paramMap != null && !paramMap.isEmpty()) { in buildUrl()
62 urlBuilder.append(buildParameters(paramMap)); in buildUrl()
71 public String buildParameters(MultiMap<String, String> paramMap) { in buildParameters() argument
74 for (String key : paramMap.keySet()) { in buildParameters()
75 for (String value : paramMap.get(key)) { in buildParameters()
DIHttpHelper.java49 public String buildUrl(String url, MultiMap<String, String> paramMap); in buildUrl() argument
58 public String buildParameters(MultiMap<String, String> paramMap); in buildParameters() argument