Home
last modified time | relevance | path

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

/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()
661 int charset = part.getCharset(); in persistPart() local
662 if (charset != 0 ) { in persistPart()
663 values.put(Part.CHARSET, charset); in persistPart()
903 int charset = part.getCharset(); in updatePart() local
904 if (charset != 0 ) { in updatePart()
[all …]
DPduParser.java749 Integer charset = (Integer) map.get(PduPart.P_CHARSET); in parseParts() local
750 if (null != charset) { in parseParts()
751 part.setCharset(charset); in parseParts()
904 int charset = 0; in parseEncodedStringValue() local
913 charset = parseShortInteger(pduDataStream); //get the "Charset" in parseEncodedStringValue()
919 if (0 != charset) { in parseEncodedStringValue()
920 returnValue = new EncodedStringValue(charset, textString); in parseEncodedStringValue()
1339 int charset = (int) parseIntegerValue(pduDataStream); in parseContentTypeParams() local
1341 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/pim/vcard/
DVCardDataBuilder.java28 import java.nio.charset.Charset;
85 public VCardDataBuilder(String charset, in VCardDataBuilder() argument
87 this(null, charset, strictLineBreakParsing, vcardType, account); in VCardDataBuilder()
192 Charset charset = Charset.forName(mSourceCharset); in encodeString() local
193 ByteBuffer byteBuffer = charset.encode(originalString); in encodeString()
303 String charset = in propertyValues() local
305 String targetCharset = CharsetUtils.nameForDefaultVendor(charset); in propertyValues()
DVCardParser.java71 public abstract boolean parse(InputStream is, String charset, VCardBuilder builder) in parse() argument
79 public abstract void parse(InputStream is, String charset, in parse() argument
DVCardParser_V21.java856 public boolean parse(InputStream is, String charset, VCardBuilder builder) in parse() argument
858 final InputStreamReader tmpReader = new InputStreamReader(is, charset); in parse()
885 public void parse(InputStream is, String charset, VCardBuilder builder, boolean canceled) in parse() argument
888 parse(is, charset, builder); in parse()
/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/tests/AndroidTests/src/com/android/unit_tests/vcard/
DVNodeBuilder.java30 import java.nio.charset.Charset;
73 public VNodeBuilder(String charset, boolean strictLineBreakParsing) { in VNodeBuilder() argument
74 this(null, charset, strictLineBreakParsing); in VNodeBuilder()
176 Charset charset = Charset.forName(mSourceCharset); in encodeString() local
177 ByteBuffer byteBuffer = charset.encode(originalString); in encodeString()
/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/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/tools/preload/
DWritePreloadedClassFile.java22 import java.nio.charset.Charset;
DRoot.java33 import java.nio.charset.Charset;
/frameworks/base/tests/CoreTests/android/core/
DLocaleTest.java21 import java.nio.charset.Charset;
/frameworks/base/media/libdrm/mobile1/include/xml/
Dxml_tinyParser.h110 uint32_t charset; member
/frameworks/base/
Dpreloaded-classes1170 com.ibm.icu4jni.charset.CharsetDecoderICU
1171 com.ibm.icu4jni.charset.CharsetEncoderICU
1172 com.ibm.icu4jni.charset.CharsetICU
1173 com.ibm.icu4jni.charset.CharsetProviderICU
1174 com.ibm.icu4jni.charset.NativeConverter
1399 java.nio.charset.Charset
1400 java.nio.charset.Charset$1
1401 java.nio.charset.CharsetDecoder
1402 java.nio.charset.CharsetEncoder
1403 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 …]
Dlayout_tests_failed.txt163 /sdcard/android/layout_tests/fast/encoding/charset-koi8-u.html
367 /sdcard/android/layout_tests/fast/forms/mailto/post-text-plain-with-accept-charset.html
559 /sdcard/android/layout_tests/http/tests/wml/go-task-get-method-accept-charset.html
562 /sdcard/android/layout_tests/http/tests/wml/go-task-post-method-accept-charset.html
/frameworks/base/docs/html/
Dsitemap.txt165 http://developer.android.com/reference/java/nio/charset/package-summary.html
166 http://developer.android.com/reference/java/nio/charset/spi/package-summary.html
1092 http://developer.android.com/reference/java/nio/charset/Charset.html
1093 http://developer.android.com/reference/java/nio/charset/CharsetDecoder.html
1094 http://developer.android.com/reference/java/nio/charset/CharsetEncoder.html
1095 http://developer.android.com/reference/java/nio/charset/spi/CharsetProvider.html
1101 http://developer.android.com/reference/java/nio/charset/CoderResult.html
1102 http://developer.android.com/reference/java/nio/charset/CodingErrorAction.html
1748 http://developer.android.com/reference/java/nio/charset/CharacterCodingException.html
1764 http://developer.android.com/reference/java/nio/charset/CoderMalfunctionError.html
[all …]