/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/net/wifi/service/java/com/android/server/wifi/anqp/ |
D | Constants.java | 6 import java.nio.charset.Charset; 165 public static String getPrefixedString(ByteBuffer payload, int lengthLength, Charset charset) in getPrefixedString() argument 167 return getPrefixedString(payload, lengthLength, charset, false); in getPrefixedString() 170 public static String getPrefixedString(ByteBuffer payload, int lengthLength, Charset charset, in getPrefixedString() argument 176 lengthLength), charset, useNull); in getPrefixedString() 179 public static String getString(ByteBuffer payload, int length, Charset charset) in getString() argument 181 return getString(payload, length, charset, false); in getString() 184 public static String getString(ByteBuffer payload, int length, Charset charset, boolean useNull) in getString() argument 194 return new String(octets, charset); in getString()
|
D | GenericStringElement.java | 5 import java.nio.charset.StandardCharsets;
|
D | EmergencyNumberElement.java | 5 import java.nio.charset.StandardCharsets;
|
D | DomainNameElement.java | 5 import java.nio.charset.StandardCharsets;
|
D | HSOsuProvidersElement.java | 5 import java.nio.charset.StandardCharsets;
|
D | I18Name.java | 5 import java.nio.charset.StandardCharsets;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/ |
D | MIMEContainer.java | 9 import java.nio.charset.Charset; 10 import java.nio.charset.StandardCharsets; 54 Charset charset = StandardCharsets.ISO_8859_1; in MIMEContainer() local 74 charset = Charset.forName(attribute.substring(CharsetTag.length())); in MIMEContainer() 80 mCharset = charset; in MIMEContainer() 130 mText = recode(getBody(in, boundary, quoted, eof), charset); in MIMEContainer() 288 private static String recode(String s, Charset charset) { in recode() argument 289 … if (charset.equals(StandardCharsets.ISO_8859_1) || charset.equals(StandardCharsets.US_ASCII)) { in recode() 294 return new String(octets, charset); in recode()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiSsid.java | 25 import java.nio.charset.Charset; 26 import java.nio.charset.CharsetDecoder; 27 import java.nio.charset.CoderResult; 28 import java.nio.charset.CodingErrorAction; 170 Charset charset = Charset.forName("UTF-8"); in toString() 171 CharsetDecoder decoder = charset.newDecoder() in toString()
|
/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 | 327 int charset = enStr.getCharacterSet(); in appendEncodedString() local 341 appendShortInteger(charset); in appendEncodedString() 948 int charset = part.getCharset(); in makeMessageBody() local 949 if (charset != 0) { in makeMessageBody() 951 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()
|
D | PduPersister.java | 311 int charset = c.getInt(charsetColumnIndex); in setEncodedStringValueToHeaders() local 313 charset, getBytes(s)); in setEncodedStringValueToHeaders() 379 Integer charset = getIntegerFromPartColumn( in loadParts() local 381 if (charset != null) { in loadParts() 382 part.setCharset(charset); in loadParts() 708 int charset = part.getCharset(); in persistPart() local 709 if (charset != 0 ) { in persistPart() 710 values.put(Part.CHARSET, charset); in persistPart() 1095 int charset = part.getCharset(); in updatePart() local 1096 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/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/bluetooth/src/android/bluetooth/client/map/ |
D | BluetoothMasRequestGetMessage.java | 41 public BluetoothMasRequestGetMessage(String handle, CharsetType charset, boolean attachment) { in BluetoothMasRequestGetMessage() argument 49 oap.add(OAP_TAGID_CHARSET, CharsetType.UTF_8.equals(charset) ? CHARSET_UTF8 in BluetoothMasRequestGetMessage()
|
D | BluetoothMasRequestPushMessage.java | 43 public BluetoothMasRequestPushMessage(String folder, String msg, CharsetType charset, in BluetoothMasRequestPushMessage() argument 50 oap.add(OAP_TAGID_CHARSET, charset == CharsetType.NATIVE ? CHARSET_NATIVE : CHARSET_UTF8); in BluetoothMasRequestPushMessage()
|
D | BluetoothMasClient.java | 965 public boolean getMessage(String handle, CharsetType charset, boolean attachment) { in getMessage() argument 977 BluetoothMasRequest request = new BluetoothMasRequestGetMessage(handle, charset, in getMessage() 1052 public boolean pushMessage(String folder, BluetoothMapBmessage bmsg, CharsetType charset) { in pushMessage() argument 1053 return pushMessage(folder, bmsg, charset, false, false); in pushMessage() 1075 public boolean pushMessage(String folder, BluetoothMapBmessage bmsg, CharsetType charset, in pushMessage() argument 1084 new BluetoothMasRequestPushMessage(folder, bmsgString, charset, transparent, retry); in pushMessage()
|
D | BluetoothMapBmessage.java | 131 public BluetoothMapBmessage setCharset(String charset) { in setCharset() argument 132 mBbodyCharset = charset; in setCharset()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | FastXmlSerializer.java | 28 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;
|
D | FastPrintWriter.java | 12 import java.nio.charset.Charset; 13 import java.nio.charset.CharsetEncoder; 14 import java.nio.charset.CoderResult; 15 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/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/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
D | UnsafeByteSequence.java | 19 import java.nio.charset.Charset;
|