/frameworks/base/core/java/android/pim/vcard/ |
H A D | VCardParser.java | 47 * In order to avoid "misunderstanding" charset as much as possible, this method 48 * use "ISO-8859-1" for reading the stream. When charset is specified in some property 50 * the charset. This method assumes that "ISO-8859-1" has 1 to 1 mapping in all 8bit 56 * VCard comes from and explicitly specify a charset using the result. 69 * The method variants which accept charset. 74 * phone uses Shift_JIS as a charset (e.g. W61SH), and another uses 79 * @param charset Charset to be used. 84 public abstract boolean parse(InputStream is, String charset, VCardInterpreter builder) argument 90 public abstract void parse(InputStream is, String charset, argument
|
H A D | VCardEntryConstructor.java | 28 import java.nio.charset.Charset; 37 * If there's no other information available, this class uses this charset for encoding 47 * The charset using which {@link VCardInterpreter} parses the text. 52 * The charset with which byte array is encoded to String. 72 public VCardEntryConstructor(final String charset, final boolean strictLineBreakParsing, argument 74 this(null, charset, strictLineBreakParsing, vcardType, account); 173 Charset charset = Charset.forName(mInputCharset); 174 ByteBuffer byteBuffer = charset.encode(originalString); 182 Log.e(LOG_TAG, "Failed to encode: charset=" + charsetForDecodedBytes); 255 Log.e(LOG_TAG, "Failed to encode: charset [all...] |
H A D | VCardComposer.java | 56 import java.nio.charset.UnsupportedCharsetException; 183 Log.e(LOG_TAG, "Unsupported charset: " + mCharsetString); 301 String charset; 303 charset = CharsetUtils.charsetForVendor(SHIFT_JIS, "docomo").name(); 306 charset = SHIFT_JIS; 308 mCharsetString = charset; 310 String charset; 312 charset = CharsetUtils.charsetForVendor(SHIFT_JIS).name(); 315 charset = SHIFT_JIS; 317 mCharsetString = charset; [all...] |
H A D | VCardParser_V21.java | 605 * but today's vCard often contains other charset, so we allow them. 850 public boolean parse(InputStream is, String charset, VCardInterpreter builder) argument 852 if (charset == null) { 853 charset = VCardConfig.DEFAULT_CHARSET; 855 final InputStreamReader tmpReader = new InputStreamReader(is, charset); 882 public void parse(InputStream is, String charset, VCardInterpreter builder, boolean canceled) argument 885 parse(is, charset, builder);
|
H A D | VCardBuilder.java | 39 import java.nio.charset.UnsupportedCharsetException; 128 String charset; 130 charset = CharsetUtils.charsetForVendor(SHIFT_JIS, "docomo").name(); 133 charset = SHIFT_JIS; 135 mCharsetString = charset; 141 String charset; 143 charset = CharsetUtils.charsetForVendor(SHIFT_JIS).name(); 146 charset = SHIFT_JIS; 148 mCharsetString = charset; 1278 // Strictly, vCard 3.0 does not allow exporters to emit charset informatio [all...] |
/frameworks/base/media/libdrm/mobile1/include/objmng/ |
H A D | drm_i18n.h | 61 * Convert multibyte string of specified charset to unicode string. 64 * @param charset Charset of the multibyte string. 79 int32_t DRM_i18n_mbsToWcs(DRM_Charset_t charset, 85 * Convert unicode string to multibyte string with specified charset. 88 * @param charset Charset of the multibyte string to be converted to. 98 int32_t DRM_i18n_wcsToMbs(DRM_Charset_t charset,
|
/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 | 21 import java.nio.charset.Charset; 22 import java.nio.charset.IllegalCharsetNameException; 23 import java.nio.charset.UnsupportedCharsetException;
|
/frameworks/base/core/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 | 49 * @param charset the Char-set value 53 public EncodedStringValue(int charset, byte[] data) { argument 59 mCharacterSet = charset; 95 * @param charset the Char-set value 97 public void setCharacterSet(int charset) { argument 99 mCharacterSet = charset;
|
H A D | PduParser.java | 690 /* get charset parameter */ 748 /* get charset parameter */ 749 Integer charset = (Integer) map.get(PduPart.P_CHARSET); 750 if (null != charset) { 751 part.setCharset(charset); 904 int charset = 0; 913 charset = parseShortInteger(pduDataStream); //get the "Charset" 919 if (0 != charset) { 920 returnValue = new EncodedStringValue(charset, textString); 1203 * four parameters used in mms: "type", "start", "name", "charset" [all...] |
H A D | PduPersister.java | 296 int charset = c.getInt(charsetColumnIndex); 298 charset, getBytes(s)); 364 Integer charset = getIntegerFromPartColumn( 366 if (charset != null) { 367 part.setCharset(charset); 662 int charset = part.getCharset(); 663 if (charset != 0 ) { 664 values.put(Part.CHARSET, charset); 904 int charset = part.getCharset(); 905 if (charset ! [all...] |
H A D | PduComposer.java | 327 int charset = enStr.getCharacterSet(); 334 * In the implementation of EncodedStringValue, the charset field will 341 appendShortInteger(charset); 949 // content-type parameter : charset 950 int charset = part.getCharset(); 951 if (charset != 0) { 953 appendShortInteger(charset);
|
/frameworks/base/core/tests/coretests/src/android/pim/vcard/ |
H A D | VNodeBuilder.java | 30 import java.nio.charset.Charset; 46 * If there's no other information available, this class uses this charset for encoding 59 * The charset using which VParser parses the text. 64 * The charset with which byte array is encoded to String. 74 public VNodeBuilder(String charset, boolean strictLineBreakParsing) { argument 75 this(null, charset, strictLineBreakParsing); 176 Charset charset = Charset.forName(mSourceCharset); 177 ByteBuffer byteBuffer = charset.encode(originalString); 185 Log.e(LOG_TAG, "Failed to encode: charset=" + targetCharset); 243 Log.e(LOG_TAG, "Failed to encode: charset [all...] |
H A D | VCardVerifier.java | 216 String charset = 218 is = new ByteArrayInputStream(vcard.getBytes(charset));
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
H A D | drm_i18n.c | 85 int32_t DRM_i18n_mbsToWcs(DRM_Charset_t charset, argument 90 switch (charset) 123 return iso8859xToWcs(charset, mbs, mbsLen, wcsBuf, bufSizeInWideChar, bytesConsumed); 141 int32_t DRM_i18n_wcsToMbs(DRM_Charset_t charset, argument 149 switch (charset) 182 return wcsToIso8859x(charset, wcs, wcsLen, mbsBuf, bufSizeInByte);
|
/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/core/java/com/android/internal/util/ |
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;
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | LocaleTest.java | 21 import java.nio.charset.Charset;
|
/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/media/libdrm/mobile1/include/xml/ |
H A D | xml_tinyParser.h | 110 uint32_t charset; member in struct:_WBXML
|