/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/net/wifi/service/java/com/android/server/wifi/ |
D | ByteBufferReader.java | 24 import java.nio.charset.Charset; 79 public static String readString(ByteBuffer payload, int length, Charset charset) { in readString() argument 82 return new String(octets, charset); in readString() 94 public static String readStringWithByteLength(ByteBuffer payload, Charset charset) { in readStringWithByteLength() argument 96 return readString(payload, length, charset); in readStringWithByteLength()
|
/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/opt/telephony/src/java/com/google/android/mms/pdu/ |
D | PduPart.java | 231 public void setCharset(int charset) { in setCharset() argument 232 mPartHeader.put(P_CHARSET, charset); in setCharset() 241 Integer charset = (Integer) mPartHeader.get(P_CHARSET); in getCharset() local 242 if(charset == null) { in getCharset() 245 return charset.intValue(); in getCharset()
|
D | EncodedStringValue.java | 52 public EncodedStringValue(int charset, byte[] data) { in EncodedStringValue() argument 58 mCharacterSet = charset; in EncodedStringValue() 96 public void setCharacterSet(int charset) { in setCharacterSet() argument 98 mCharacterSet = charset; in setCharacterSet()
|
D | PduComposer.java | 328 int charset = enStr.getCharacterSet(); in appendEncodedString() local 342 appendShortInteger(charset); in appendEncodedString() 964 int charset = part.getCharset(); in makeMessageBody() local 965 if (charset != 0) { in makeMessageBody() 967 appendShortInteger(charset); in makeMessageBody()
|
D | PduParser.java | 869 Integer charset = (Integer) map.get(PduPart.P_CHARSET); in parseParts() local 870 if (null != charset) { in parseParts() 871 part.setCharset(charset); in parseParts() 1032 int charset = 0; in parseEncodedStringValue() local 1044 charset = parseShortInteger(pduDataStream); //get the "Charset" in parseEncodedStringValue() 1050 if (0 != charset) { in parseEncodedStringValue() 1051 returnValue = new EncodedStringValue(charset, textString); in parseEncodedStringValue() 1470 int charset = (int) parseIntegerValue(pduDataStream); in parseContentTypeParams() local 1472 map.put(PduPart.P_CHARSET, charset); in parseContentTypeParams()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiSsid.java | 26 import java.nio.charset.Charset; 27 import java.nio.charset.CharsetDecoder; 28 import java.nio.charset.CoderResult; 29 import java.nio.charset.CodingErrorAction; 185 Charset charset = Charset.forName("UTF-8"); in toString() 186 CharsetDecoder decoder = charset.newDecoder() in toString()
|
/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 | 29 import java.nio.charset.Charset; 30 import java.nio.charset.CharsetEncoder; 31 import java.nio.charset.CoderResult; 32 import java.nio.charset.CodingErrorAction; 33 import java.nio.charset.IllegalCharsetNameException; 34 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/net/wifi/service/java/com/android/server/wifi/util/ |
D | NativeUtil.java | 29 import java.nio.charset.CharacterCodingException; 30 import java.nio.charset.CharsetDecoder; 31 import java.nio.charset.CharsetEncoder; 32 import java.nio.charset.StandardCharsets;
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | ByteString.java | 43 import java.nio.charset.Charset; 44 import java.nio.charset.UnsupportedCharsetException; 378 public static ByteString copyFrom(String text, Charset charset) { in copyFrom() argument 379 return new LiteralByteString(text.getBytes(charset)); in copyFrom() 730 public final String toString(Charset charset) { in toString() argument 731 return size() == 0 ? "" : toStringInternal(charset); in toString() 741 protected abstract String toStringInternal(Charset charset); in toStringInternal() argument 1327 protected final String toStringInternal(Charset charset) { in toStringInternal() argument 1328 return new String(bytes, getOffsetIntoBytes(), size(), charset); in toStringInternal()
|
D | NioByteString.java | 41 import java.nio.charset.Charset; 158 protected String toStringInternal(Charset charset) { in toStringInternal() argument 172 return new String(bytes, offset, length, charset); in toStringInternal()
|
/frameworks/base/wifi/tests/assets/hsr1/ |
D | HSR1ProfileWithCACert.conf | 2 Content-Type: multipart/mixed; boundary={boundary}; charset=UTF-8 6 Content-Type: application/x-passpoint-profile; charset=UTF-8
|
/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 | 25 import java.nio.charset.CharsetEncoder; 26 import java.nio.charset.CoderResult; 27 import java.nio.charset.StandardCharsets;
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | IsValidUtf8TestUtil.java | 42 import java.nio.charset.CharsetDecoder; 43 import java.nio.charset.CharsetEncoder; 44 import java.nio.charset.CoderResult; 45 import java.nio.charset.CodingErrorAction;
|
/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/wifi/tests/src/android/net/wifi/ |
D | WifiSsidTest.java | 26 import java.nio.charset.StandardCharsets;
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | UriCodecTest.java | 21 import java.nio.charset.StandardCharsets;
|
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunking/cdc/ |
D | FingerprintMixer.java | 22 import java.nio.charset.StandardCharsets;
|