/frameworks/base/core/java/android/net/ |
D | UriCodec.java | 21 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/ |
D | VCardComposer.java | 174 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/ |
D | PduPart.java | 242 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()
|
D | EncodedStringValue.java | 55 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()
|
D | PduParser.java | 872 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()
|
D | PduComposer.java | 344 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()
|
D | PduPersister.java | 320 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/ |
D | CountedDataInputStream.java | 25 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/ |
D | FastXmlSerializer.java | 30 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;
|
D | FastPrintWriter.java | 30 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/ |
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/opt/vcard/tests/src/com/android/vcard/tests/ |
D | VCardJapanizationTests.java | 111 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/ |
D | CsvParser.java | 21 import java.nio.charset.Charset; 22 import java.nio.charset.StandardCharsets;
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarManifest.java | 29 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/ |
D | VCardVerifier.java | 121 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/ |
D | VisualVoicemailSmsFilter.java | 37 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/ |
D | ChooserUtil.java | 19 import java.nio.charset.Charset;
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | UriCodecTest.java | 21 import java.nio.charset.StandardCharsets;
|
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/utils/ |
D | StreamUtils.java | 19 import static java.nio.charset.StandardCharsets.UTF_8;
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/chunking/cdc/ |
D | FingerprintMixer.java | 22 import java.nio.charset.StandardCharsets;
|
/frameworks/base/services/core/java/com/android/server/integrity/serializer/ |
D | RuleMetadataSerializer.java | 31 import java.nio.charset.StandardCharsets;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/io/ |
D | Files.java | 25 import java.nio.charset.StandardCharsets;
|
/frameworks/base/telecomm/java/android/telecom/ |
D | ParcelableRttCall.java | 27 import java.nio.charset.StandardCharsets;
|
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/testing/shadows/ |
D | DataEntity.java | 19 import java.nio.charset.StandardCharsets;
|
/frameworks/base/apct-tests/perftests/core/src/android/util/ |
D | CharsetUtilsPerfTest.java | 31 import java.nio.charset.StandardCharsets;
|