/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 | 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);
|
/frameworks/base/core/java/com/android/internal/http/multipart/ |
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
|
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...] |
/frameworks/base/core/java/com/google/android/mms/pdu/ |
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 | 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();
|
/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...] |
/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/media/libdrm/mobile1/include/xml/ |
H A D | xml_tinyParser.h | 110 uint32_t charset; member in struct:_WBXML
|