Home
last modified time | relevance | path

Searched refs:withCharset (Results 1 – 5 of 5) sorted by relevance

/external/guava/guava-tests/test/com/google/common/net/
DMediaTypeTest.java393 MediaType.parse("text/plain").withCharset(UTF_8));
396 MediaType.parse("text/plain; charset=utf-16").withCharset(UTF_8));
562 MediaType.create("text", "plain").withCharset(UTF_8),
597 .addEqualityGroup(MediaType.create("text", "plain").withCharset(UTF_8))
598 .addEqualityGroup(MediaType.create("text", "plain").withCharset(UTF_16))
/external/guava/android/guava-tests/test/com/google/common/net/
DMediaTypeTest.java393 MediaType.parse("text/plain").withCharset(UTF_8));
396 MediaType.parse("text/plain; charset=utf-16").withCharset(UTF_8));
562 MediaType.create("text", "plain").withCharset(UTF_8),
597 .addEqualityGroup(MediaType.create("text", "plain").withCharset(UTF_8))
598 .addEqualityGroup(MediaType.create("text", "plain").withCharset(UTF_16))
/external/guava/android/guava/src/com/google/common/net/
DMediaType.java900 public MediaType withCharset(Charset charset) {
902 MediaType withCharset = withParameter(CHARSET_ATTRIBUTE, charset.name());
904 withCharset.parsedCharset = Optional.of(charset);
905 return withCharset;
/external/guava/guava/src/com/google/common/net/
DMediaType.java900 public MediaType withCharset(Charset charset) {
902 MediaType withCharset = withParameter(CHARSET_ATTRIBUTE, charset.name());
904 withCharset.parsedCharset = Optional.of(charset);
905 return withCharset;
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DPathSubject.java84 public PathSubject withCharset(Charset charset) { in withCharset() method in PathSubject