Searched refs:parseCharset (Results 1 – 6 of 6) sorted by relevance
/external/volley/src/test/java/com/android/volley/toolbox/ |
D | HttpHeaderParserTest.java | 229 @Test public void parseCharset() { 232 assertEquals("utf-8", HttpHeaderParser.parseCharset(headers)); 236 assertEquals("utf-8", HttpHeaderParser.parseCharset(headers, "ISO-8859-1")); 240 assertEquals("utf-8", HttpHeaderParser.parseCharset(headers)); 244 assertEquals("utf-8", HttpHeaderParser.parseCharset(headers)); 248 assertEquals("ISO-8859-1", HttpHeaderParser.parseCharset(headers)); 252 assertEquals("utf-8", HttpHeaderParser.parseCharset(headers, "utf-8")); 256 assertEquals("ISO-8859-1", HttpHeaderParser.parseCharset(headers)); 260 assertEquals("ISO-8859-1", HttpHeaderParser.parseCharset(headers)); 264 assertEquals("utf-8", HttpHeaderParser.parseCharset(headers, "utf-8")); [all …]
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
D | HttpHeaderParser.java | 144 public static String parseCharset(Map<String, String> headers, String defaultCharset) { in parseCharset() method in HttpHeaderParser 165 public static String parseCharset(Map<String, String> headers) { in parseCharset() method in HttpHeaderParser 166 return parseCharset(headers, HTTP.DEFAULT_CONTENT_CHARSET); in parseCharset()
|
D | StringRequest.java | 67 parsed = new String(response.data, HttpHeaderParser.parseCharset(response.headers)); in parseNetworkResponse()
|
D | JsonArrayRequest.java | 64 HttpHeaderParser.parseCharset(response.headers, PROTOCOL_CHARSET)); in parseNetworkResponse()
|
D | JsonObjectRequest.java | 67 HttpHeaderParser.parseCharset(response.headers, PROTOCOL_CHARSET)); in parseNetworkResponse()
|
/external/fonttools/Lib/fontTools/ |
D | cffLib.py | 793 charset = parseCharset(numGlyphs, file, parent.strings, isCID, format) 913 def parseCharset(numGlyphs, file, strings, isCID, fmt): function
|