/frameworks/base/core/java/com/android/internal/http/multipart/ |
H A D | FilePart.java | 62 /** Default charset of file attachments. */ 88 * @param charset the charset encoding for this part, if <code>null</code> the 91 public FilePart(String name, PartSource partSource, String contentType, String charset) { argument 96 charset == null ? "ISO-8859-1" : charset, 137 * @param charset the charset encoding for this part, if <code>null</code> the 143 public FilePart(String name, File file, String contentType, String charset) argument 145 this(name, new FilePartSource(file), contentType, charset); 177 FilePart(String name, String fileName, File file, String contentType, String charset) argument [all...] |
H A D | StringPart.java | 58 /** Default charset of string parameters*/ 75 * @param charset the charset to be used to encode the string, if <code>null</code> 78 public StringPart(String name, String value, String charset) { argument 83 charset == null ? DEFAULT_CHARSET : charset, 107 * Gets the content in bytes. Bytes are lazily created to allow the charset to be changed
|
/frameworks/base/core/java/android/util/ |
H A D | CharsetUtils.java | 22 import java.nio.charset.Charset; 23 import java.nio.charset.IllegalCharsetNameException; 24 import java.nio.charset.UnsupportedCharsetException; 32 * in its interpretation of Japanese charset names (used in DoCoMo, 38 * each vendor-specific charset. You may need to modify the C libraries 39 * like icu4c in order to let Android support an additional charset. 61 * Represents one-to-one mapping from a vendor name to a charset specific to the vendor.
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | 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()
|
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardComposer.java | 166 * The variant which sets charset to null and sets careHandlerErrors to true. 172 public VCardComposer(Context context, int vcardType, String charset) { argument 173 this(context, vcardType, charset, true); 177 * The variant which sets charset to null. 189 * @param charset The charset to be used. Use null when you don't need the charset. 192 public VCardComposer(final Context context, final int vcardType, String charset, argument 194 this(context, context.getContentResolver(), vcardType, charset, careHandlerErrors); 203 final int vcardType, String charset, fina 202 VCardComposer(final Context context, ContentResolver resolver, final int vcardType, String charset, final boolean careHandlerErrors) argument [all...] |
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/ |
H A D | PduPart.java | 217 * @param charset the value 219 public void setCharset(int charset) { argument 220 mPartHeader.put(P_CHARSET, charset); 226 * @return the charset value. Return 0 if charset was not set. 229 Integer charset = (Integer) mPartHeader.get(P_CHARSET); 230 if(charset == null) { 233 return charset.intValue();
|
H A D | EncodedStringValue.java | 48 * @param charset the Char-set value 52 public EncodedStringValue(int charset, byte[] data) { argument 58 mCharacterSet = charset; 94 * @param charset the Char-set value 96 public void setCharacterSet(int charset) { argument 98 mCharacterSet = charset;
|
H A D | PduComposer.java | 327 int charset = enStr.getCharacterSet(); 334 * In the implementation of EncodedStringValue, the charset field will 341 appendShortInteger(charset); 947 // content-type parameter : charset 948 int charset = part.getCharset(); 949 if (charset != 0) { 951 appendShortInteger(charset);
|
H A D | PduParser.java | 803 /* get charset parameter */ 864 /* get charset parameter */ 865 Integer charset = (Integer) map.get(PduPart.P_CHARSET); 866 if (null != charset) { 867 part.setCharset(charset); 1028 int charset = 0; 1040 charset = parseShortInteger(pduDataStream); //get the "Charset" 1046 if (0 != charset) { 1047 returnValue = new EncodedStringValue(charset, textString); 1330 * four parameters used in mms: "type", "start", "name", "charset" [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | CountedDataInputStream.java | 25 import java.nio.charset.Charset; 131 public String readString(int n, Charset charset) throws IOException { argument 134 return new String(buf, charset);
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | MetadataMarshalString.java | 19 import java.nio.charset.Charset;
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | 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
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
H A D | UnsafeByteSequence.java | 19 import java.nio.charset.Charset;
|
H A D | Charsets.java | 20 import java.nio.charset.Charset; 23 * Defines the same class as the java.nio.charset.Charsets which was added in 30 * platform/libcore/luni/src/main/java/java/nio/charset/Charsets
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | 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;
|
H A D | FastXmlSerializer.java | 28 import java.nio.charset.Charset; 29 import java.nio.charset.CharsetEncoder; 30 import java.nio.charset.CoderResult; 31 import java.nio.charset.IllegalCharsetNameException; 32 import java.nio.charset.UnsupportedCharsetException;
|
H A D | ProcFileReader.java | 23 import java.nio.charset.StandardCharsets;
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
H A D | VCardJapanizationTests.java | 111 private void testPhoneticNameCommon(int vcardType, String charset) { argument 112 mVerifier.initForExportTest(vcardType, charset); 120 ("SHIFT_JIS".equalsIgnoreCase(charset) ? 204 private void testPostalAddressWithJapaneseCommon(int vcardType, String charset) { argument 205 mVerifier.initForExportTest(vcardType, charset); 220 ContentValues contentValues = ("UTF-8".equalsIgnoreCase(charset) ?
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
H A D | VCardVerifier.java | 121 public void initForExportTest(int vcardType, String charset) { argument 129 if (TextUtils.isEmpty(charset)) { 132 mCharset = charset; 240 // Note: we must not specify charset toward vCard parsers. This code checks whether 242 // charset.
|
H A D | VNodeBuilder.java | 30 import java.nio.charset.Charset; 53 * The charset using which VParser parses the text. 58 * The charset with which byte array is encoded to String.
|
/frameworks/base/tools/preload/ |
H A D | WritePreloadedClassFile.java | 22 import java.nio.charset.Charset;
|
H A D | Root.java | 33 import java.nio.charset.Charset;
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
H A D | ProcFileReaderTest.java | 23 import java.nio.charset.StandardCharsets;
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | GsmAlphabet.java | 26 import java.nio.charset.Charset; 576 Charset charset = null; 583 charset = Charset.forName(characterset); 623 // isMbcs must be true. So both mbcsBuffer and charset are initialized. 627 ret.append(charset.decode(mbcsBuffer).toString());
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
H A D | UsimDataDownloadTest.java | 23 import java.nio.charset.Charset;
|