/frameworks/base/wifi/java/android/net/wifi/ |
WifiSsid.java | 26 import java.nio.charset.Charset; 27 import java.nio.charset.CharsetDecoder; 28 import java.nio.charset.CoderResult; 29 import java.nio.charset.CodingErrorAction; 172 Charset charset = Charset.forName("UTF-8"); 173 CharsetDecoder decoder = charset.newDecoder()
|
/libcore/luni/src/main/java/java/nio/channels/ |
Channels.java | 29 import java.nio.charset.Charset; 30 import java.nio.charset.CharsetDecoder; 31 import java.nio.charset.CharsetEncoder; 123 * the Charset decoder to be used. 145 * the name of the charset. 147 * @throws java.nio.charset.UnsupportedCharsetException 148 * if the given charset name is not supported. 155 return newReader(channel, Charset.forName(charsetName).newDecoder(), -1); 188 * the name of the charset [all...] |
/development/tools/idegen/src/com/android/idegen/ |
ModuleIndexes.java | 27 import java.nio.charset.Charset; 53 Files.readLines(indexFile, Charset.forName("UTF-8"),
|
/external/guava/guava/src/com/google/common/hash/ |
AbstractCompositeHashFunction.java | 5 import java.nio.charset.Charset; 113 @Override public Hasher putString(CharSequence chars, Charset charset) { 115 hasher.putString(chars, charset);
|
AbstractStreamingHashFunction.java | 23 import java.nio.charset.Charset; 40 @Override public HashCode hashString(CharSequence input, Charset charset) { 41 return newHasher().putString(input, charset).hash();
|
MessageDigestHashFunction.java | 27 import java.nio.charset.Charset; 150 @Override public Hasher putString(CharSequence charSequence, Charset charset) { 152 return putBytes(charSequence.toString().getBytes(charset.name()));
|
/external/guava/guava-tests/test/com/google/common/hash/ |
AbstractNonStreamingHashFunctionTest.java | 12 import java.nio.charset.Charset; 98 public HashCode hashString(CharSequence input, Charset charset) {
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
CountedDataInputStream.java | 25 import java.nio.charset.Charset; 131 public String readString(int n, Charset charset) throws IOException { 134 return new String(buf, charset);
|
/frameworks/base/tools/preload/ |
WritePreloadedClassFile.java | 22 import java.nio.charset.Charset; 59 Charset.forName("US-ASCII")));
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
CountedDataInputStream.java | 25 import java.nio.charset.Charset; 131 public String readString(int n, Charset charset) throws IOException { 134 return new String(buf, charset);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
CountedDataInputStream.java | 25 import java.nio.charset.Charset; 131 public String readString(int n, Charset charset) throws IOException { 134 return new String(buf, charset);
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/ |
CountedDataInputStream.java | 25 import java.nio.charset.Charset; 131 public String readString(int n, Charset charset) throws IOException { 134 return new String(buf, charset);
|
/packages/apps/Mms/src/com/android/mms/exif/ |
CountedDataInputStream.java | 25 import java.nio.charset.Charset; 131 public String readString(int n, Charset charset) throws IOException { 134 return new String(buf, charset);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
ChannelsTest.java | 37 import java.nio.charset.Charset; 38 import java.nio.charset.UnsupportedCharsetException; 366 Channels.newReader(rbChannel, Charset.forName(BAD_CODE_SET) 379 Channels.newWriter(wbChannel, Charset.forName(BAD_CODE_SET) 400 testReader = Channels.newReader(null, Charset.forName(CODE_SET).newDecoder(), -1); 414 testReader = Channels.newReader(rbChannel, Charset.forName(CODE_SET).newDecoder(), -1); 437 testReader = Channels.newReader(null, Charset.forName(CODE_SET).newDecoder(), 0); 450 testReader = Channels.newReader(rbChannel, Charset.forName(CODE_SET).newDecoder(), -1); 470 Reader testReader = Channels.newReader(rbChannel, Charset.forName [all...] |
/external/jmonkeyengine/engine/src/xml/com/jme3/export/xml/ |
DOMSerializer.java | 36 import java.nio.charset.Charset; 51 private Charset encoding = Charset.forName("utf-8"); 111 * @throws IllegalCharsetNameException if the given charset name is illegal. 112 * @throws UnsupportedCharsetException if the given charset is not supported by the 116 this.encoding = Charset.forName(encoding);
|
/libcore/benchmarks/src/benchmarks/regression/ |
CharsetBenchmark.java | 19 import java.nio.charset.Charset; 27 // canonical => canonical charset name 28 // built-in => guaranteed-present charset 29 // special-case => libcore treats this charset specially for performance
|
/libcore/luni/src/main/java/java/nio/charset/ |
CharsetDecoder.java | 17 package java.nio.charset; 25 * A converter that can convert a byte sequence from a charset into a 16-bit 56 * charset, the other is named unmappable character and it is returned when a 72 * decoding process for all charsets. Decoders for a specific charset should 81 * @see java.nio.charset.Charset 82 * @see java.nio.charset.CharsetEncoder 90 private final Charset charset; field in class:CharsetDecoder 104 * <code>Charset</code>, average number and maximum number of character 142 public final Charset charset() { method in class:CharsetDecoder [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/codec/ |
EncoderUtil.java | 23 import java.nio.charset.Charset; 253 * The charset to encode the specified text into a byte array and the 277 * The charset to encode the specified text into a byte array and the 308 * @param charset 309 * the Java charset that should be used to encode the specified 310 * string into a byte array. A suitable charset is detected 321 int usedCharacters, Charset charset, Encoding encoding) { 327 if (charset == null [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/ |
DesignerPlugin.java | 31 import java.nio.charset.Charset; 93 * @param charset the charset to use 96 public static String readFile(InputStream inputStream, Charset charset) { 102 final InputStreamReader isr = new InputStreamReader(inputStream, charset);
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
SCPClient.java | 5 import java.nio.charset.Charset; 6 import java.nio.charset.UnsupportedCharsetException; 27 * Set the charset used to convert between Java Unicode Strings and byte encodings 30 * @param charset the name of the charset to be used or <code>null</code> to use the platform's 35 public void setCharset(String charset) throws IOException 37 if (charset == null) 39 charsetName = charset; 45 Charset.forName(charset) [all...] |
/libcore/luni/src/main/java/java/util/logging/ |
Handler.java | 21 import java.nio.charset.Charset; 272 if (Charset.isSupported(newEncoding)) {
|
/libcore/luni/src/main/java/libcore/io/ |
IoUtils.java | 25 import java.nio.charset.Charset; 26 import java.nio.charset.StandardCharsets; 271 public String toString(Charset cs) {
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/x509/ |
SubjectPublicKeyInfoTest.java | 26 import java.nio.charset.Charset; 45 private static final byte[] ENCODED_BROKEN = "BROKEN!".getBytes(Charset.forName("ASCII"));
|
/pdk/apps/CameraITS/service/src/com/android/camera2/its/ |
ItsUtils.java | 35 import java.nio.charset.Charset; 42 return ByteBuffer.wrap(jsonObj.toString().getBytes(Charset.defaultCharset()));
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
MimeRecord.java | 31 import java.nio.charset.Charset;
|