Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/pim/vcard/
DVCardComposer.java57 import java.nio.charset.UnsupportedCharsetException;
291 public VCardComposer(Context context, int vcardType, String charset) { in VCardComposer() argument
292 this(context, vcardType, charset, true); in VCardComposer()
313 public VCardComposer(final Context context, final int vcardType, String charset, in VCardComposer() argument
323 charset = (TextUtils.isEmpty(charset) ? VCardConfig.DEFAULT_EXPORT_CHARSET : charset); in VCardComposer()
325 VCardConfig.isVersion30(vcardType) && UTF_8.equalsIgnoreCase(charset)); in VCardComposer()
328 if (SHIFT_JIS.equalsIgnoreCase(charset)) { in VCardComposer()
331 charset = CharsetUtils.charsetForVendor(SHIFT_JIS, "docomo").name(); in VCardComposer()
336 charset = SHIFT_JIS; in VCardComposer()
340 charset = CharsetUtils.charsetForVendor(SHIFT_JIS).name(); in VCardComposer()
[all …]
DVCardBuilder.java38 import java.nio.charset.UnsupportedCharsetException;
133 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()
163 "The charset \"" + charset + "\" is used while " in VCardBuilder()
165 if (TextUtils.isEmpty(charset)) { in VCardBuilder()
169 charset = CharsetUtils.charsetForVendor(charset).name(); in VCardBuilder()
172 "Career-specific \"" + charset + "\" was not found (as usual). " in VCardBuilder()
175 mCharset = charset; in VCardBuilder()
180 charset = CharsetUtils.charsetForVendor(SHIFT_JIS, "docomo").name(); in VCardBuilder()
[all …]
DVCardUtils.java33 import java.nio.charset.Charset;
778 final Charset charset = Charset.forName(sourceCharset); in convertStringCharset() local
779 final ByteBuffer byteBuffer = charset.encode(originalString); in convertStringCharset()
/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/base/core/java/android/util/
DCharsetUtils.java21 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/
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.java53 public EncodedStringValue(int charset, byte[] data) { in EncodedStringValue() argument
59 mCharacterSet = charset; in EncodedStringValue()
97 public void setCharacterSet(int charset) { in setCharacterSet() argument
99 mCharacterSet = charset; in setCharacterSet()
DPduPersister.java296 int charset = c.getInt(charsetColumnIndex); in setEncodedStringValueToHeaders() local
298 charset, getBytes(s)); in setEncodedStringValueToHeaders()
364 Integer charset = getIntegerFromPartColumn( in loadParts() local
366 if (charset != null) { in loadParts()
367 part.setCharset(charset); in loadParts()
663 int charset = part.getCharset(); in persistPart() local
664 if (charset != 0 ) { in persistPart()
665 values.put(Part.CHARSET, charset); in persistPart()
907 int charset = part.getCharset(); in updatePart() local
908 if (charset != 0 ) { in updatePart()
[all …]
DPduParser.java764 Integer charset = (Integer) map.get(PduPart.P_CHARSET); in parseParts() local
765 if (null != charset) { in parseParts()
766 part.setCharset(charset); in parseParts()
927 int charset = 0; in parseEncodedStringValue() local
936 charset = parseShortInteger(pduDataStream); //get the "Charset" in parseEncodedStringValue()
942 if (0 != charset) { in parseEncodedStringValue()
943 returnValue = new EncodedStringValue(charset, textString); in parseEncodedStringValue()
1362 int charset = (int) parseIntegerValue(pduDataStream); in parseContentTypeParams() local
1364 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/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/base/core/tests/coretests/src/android/pim/vcard/test_utils/
DVNodeBuilder.java28 import java.nio.charset.Charset;
162 Charset charset = Charset.forName(mSourceCharset); in encodeString() local
163 ByteBuffer byteBuffer = charset.encode(originalString); in encodeString()
DVCardVerifier.java125 public void initForExportTest(int vcardType, String charset) { in initForExportTest() argument
133 if (TextUtils.isEmpty(charset)) { in initForExportTest()
136 mCharset = charset; in initForExportTest()
/frameworks/base/core/tests/coretests/src/android/pim/vcard/
DVCardJapanizationTests.java109 private void testPhoneticNameCommon(int vcardType, String charset) { in testPhoneticNameCommon() argument
110 mVerifier.initForExportTest(vcardType, charset); in testPhoneticNameCommon()
118 ("SHIFT_JIS".equalsIgnoreCase(charset) ? in testPhoneticNameCommon()
202 private void testPostalAddressWithJapaneseCommon(int vcardType, String charset) { in testPostalAddressWithJapaneseCommon() argument
203 mVerifier.initForExportTest(vcardType, charset); in testPostalAddressWithJapaneseCommon()
218 ContentValues contentValues = ("UTF-8".equalsIgnoreCase(charset) ? in testPostalAddressWithJapaneseCommon()
/frameworks/base/tests/CoreTests/android/core/
DLocaleTest.java21 import java.nio.charset.Charset;
/frameworks/base/tools/preload/
DWritePreloadedClassFile.java22 import java.nio.charset.Charset;
DRoot.java33 import java.nio.charset.Charset;
/frameworks/base/media/libdrm/mobile1/include/xml/
Dxml_tinyParser.h110 uint32_t charset; member
/frameworks/base/
Dpreloaded-classes876 com.ibm.icu4jni.charset.CharsetDecoderICU
877 com.ibm.icu4jni.charset.CharsetEncoderICU
878 com.ibm.icu4jni.charset.CharsetICU
879 com.ibm.icu4jni.charset.NativeConverter
1110 java.nio.charset.Charset
1111 java.nio.charset.Charset$1
1112 java.nio.charset.CharsetDecoder
1113 java.nio.charset.CharsetEncoder
1114 java.nio.charset.Charsets
1115 java.nio.charset.CoderResult
[all …]
/frameworks/base/media/libdrm/mobile1/src/xml/
Dxml_tinyparser.c618 pWbxml->charset = num; in WBXML_DOM_Init()
/frameworks/base/tests/DumpRenderTree/assets/results/
Dlayout_tests_passed.txt1192 /sdcard/android/layout_tests/fast/encoding/no-charset-on-dynamic-script-load.html
1196 /sdcard/android/layout_tests/fast/encoding/css-charset-evil.html
1197 /sdcard/android/layout_tests/fast/encoding/css-charset.html
1198 /sdcard/android/layout_tests/fast/encoding/xml-charset-utf16.html
1204 /sdcard/android/layout_tests/fast/encoding/charset-invalid.html
1207 /sdcard/android/layout_tests/fast/encoding/css-charset-dom.html
1208 /sdcard/android/layout_tests/fast/encoding/charset-utf16.html
1210 /sdcard/android/layout_tests/fast/encoding/css-link-charset.html
1218 /sdcard/android/layout_tests/fast/encoding/charset-xuser-defined.html
1221 /sdcard/android/layout_tests/fast/encoding/charset-cp1251.html
[all …]

12