Searched refs:CharacterSets (Results 1 – 11 of 11) sorted by relevance
/packages/apps/Messaging/src/android/support/v7/mms/pdu/ |
D | EncodedStringValue.java | 70 this(CharacterSets.DEFAULT_CHARSET, data); in EncodedStringValue() 75 mData = data.getBytes(CharacterSets.DEFAULT_CHARSET_NAME); in EncodedStringValue() 76 mCharacterSet = CharacterSets.DEFAULT_CHARSET; in EncodedStringValue() 136 if (CharacterSets.ANY_CHARSET == mCharacterSet) { in getString() 140 String name = CharacterSets.getMimeName(mCharacterSet); in getString() 147 return new String(mData, CharacterSets.MIMENAME_ISO_8859_1); in getString()
|
D | CharacterSets.java | 23 public class CharacterSets { class 134 private CharacterSets() {} // Non-instantiatable in CharacterSets() method in CharacterSets
|
D | PduParser.java | 1457 int charsetInt = CharacterSets.getMibEnumValue( in parseContentTypeParams() 1463 map.put(PduPart.P_CHARSET, CharacterSets.ANY_CHARSET); in parseContentTypeParams()
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
D | EncodedStringValue.java | 70 this(CharacterSets.DEFAULT_CHARSET, data); in EncodedStringValue() 74 this(CharacterSets.DEFAULT_CHARSET, data); in EncodedStringValue() 90 mData = data.getBytes(CharacterSets.getMimeName(charset)); in EncodedStringValue() 151 if (CharacterSets.ANY_CHARSET == mCharacterSet) { in getString() 155 String name = CharacterSets.getMimeName(mCharacterSet); in getString() 162 return new String(mData, CharacterSets.MIMENAME_ISO_8859_1); in getString()
|
D | CharacterSets.java | 25 public class CharacterSets { class 415 private CharacterSets() { in CharacterSets() method in CharacterSets
|
D | PduPersister.java | 457 charset != null ? charset : CharacterSets.DEFAULT_CHARSET, in loadParts() 1635 return new String(bytes, CharacterSets.MIMENAME_ISO_8859_1); in toIsoString() 1648 return data.getBytes(CharacterSets.MIMENAME_ISO_8859_1); in getBytes()
|
D | PduParser.java | 1494 int charsetInt = CharacterSets.getMibEnumValue( in parseContentTypeParams() 1500 map.put(PduPart.P_CHARSET, CharacterSets.ANY_CHARSET); in parseContentTypeParams()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | DatabaseMessages.java | 39 import com.android.messaging.mmslib.pdu.CharacterSets; 367 getStringBytes(mSubject, CharacterSets.ISO_8859_1), mSubjectCharset); in load() 966 getStringBytes(cursor.getString(INDEX_ADDRESS), CharacterSets.ISO_8859_1), in get() 975 if (CharacterSets.ANY_CHARSET == charset) { in getDecodedString() 979 final String name = CharacterSets.getMimeName(charset); in getDecodedString() 983 return new String(data, CharacterSets.MIMENAME_ISO_8859_1); in getDecodedString() 995 if (CharacterSets.ANY_CHARSET == charset) { in getStringBytes() 999 final String name = CharacterSets.getMimeName(charset); in getStringBytes()
|
D | MmsUtils.java | 56 import com.android.messaging.mmslib.pdu.CharacterSets; 434 part.setCharset(CharacterSets.UTF_8); in addTextPart()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | TelephonyBackupAgent.java | 20 import com.google.android.mms.pdu.CharacterSets; 273 sDefaultValuesAddr.put(Telephony.Mms.Addr.CHARSET, CharacterSets.DEFAULT_CHARSET); in sDefaultValuesAddr.put() 862 int bodyCharset = CharacterSets.DEFAULT_CHARSET; 916 mms.values.put(Telephony.Mms.SUBJECT_CHARSET, CharacterSets.DEFAULT_CHARSET);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapContent.java | 47 import com.google.android.mms.pdu.CharacterSets; 3592 CharacterSets.getMimeName(Integer.parseInt(charset)); in extractMmsParts() 3662 part.mCharsetName = CharacterSets.getMimeName( in extractIMParts()
|