/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 | VCardJapanizationTests.java | 109 private void testPhoneticNameCommon(int vcardType, String charset) { argument 110 mVerifier.initForExportTest(vcardType, charset); 118 ("SHIFT_JIS".equalsIgnoreCase(charset) ? 202 private void testPostalAddressWithJapaneseCommon(int vcardType, String charset) { argument 203 mVerifier.initForExportTest(vcardType, charset); 218 ContentValues contentValues = ("UTF-8".equalsIgnoreCase(charset) ?
|
/frameworks/base/core/java/android/pim/vcard/ |
H A D | VCardComposer.java | 57 import java.nio.charset.UnsupportedCharsetException; 185 Log.e(LOG_TAG, "Unsupported charset: " + mCharset); 285 * The variant which sets charset to null and sets careHandlerErrors to true. 291 public VCardComposer(Context context, int vcardType, String charset) { argument 292 this(context, vcardType, charset, true); 296 * The variant which sets charset to null. 308 * @param charset The charset to be used. Use null when you don't need the charset. 313 public VCardComposer(final Context context, final int vcardType, String charset, argument [all...] |
H A D | VCardBuilder.java | 38 import java.nio.charset.UnsupportedCharsetException; 124 // Default charset should be used 130 * @param charset If null, we use default charset for export. 133 public VCardBuilder(final int vcardType, String charset) { argument 153 // vCard 2.1 requires charset. 155 // the exact charset. 156 // We currently append it only when charset other than UTF_8 is used. 158 !(VCardConfig.isVersion30(vcardType) && "UTF-8".equalsIgnoreCase(charset)); 161 if (!SHIFT_JIS.equalsIgnoreCase(charset)) { [all...] |
/frameworks/base/core/tests/coretests/src/android/pim/vcard/test_utils/ |
H A D | VCardVerifier.java | 125 public void initForExportTest(int vcardType, String charset) { argument 133 if (TextUtils.isEmpty(charset)) { 136 mCharset = charset; 257 // Note: we must not specify charset toward vCard parsers. This code checks whether 259 // 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/media/libdrm/mobile1/include/xml/ |
H A D | xml_tinyParser.h | 110 uint32_t charset; member in struct:_WBXML
|