Home
last modified time | relevance | path

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

1234567891011

/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()
/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/packages/SettingsLib/src/com/android/settingslib/qrcode/
DQrCodeGenerator.java28 import java.nio.charset.CharsetEncoder;
29 import java.nio.charset.StandardCharsets;
/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.java112 private void testPhoneticNameCommon(int vcardType, String charset) { in testPhoneticNameCommon() argument
113 mVerifier.initForExportTest(vcardType, charset); in testPhoneticNameCommon()
121 ("SHIFT_JIS".equalsIgnoreCase(charset) ? in testPhoneticNameCommon()
205 private void testPostalAddressWithJapaneseCommon(int vcardType, String charset) { in testPostalAddressWithJapaneseCommon() argument
206 mVerifier.initForExportTest(vcardType, charset); in testPostalAddressWithJapaneseCommon()
221 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/base/apct-tests/perftests/core/src/android/libcore/regression/
DDefaultCharsetPerfTest.java29 import java.nio.charset.Charset;
DCharsetForNamePerfTest.java30 import java.nio.charset.Charset;
DCharsetUtf8PerfTest.java29 import java.nio.charset.Charset;
/frameworks/base/core/tests/coretests/src/android/net/
DUriCodecTest.java21 import java.nio.charset.StandardCharsets;
/frameworks/av/media/libstagefright/httplive/fuzzer/corpus/
Dindex6.m3u84 #EXT-X-KEY:METHOD=AES-128,URI="data:text/plain;charset=utf-8,a4cd9995a1aa91e1",IV=0x303030303030303…
Dindex4.m3u84 #EXT-X-KEY:METHOD=SAMPLE-AES,URI="data:text/plain;charset=utf-8,a4cd9995a1aa91e1",IV=0X99b74007b625…
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/utils/
DStreamUtils.java19 import static java.nio.charset.StandardCharsets.UTF_8;
/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.java40 import java.nio.charset.CharacterCodingException;
41 import java.nio.charset.CharsetDecoder;
42 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/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DTestUtils.java23 import java.nio.charset.StandardCharsets;

1234567891011