HomeSort by relevance Sort by last modified time
    Searched refs:Charset (Results 101 - 125 of 180) sorted by null

1 2 3 45 6 7 8

  /development/tools/idegen/src/com/android/idegen/
IntellijProject.java 25 import java.nio.charset.Charset;
36 public static final Charset CHARSET = Charset.forName("UTF-8");
140 CHARSET);
155 Files.write(modulesContent, out, CHARSET);
162 CHARSET);
175 Files.write(vcsTemplate, new File(projectIdeaDir, "vcs.xml"), CHARSET);
180 Files.write(name, out, CHARSET);
    [all...]
MakeFileParser.java 30 import java.nio.charset.Charset;
92 Files.readLines(makeFile, Charset.forName("UTF-8"), new LineProcessor<Object>() {
  /external/chromium_org/third_party/WebKit/Source/core/css/
StyleRule.cpp 91 case Charset:
125 case Charset:
170 case Charset:
StyleRule.h 43 Charset, // Not used. These are internally strings owned by the style sheet.
58 bool isCharsetRule() const { return type() == Charset; }
  /external/guava/guava/src/com/google/common/io/
CharStreams.java 33 import java.nio.charset.Charset;
81 * @param charset the character set used to decode the input stream
85 final InputSupplier<? extends InputStream> in, final Charset charset) {
87 Preconditions.checkNotNull(charset);
91 return new InputStreamReader(in.getInput(), charset);
101 * @param charset the character set used to encode the output stream
105 final OutputSupplier<? extends OutputStream> out, final Charset charset) {
    [all...]
  /libcore/luni/src/main/java/java/io/
PrintStream.java 20 import java.nio.charset.Charset;
21 import java.nio.charset.IllegalCharsetNameException;
116 if (!Charset.isSupported(charsetName)) {
161 if (!Charset.isSupported(charsetName)) {
  /libcore/harmony-tests/src/test/java/tests/api/java/nio/charset/
CharsetEncoderTest.java 16 package tests.api.java.nio.charset;
20 import java.nio.charset.CharacterCodingException;
21 import java.nio.charset.Charset;
22 import java.nio.charset.CharsetDecoder;
23 import java.nio.charset.CharsetEncoder;
24 import java.nio.charset.CoderResult;
25 import java.nio.charset.CodingErrorAction;
26 import java.nio.charset.MalformedInputException;
27 import java.nio.charset.UnmappableCharacterException
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/handover/
HandoverManager.java 21 import java.nio.charset.Charset;
58 static final byte[] TYPE_NOKIA = "nokia.com:bt".getBytes(Charset.forName("US_ASCII"));
60 getBytes(Charset.forName("US_ASCII"));
564 result.name = new String(nameBytes, Charset.forName("UTF-8"));
600 result.name = new String(nameBytes, Charset.forName("UTF-8"));
606 result.name = new String(nameBytes, Charset.forName("UTF-8"));
  /external/jmonkeyengine/engine/src/core-plugins/com/jme3/asset/plugins/
HttpZipLocator.java 45 import java.nio.charset.CharacterCodingException;
46 import java.nio.charset.Charset;
47 import java.nio.charset.CharsetDecoder;
48 import java.nio.charset.CoderResult;
84 Charset utf8 = Charset.forName("UTF-8");
  /frameworks/base/core/java/com/android/internal/util/
FastPrintWriter.java 12 import java.nio.charset.Charset;
13 import java.nio.charset.CharsetEncoder;
14 import java.nio.charset.CoderResult;
15 import java.nio.charset.CodingErrorAction;
232 mCharset = Charset.forName(csn).newEncoder();
275 mCharset = Charset.defaultCharset().newEncoder();
  /frameworks/opt/mailcommon/java/com/android/mailcommon/
WebViewContextMenu.java 42 import java.nio.charset.Charset;
196 decodedPhoneExtra = URLDecoder.decode(extra, Charset.defaultCharset().name());
199 // Should never happen; default charset is UTF-8
249 geoExtra = URLEncoder.encode(extra, Charset.defaultCharset().name());
252 // Should never happen; default charset is UTF-8
  /development/samples/AndroidBeamDemo/src/com/example/android/beam/
Beam.java 39 import java.nio.charset.Charset;
  /libcore/libart/src/main/java/java/lang/
String.java 24 import java.nio.charset.Charset;
25 import java.nio.charset.Charsets;
58 * @see Charset
125 * {@link java.nio.charset.Charset#defaultCharset default charset}.
151 * {@link java.nio.charset.Charset#defaultCharset default charset}
    [all...]
  /libcore/libdvm/src/main/java/java/lang/
String.java 24 import java.nio.charset.Charset;
25 import java.nio.charset.Charsets;
58 * @see Charset
137 * {@link java.nio.charset.Charset#defaultCharset default charset}.
163 * {@link java.nio.charset.Charset#defaultCharset default charset}
    [all...]
  /external/guava/guava-tests/test/com/google/common/hash/
AbstractStreamingHasherTest.java 15 import java.nio.charset.Charset;
240 public HashCode hashString(CharSequence input, Charset charset) {
  /frameworks/base/core/java/com/android/internal/os/
LoggingPrintStream.java 24 import java.nio.charset.Charset;
25 import java.nio.charset.CharsetDecoder;
26 import java.nio.charset.CoderResult;
27 import java.nio.charset.CodingErrorAction;
56 * Decodes bytes to characters using the system default charset. Initialized
124 decoder = Charset.defaultCharset().newDecoder()
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
IsimUiccRecords.java 31 import java.nio.charset.Charset;
184 return new String(tlv.getData(), Charset.forName("UTF-8"));
  /libcore/luni/src/main/java/java/nio/charset/
CharsetDecoderICU.java 15 package java.nio.charset;
50 public static CharsetDecoderICU newInstance(Charset cs, String icuCanonicalName) {
68 private CharsetDecoderICU(Charset cs, float averageCharsPerByte, long address) {
CharsetEncoderICU.java 15 package java.nio.charset;
65 public static CharsetEncoderICU newInstance(Charset cs, String icuCanonicalName) {
94 private CharsetEncoderICU(Charset cs, float averageBytesPerChar, float maxBytesPerChar, byte[] replacement, long address) {
  /libcore/luni/src/test/java/libcore/java/nio/charset/
OldCharset_AbstractTest.java 17 package libcore.java.nio.charset;
21 import java.nio.charset.CharacterCodingException;
22 import java.nio.charset.Charset;
23 import java.nio.charset.CharsetDecoder;
24 import java.nio.charset.CharsetEncoder;
25 import java.nio.charset.CodingErrorAction;
29 * Super class for concrete charset test suites.
34 static private Charset charset; field in class:OldCharset_AbstractTest
    [all...]
  /packages/apps/Tag/canon/src/com/android/apps/tagcanon/
TagCanon.java 39 import java.nio.charset.Charset;
40 import java.nio.charset.StandardCharsets;
58 Charset utfEncoding = encodeInUtf8 ? StandardCharsets.UTF_8 : StandardCharsets.UTF_16;
  /cts/tests/tests/ndef/src/android/ndef/cts/
NdefTest.java 19 import java.nio.charset.Charset;
36 static final Charset ASCII = Charset.forName("US-ASCII");
37 static final Charset UTF8 = Charset.forName("UTF-8");
359 NdefRecord.createMime("text/plain; charset=us_ascii", null);
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/test/
test_email.py 17 from email.Charset import Charset
85 charset = Charset('iso-8859-1')
86 msg.set_charset(charset)
89 eq(msg['content-type'], 'text/plain; charset="iso-8859-1"')
90 eq(msg.get_param('charset'), 'iso-8859-1')
93 # Remove the charset
97 # Try adding a charset when there's already MIME headers present
102 msg.set_charset(charset)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/test/
test_email.py 17 from email.Charset import Charset
85 charset = Charset('iso-8859-1')
86 msg.set_charset(charset)
89 eq(msg['content-type'], 'text/plain; charset="iso-8859-1"')
90 eq(msg.get_param('charset'), 'iso-8859-1')
93 # Remove the charset
97 # Try adding a charset when there's already MIME headers present
102 msg.set_charset(charset)
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
Utility.java 71 import java.nio.charset.Charset;
83 public static final Charset UTF_8 = Charset.forName("UTF-8");
84 public static final Charset ASCII = Charset.forName("US-ASCII");
373 private static byte[] encode(Charset charset, String s) {
377 final ByteBuffer buffer = charset.encode(CharBuffer.wrap(s));
383 private static String decode(Charset charset, byte[] b)
    [all...]

Completed in 544 milliseconds

1 2 3 45 6 7 8