/frameworks/base/core/java/android/pim/vcard/ |
D | VCardComposer.java | 57 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 …]
|
D | VCardBuilder.java | 38 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 …]
|
D | VCardUtils.java | 33 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/ |
D | FilePart.java | 91 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()
|
D | StringPart.java | 78 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/ |
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/ |
D | PduPart.java | 219 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()
|
D | EncodedStringValue.java | 53 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()
|
D | PduPersister.java | 296 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 …]
|
D | PduParser.java | 764 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()
|
D | PduComposer.java | 327 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/ |
D | drm_i18n.h | 79 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/ |
D | drm_i18n.c | 85 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/ |
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;
|
/frameworks/base/core/java/com/android/internal/util/ |
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/core/tests/coretests/src/android/pim/vcard/test_utils/ |
D | VNodeBuilder.java | 28 import java.nio.charset.Charset; 162 Charset charset = Charset.forName(mSourceCharset); in encodeString() local 163 ByteBuffer byteBuffer = charset.encode(originalString); in encodeString()
|
D | VCardVerifier.java | 125 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/ |
D | VCardJapanizationTests.java | 109 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/ |
D | LocaleTest.java | 21 import java.nio.charset.Charset;
|
/frameworks/base/tools/preload/ |
D | WritePreloadedClassFile.java | 22 import java.nio.charset.Charset;
|
D | Root.java | 33 import java.nio.charset.Charset;
|
/frameworks/base/media/libdrm/mobile1/include/xml/ |
D | xml_tinyParser.h | 110 uint32_t charset; member
|
/frameworks/base/ |
D | preloaded-classes | 876 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/ |
D | xml_tinyparser.c | 618 pWbxml->charset = num; in WBXML_DOM_Init()
|
/frameworks/base/tests/DumpRenderTree/assets/results/ |
D | layout_tests_passed.txt | 1192 /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 …]
|