Home
last modified time | relevance | path

Searched refs:charsetName (Results 1 – 5 of 5) sorted by relevance

/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/
DCharsetUtil.java1139 public static boolean isEncodingSupported(String charsetName) { in isEncodingSupported() argument
1140 return encodingSupported.contains(charsetName.toLowerCase(Locale.US)); in isEncodingSupported()
1154 public static boolean isDecodingSupported(String charsetName) { in isDecodingSupported() argument
1155 return decodingSupported.contains(charsetName.toLowerCase(Locale.US)); in isDecodingSupported()
1165 public static String toMimeCharset(String charsetName) { in toMimeCharset() argument
1166 Charset c = charsetMap.get(charsetName.toLowerCase(Locale.US)); in toMimeCharset()
1184 public static String toJavaCharset(String charsetName) { in toJavaCharset() argument
1185 Charset c = charsetMap.get(charsetName.toLowerCase(Locale.US)); in toJavaCharset()
1192 public static java.nio.charset.Charset getCharset(String charsetName) { in getCharset() argument
1196 if(charsetName == null) charsetName = defaultCharset; in getCharset()
[all …]
/packages/apps/Email/src/com/beetstra/jutf7/
DCharsetProvider.java69 public Charset charsetForName(String charsetName) { in charsetForName() argument
70 charsetName = charsetName.toUpperCase(); in charsetForName()
73 if (charset.name().equals(charsetName)) in charsetForName()
78 if (charset.aliases().contains(charsetName)) in charsetForName()
/packages/apps/Dialer/java/com/android/contacts/common/dialog/
DCallSubjectDialog.java539 String charsetName = in loadConfiguration() local
542 if (!TextUtils.isEmpty(charsetName)) { in loadConfiguration()
544 mMessageEncoding = Charset.forName(charsetName); in loadConfiguration()
547 LogUtil.e("CallSubjectDialog.loadConfiguration", "invalid charset: " + charsetName); in loadConfiguration()
/packages/apps/Contacts/src/com/android/contacts/dialog/
DCallSubjectDialog.java607 String charsetName = phoneAccountExtras.getString( in loadConfiguration() local
610 if (!TextUtils.isEmpty(charsetName)) { in loadConfiguration()
612 mMessageEncoding = Charset.forName(charsetName); in loadConfiguration()
615 Log.w(TAG, "Invalid charset: " + charsetName); in loadConfiguration()
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java1452 public static String bytesToString(final byte[] bytes, final String charsetName) { in bytesToString() argument
1457 return new String(bytes, charsetName); in bytesToString()
1471 public static byte[] stringToBytes(final String string, final String charsetName) { in stringToBytes() argument
1476 return string.getBytes(charsetName); in stringToBytes()