Home
last modified time | relevance | path

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

12345678910

/frameworks/base/core/java/android/net/
DUriCodec.java21 import java.nio.charset.CharacterCodingException;
22 import java.nio.charset.Charset;
23 import java.nio.charset.CharsetDecoder;
24 import java.nio.charset.CodingErrorAction;
77 String s, boolean convertPlus, Charset charset, boolean throwOnFailure) { in decode() argument
79 appendDecoded(builder, s, convertPlus, charset, throwOnFailure); in decode()
92 Charset charset, in appendDecoded() argument
94 CharsetDecoder decoder = charset.newDecoder() in appendDecoded()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardComposer.java174 public VCardComposer(Context context, int vcardType, String charset) { in VCardComposer() argument
175 this(context, vcardType, charset, true); in VCardComposer()
194 public VCardComposer(final Context context, final int vcardType, String charset, in VCardComposer() argument
196 this(context, context.getContentResolver(), vcardType, charset, careHandlerErrors); in VCardComposer()
205 final int vcardType, String charset, final boolean careHandlerErrors) { in VCardComposer() argument
213 charset = (TextUtils.isEmpty(charset) ? VCardConfig.DEFAULT_EXPORT_CHARSET : charset); in VCardComposer()
215 VCardConfig.isVersion30(vcardType) && UTF_8.equalsIgnoreCase(charset)); in VCardComposer()
218 if (SHIFT_JIS.equalsIgnoreCase(charset)) { in VCardComposer()
219 mCharset = charset; in VCardComposer()
224 if (TextUtils.isEmpty(charset)) { in VCardComposer()
[all …]
/frameworks/base/telephony/common/com/google/android/mms/pdu/
DPduPart.java242 public void setCharset(int charset) { in setCharset() argument
243 mPartHeader.put(P_CHARSET, charset); in setCharset()
253 Integer charset = (Integer) mPartHeader.get(P_CHARSET); in getCharset() local
254 if(charset == null) { in getCharset()
257 return charset.intValue(); in getCharset()
DEncodedStringValue.java55 public EncodedStringValue(int charset, byte[] data) { in EncodedStringValue() argument
61 mCharacterSet = charset; in EncodedStringValue()
103 public void setCharacterSet(int charset) { in setCharacterSet() argument
105 mCharacterSet = charset; in setCharacterSet()
DPduParser.java872 Integer charset = (Integer) map.get(PduPart.P_CHARSET); in parseParts() local
873 if (null != charset) { in parseParts()
874 part.setCharset(charset); in parseParts()
1038 int charset = 0; in parseEncodedStringValue() local
1050 charset = parseShortInteger(pduDataStream); //get the "Charset" in parseEncodedStringValue()
1056 if (0 != charset) { in parseEncodedStringValue()
1057 returnValue = new EncodedStringValue(charset, textString); in parseEncodedStringValue()
1478 int charset = (int) parseIntegerValue(pduDataStream); in parseContentTypeParams() local
1480 map.put(PduPart.P_CHARSET, charset); in parseContentTypeParams()
DPduComposer.java344 int charset = enStr.getCharacterSet(); in appendEncodedString() local
358 appendShortInteger(charset); in appendEncodedString()
987 int charset = part.getCharset(); in makeMessageBody() local
988 if (charset != 0) { in makeMessageBody()
990 appendShortInteger(charset); in makeMessageBody()
DPduPersister.java320 int charset = c.getInt(charsetColumnIndex); in setEncodedStringValueToHeaders() local
322 charset, getBytes(s)); in setEncodedStringValueToHeaders()
390 Integer charset = getIntegerFromPartColumn( in loadParts() local
392 if (charset != null) { in loadParts()
393 part.setCharset(charset); in loadParts()
723 int charset = part.getCharset(); in persistPart() local
724 if (charset != 0 ) { in persistPart()
725 values.put(Part.CHARSET, charset); in persistPart()
1057 int charset = part.getCharset(); in updatePart() local
1058 if (charset != 0 ) { in updatePart()
[all …]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DCountedDataInputStream.java25 import java.nio.charset.Charset;
131 public String readString(int n, Charset charset) throws IOException { in readString() argument
134 return new String(buf, charset); in readString()
/frameworks/base/core/java/com/android/internal/util/
DFastXmlSerializer.java30 import java.nio.charset.Charset;
31 import java.nio.charset.CharsetEncoder;
32 import java.nio.charset.CoderResult;
33 import java.nio.charset.CodingErrorAction;
34 import java.nio.charset.IllegalCharsetNameException;
35 import java.nio.charset.UnsupportedCharsetException;
DFastPrintWriter.java30 import java.nio.charset.Charset;
31 import java.nio.charset.CharsetEncoder;
32 import java.nio.charset.CoderResult;
33 import java.nio.charset.CodingErrorAction;
/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/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/base/tools/powermodel/src/com/android/powermodel/
DCsvParser.java21 import java.nio.charset.Charset;
22 import java.nio.charset.StandardCharsets;
/frameworks/base/core/java/android/util/jar/
DStrictJarManifest.java29 import java.nio.charset.CharsetEncoder;
30 import java.nio.charset.CoderResult;
31 import java.nio.charset.StandardCharsets;
/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()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DVisualVoicemailSmsFilter.java37 import java.nio.charset.CharacterCodingException;
38 import java.nio.charset.CharsetDecoder;
39 import java.nio.charset.StandardCharsets;
/frameworks/base/core/java/com/android/internal/app/
DChooserUtil.java19 import java.nio.charset.Charset;
/frameworks/base/core/tests/coretests/src/android/net/
DUriCodecTest.java21 import java.nio.charset.StandardCharsets;
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/utils/
DStreamUtils.java19 import static java.nio.charset.StandardCharsets.UTF_8;
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/chunking/cdc/
DFingerprintMixer.java22 import java.nio.charset.StandardCharsets;
/frameworks/base/services/core/java/com/android/server/integrity/serializer/
DRuleMetadataSerializer.java31 import java.nio.charset.StandardCharsets;
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/io/
DFiles.java25 import java.nio.charset.StandardCharsets;
/frameworks/base/telecomm/java/android/telecom/
DParcelableRttCall.java27 import java.nio.charset.StandardCharsets;
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/testing/shadows/
DDataEntity.java19 import java.nio.charset.StandardCharsets;
/frameworks/base/apct-tests/perftests/core/src/android/util/
DCharsetUtilsPerfTest.java31 import java.nio.charset.StandardCharsets;

12345678910