Home
last modified time | relevance | path

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

/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/
DCharsets.java127 public static final Charset UTF_16 = StandardCharsets.UTF_16; field in Charsets
DCharsetNames.java88 public static final String UTF_16 = "UTF-16"; field in CharsetNames
/external/sl4a/Common/src/org/apache/commons/codec/binary/
DStringUtils.java80 return StringUtils.getBytesUnchecked(string, CharEncoding.UTF_16); in getBytesUtf16()
233 return StringUtils.newString(bytes, CharEncoding.UTF_16); in newStringUtf16()
/external/sl4a/Common/src/org/apache/commons/codec/
DCharEncoding.java88 public static final String UTF_16 = "UTF-16"; field in CharEncoding
/external/guava/android/guava/src/com/google/common/base/
DCharsets.java94 public static final Charset UTF_16 = Charset.forName("UTF-16"); field in Charsets
/external/guava/guava/src/com/google/common/base/
DCharsets.java94 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/base/
DCharsetsTest.java59 assertEquals(Charset.forName("UTF-16"), Charsets.UTF_16); in testUtf16()
/external/guava/android/guava-tests/test/com/google/common/base/
DCharsetsTest.java59 assertEquals(Charset.forName("UTF-16"), Charsets.UTF_16); in testUtf16()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/metadata/icy/
DIcyDecoderTest.java22 import static java.nio.charset.StandardCharsets.UTF_16;
167 byte[] icyContent = "StreamTitle='tést';StreamURL='tést_url';".getBytes(UTF_16); in decode_unrecognisedEncoding()
/external/guava/guava-tests/test/com/google/common/net/
DMediaTypeTest.java19 import static com.google.common.base.Charsets.UTF_16;
523 assertThat(MediaType.parse("text/plain; charset=utf-16").charset()).hasValue(UTF_16);
598 .addEqualityGroup(MediaType.create("text", "plain").withCharset(UTF_16))
/external/guava/android/guava-tests/test/com/google/common/net/
DMediaTypeTest.java19 import static com.google.common.base.Charsets.UTF_16;
523 assertThat(MediaType.parse("text/plain; charset=utf-16").charset()).hasValue(UTF_16);
598 .addEqualityGroup(MediaType.create("text", "plain").withCharset(UTF_16))
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
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/cldr/tools/java/org/unicode/cldr/draft/keyboard/
DKeyboardTool.java71 String contents = Files.toString(keyboardLayout, Charsets.UTF_16); in parseWindowsKeyboards()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DByteStringTest.java59 private static final Charset UTF_16 = Charset.forName("UTF-16"); field in ByteStringTest
171 ByteString byteString = ByteString.copyFrom(testString, UTF_16); in testCopyFrom_StringEncoding()
172 byte[] testBytes = testString.getBytes(UTF_16); in testCopyFrom_StringEncoding()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/tar/
DTarArchiveInputStreamTest.java175 final String encoding = CharsetNames.UTF_16; in shouldUseSpecifiedEncodingWhenReadingGNULongNames()
/external/guava/android/guava-tests/test/com/google/common/io/
DByteStreamsTest.java385 byte[] computedExpected = "r\u00C9sum\u00C9".getBytes(Charsets.UTF_16); in testUtf16Expected()
/external/guava/guava-tests/test/com/google/common/io/
DByteStreamsTest.java385 byte[] computedExpected = "r\u00C9sum\u00C9".getBytes(Charsets.UTF_16); in testUtf16Expected()
/external/guava/android/guava-tests/test/com/google/common/hash/
DHashTestUtils.java633 Charsets.UTF_16,
/external/guava/guava-tests/test/com/google/common/hash/
DHashTestUtils.java633 Charsets.UTF_16,
/external/apache-http/api/
Dcurrent.txt3900 field @Deprecated public static final String UTF_16 = "UTF-16";