Home
last modified time | relevance | path

Searched refs:UTF_16 (Results 1 – 7 of 7) sorted by relevance

/external/guava/guava/src/com/google/common/base/
DCharsets.java81 public static final Charset UTF_16 = Charset.forName("UTF-16"); field in Charsets
/external/apache-http/src/org/apache/http/protocol/
DHTTP.java80 public static final String UTF_16 = "UTF-16"; field in HTTP
/external/guava/guava-tests/test/com/google/common/net/
DMediaTypeTest.java19 import static com.google.common.base.Charsets.UTF_16;
342 assertEquals(Optional.of(UTF_16),
412 .addEqualityGroup(MediaType.create("text", "plain").withCharset(UTF_16))
/external/guava/guava-tests/test/com/google/common/base/
DCharsetsTest.java62 assertEquals(Charset.forName("UTF-16"), Charsets.UTF_16); in testUtf16()
/external/protobuf/java/src/test/java/com/google/protobuf/
DByteStringTest.java59 private static final String UTF_16 = "UTF-16"; field in ByteStringTest
133 ByteString byteString = ByteString.copyFrom(testString, UTF_16); in testCopyFrom_StringEncoding()
134 byte[] testBytes = testString.getBytes(UTF_16); in testCopyFrom_StringEncoding()
/external/guava/guava-tests/test/com/google/common/io/
DByteStreamsTest.java19 import static com.google.common.base.Charsets.UTF_16;
355 byte[] expected = Arrays.copyOfRange("r\u00C9sum\u00C9".getBytes(UTF_16.name()), 2, 14); in testNewDataOutput_writeChars()
/external/guava/guava-tests/test/com/google/common/hash/
DHashTestUtils.java516 Charsets.UTF_16,