Home
last modified time | relevance | path

Searched refs:charset (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/http/multipart/
DFilePart.java91 public FilePart(String name, PartSource partSource, String contentType, String charset) { in FilePart() argument
96 charset == null ? "ISO-8859-1" : charset, in FilePart()
143 public FilePart(String name, File file, String contentType, String charset) in FilePart() argument
145 this(name, new FilePartSource(file), contentType, charset); in FilePart()
177 public FilePart(String name, String fileName, File file, String contentType, String charset) in FilePart() argument
179 this(name, new FilePartSource(fileName, file), contentType, charset); in FilePart()
DStringPart.java78 public StringPart(String name, String value, String charset) { in StringPart() argument
83 charset == null ? DEFAULT_CHARSET : charset, in StringPart()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardComposer.java172 public VCardComposer(Context context, int vcardType, String charset) { in VCardComposer() argument
173 this(context, vcardType, charset, true); in VCardComposer()
192 public VCardComposer(final Context context, final int vcardType, String charset, in VCardComposer() argument
194 this(context, context.getContentResolver(), vcardType, charset, careHandlerErrors); in VCardComposer()
203 final int vcardType, String charset, final boolean careHandlerErrors) { in VCardComposer() argument
211 charset = (TextUtils.isEmpty(charset) ? VCardConfig.DEFAULT_EXPORT_CHARSET : charset); in VCardComposer()
213 VCardConfig.isVersion30(vcardType) && UTF_8.equalsIgnoreCase(charset)); in VCardComposer()
217 if (SHIFT_JIS.equalsIgnoreCase(charset)) { in VCardComposer()
237 mCharset = charset; in VCardComposer()
242 if (TextUtils.isEmpty(charset)) { in VCardComposer()
[all …]
DVCardBuilder.java134 public VCardBuilder(final int vcardType, String charset) { in VCardBuilder() argument
158 !(VCardConfig.isVersion30(vcardType) && "UTF-8".equalsIgnoreCase(charset)); in VCardBuilder()
161 if (!SHIFT_JIS.equalsIgnoreCase(charset)) { in VCardBuilder()
165 if (TextUtils.isEmpty(charset)) { in VCardBuilder()
175 mCharset = charset; in VCardBuilder()
197 mCharset = charset; in VCardBuilder()
201 if (TextUtils.isEmpty(charset)) { in VCardBuilder()
216 mCharset = charset; in VCardBuilder()
217 mVCardCharsetParameter = "CHARSET=" + charset; in VCardBuilder()
/frameworks/base/core/java/com/google/android/mms/pdu/
DPduPart.java219 public void setCharset(int charset) { in setCharset() argument
220 mPartHeader.put(P_CHARSET, charset); in setCharset()
229 Integer charset = (Integer) mPartHeader.get(P_CHARSET); in getCharset() local
230 if(charset == null) { in getCharset()
233 return charset.intValue(); in getCharset()
DEncodedStringValue.java52 public EncodedStringValue(int charset, byte[] data) { in EncodedStringValue() argument
58 mCharacterSet = charset; in EncodedStringValue()
96 public void setCharacterSet(int charset) { in setCharacterSet() argument
98 mCharacterSet = charset; in setCharacterSet()
DPduPersister.java295 int charset = c.getInt(charsetColumnIndex); in setEncodedStringValueToHeaders() local
297 charset, getBytes(s)); in setEncodedStringValueToHeaders()
363 Integer charset = getIntegerFromPartColumn( in loadParts() local
365 if (charset != null) { in loadParts()
366 part.setCharset(charset); in loadParts()
662 int charset = part.getCharset(); in persistPart() local
663 if (charset != 0 ) { in persistPart()
664 values.put(Part.CHARSET, charset); in persistPart()
913 int charset = part.getCharset(); in updatePart() local
914 if (charset != 0 ) { in updatePart()
[all …]
DPduParser.java770 Integer charset = (Integer) map.get(PduPart.P_CHARSET); in parseParts() local
771 if (null != charset) { in parseParts()
772 part.setCharset(charset); in parseParts()
933 int charset = 0; in parseEncodedStringValue() local
942 charset = parseShortInteger(pduDataStream); //get the "Charset" in parseEncodedStringValue()
948 if (0 != charset) { in parseEncodedStringValue()
949 returnValue = new EncodedStringValue(charset, textString); in parseEncodedStringValue()
1368 int charset = (int) parseIntegerValue(pduDataStream); in parseContentTypeParams() local
1370 map.put(PduPart.P_CHARSET, charset); in parseContentTypeParams()
DPduComposer.java327 int charset = enStr.getCharacterSet(); in appendEncodedString() local
341 appendShortInteger(charset); in appendEncodedString()
950 int charset = part.getCharset(); in makeMessageBody() local
951 if (charset != 0) { in makeMessageBody()
953 appendShortInteger(charset); in makeMessageBody()
/frameworks/base/core/java/android/util/
DCharsetUtils.java22 import java.nio.charset.Charset;
23 import java.nio.charset.IllegalCharsetNameException;
24 import java.nio.charset.UnsupportedCharsetException;
/frameworks/base/media/libdrm/mobile1/include/objmng/
Ddrm_i18n.h79 int32_t DRM_i18n_mbsToWcs(DRM_Charset_t charset,
98 int32_t DRM_i18n_wcsToMbs(DRM_Charset_t charset,
/frameworks/base/media/libdrm/mobile1/src/objmng/
Ddrm_i18n.c85 int32_t DRM_i18n_mbsToWcs(DRM_Charset_t charset, in DRM_i18n_mbsToWcs() argument
90 switch (charset) in DRM_i18n_mbsToWcs()
123 return iso8859xToWcs(charset, mbs, mbsLen, wcsBuf, bufSizeInWideChar, bytesConsumed); in DRM_i18n_mbsToWcs()
141 int32_t DRM_i18n_wcsToMbs(DRM_Charset_t charset, in DRM_i18n_wcsToMbs() argument
149 switch (charset) in DRM_i18n_wcsToMbs()
182 return wcsToIso8859x(charset, wcs, wcsLen, mbsBuf, bufSizeInByte); in DRM_i18n_wcsToMbs()
/frameworks/base/core/java/com/android/internal/os/
DLoggingPrintStream.java24 import java.nio.charset.Charset;
25 import java.nio.charset.CharsetDecoder;
26 import java.nio.charset.CoderResult;
27 import java.nio.charset.CodingErrorAction;
/frameworks/base/core/java/com/android/internal/util/
DFastXmlSerializer.java28 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/opt/vcard/tests/src/com/android/vcard/tests/
DVCardJapanizationTests.java111 private void testPhoneticNameCommon(int vcardType, String charset) { in testPhoneticNameCommon() argument
112 mVerifier.initForExportTest(vcardType, charset); in testPhoneticNameCommon()
120 ("SHIFT_JIS".equalsIgnoreCase(charset) ? in testPhoneticNameCommon()
204 private void testPostalAddressWithJapaneseCommon(int vcardType, String charset) { in testPostalAddressWithJapaneseCommon() argument
205 mVerifier.initForExportTest(vcardType, charset); in testPostalAddressWithJapaneseCommon()
220 ContentValues contentValues = ("UTF-8".equalsIgnoreCase(charset) ? in testPostalAddressWithJapaneseCommon()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DVCardVerifier.java121 public void initForExportTest(int vcardType, String charset) { in initForExportTest() argument
129 if (TextUtils.isEmpty(charset)) { in initForExportTest()
132 mCharset = charset; in initForExportTest()
DVNodeBuilder.java30 import java.nio.charset.Charset;
/frameworks/base/core/java/android/nfc/
DNdefRecord.java24 import java.nio.charset.Charset;
25 import java.nio.charset.Charsets;
/frameworks/base/telephony/java/com/android/internal/telephony/
DGsmAlphabet.java26 import java.nio.charset.Charset;
527 Charset charset = null; in gsm8BitUnpackedToString() local
534 charset = Charset.forName(characterset); in gsm8BitUnpackedToString()
578 ret.append(charset.decode(mbcsBuffer).toString()); in gsm8BitUnpackedToString()
/frameworks/base/tools/preload/
DWritePreloadedClassFile.java22 import java.nio.charset.Charset;
DRoot.java33 import java.nio.charset.Charset;
/frameworks/base/core/java/com/android/server/
DNetworkManagementSocketTagger.java32 import java.nio.charset.Charsets;
/frameworks/base/telephony/java/com/android/internal/telephony/ims/
DIsimUiccRecords.java27 import java.nio.charset.Charset;
/frameworks/base/media/libdrm/mobile1/include/xml/
Dxml_tinyParser.h110 uint32_t charset; member
/frameworks/base/keystore/java/android/security/
DCredentials.java32 import java.nio.charset.Charsets;

12