Searched refs:charset (Results 1 - 25 of 36) sorted by relevance

12

/frameworks/base/media/libdrm/mobile1/include/objmng/
H A Ddrm_i18n.h61 * Convert multibyte string of specified charset to unicode string.
64 * @param charset Charset of the multibyte string.
79 int32_t DRM_i18n_mbsToWcs(DRM_Charset_t charset,
85 * Convert unicode string to multibyte string with specified charset.
88 * @param charset Charset of the multibyte string to be converted to.
98 int32_t DRM_i18n_wcsToMbs(DRM_Charset_t charset,
/frameworks/base/core/java/com/android/internal/http/multipart/
H A DFilePart.java62 /** 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...]
H A DStringPart.java58 /** 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
/frameworks/base/core/java/android/util/
H A DCharsetUtils.java22 import java.nio.charset.Charset;
23 import java.nio.charset.IllegalCharsetNameException;
24 import java.nio.charset.UnsupportedCharsetException;
32 * in its interpretation of Japanese charset names (used in DoCoMo,
38 * each vendor-specific charset. You may need to modify the C libraries
39 * like icu4c in order to let Android support an additional charset.
61 * Represents one-to-one mapping from a vendor name to a charset specific to the vendor.
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardComposer.java166 * The variant which sets charset to null and sets careHandlerErrors to true.
172 public VCardComposer(Context context, int vcardType, String charset) { argument
173 this(context, vcardType, charset, true);
177 * The variant which sets charset to null.
189 * @param charset The charset to be used. Use null when you don't need the charset.
192 public VCardComposer(final Context context, final int vcardType, String charset, argument
194 this(context, context.getContentResolver(), vcardType, charset, careHandlerErrors);
203 final int vcardType, String charset, fina
202 VCardComposer(final Context context, ContentResolver resolver, final int vcardType, String charset, final boolean careHandlerErrors) argument
[all...]
/frameworks/base/core/java/com/google/android/mms/pdu/
H A DPduPart.java217 * @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();
H A DEncodedStringValue.java48 * @param charset the Char-set value
52 public EncodedStringValue(int charset, byte[] data) { argument
58 mCharacterSet = charset;
94 * @param charset the Char-set value
96 public void setCharacterSet(int charset) { argument
98 mCharacterSet = charset;
H A DPduPersister.java295 int charset = c.getInt(charsetColumnIndex);
297 charset, getBytes(s));
363 Integer charset = getIntegerFromPartColumn(
365 if (charset != null) {
366 part.setCharset(charset);
662 int charset = part.getCharset();
663 if (charset != 0 ) {
664 values.put(Part.CHARSET, charset);
913 int charset = part.getCharset();
914 if (charset !
[all...]
H A DPduComposer.java327 int charset = enStr.getCharacterSet();
334 * In the implementation of EncodedStringValue, the charset field will
341 appendShortInteger(charset);
949 // content-type parameter : charset
950 int charset = part.getCharset();
951 if (charset != 0) {
953 appendShortInteger(charset);
H A DPduParser.java711 /* get charset parameter */
769 /* get charset parameter */
770 Integer charset = (Integer) map.get(PduPart.P_CHARSET);
771 if (null != charset) {
772 part.setCharset(charset);
933 int charset = 0;
942 charset = parseShortInteger(pduDataStream); //get the "Charset"
948 if (0 != charset) {
949 returnValue = new EncodedStringValue(charset, textString);
1232 * four parameters used in mms: "type", "start", "name", "charset"
[all...]
/frameworks/base/media/libdrm/mobile1/src/objmng/
H A Ddrm_i18n.c85 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/core/java/com/android/internal/os/
H A 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;
56 * Decodes bytes to characters using the system default charset. Initialized
/frameworks/base/core/java/com/android/internal/util/
H A 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;
H A DProcFileReader.java22 import java.nio.charset.Charsets;
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
H A DVCardJapanizationTests.java111 private void testPhoneticNameCommon(int vcardType, String charset) { argument
112 mVerifier.initForExportTest(vcardType, charset);
120 ("SHIFT_JIS".equalsIgnoreCase(charset) ?
204 private void testPostalAddressWithJapaneseCommon(int vcardType, String charset) { argument
205 mVerifier.initForExportTest(vcardType, charset);
220 ContentValues contentValues = ("UTF-8".equalsIgnoreCase(charset) ?
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DVCardVerifier.java121 public void initForExportTest(int vcardType, String charset) { argument
129 if (TextUtils.isEmpty(charset)) {
132 mCharset = charset;
236 // Note: we must not specify charset toward vCard parsers. This code checks whether
238 // charset.
/frameworks/base/core/java/com/android/server/
H A DNetworkManagementSocketTagger.java32 import java.nio.charset.Charsets;
/frameworks/base/telephony/java/com/android/internal/telephony/ims/
H A DIsimUiccRecords.java27 import java.nio.charset.Charset;
/frameworks/base/tools/preload/
H A DWritePreloadedClassFile.java22 import java.nio.charset.Charset;
/frameworks/base/core/java/android/nfc/
H A DNdefRecord.java24 import java.nio.charset.Charset;
25 import java.nio.charset.Charsets;
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DProcFileReaderTest.java23 import java.nio.charset.Charsets;
/frameworks/base/keystore/java/android/security/
H A DCredentials.java32 import java.nio.charset.Charsets;
H A DKeyStore.java26 import java.nio.charset.Charsets;
/frameworks/base/media/libdrm/mobile1/include/xml/
H A Dxml_tinyParser.h110 uint32_t charset; member in struct:_WBXML
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DGsmAlphabet.java26 import java.nio.charset.Charset;
527 Charset charset = null;
534 charset = Charset.forName(characterset);
574 // isMbcs must be true. So both mbcsBuffer and charset are initialized.
578 ret.append(charset.decode(mbcsBuffer).toString());

Completed in 384 milliseconds

12