Searched refs:CharacterSets (Results 1 – 12 of 12) sorted by relevance
/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 | 458 charset != null ? charset : CharacterSets.DEFAULT_CHARSET, in loadParts() 1644 return new String(bytes, CharacterSets.MIMENAME_ISO_8859_1); in toIsoString() 1657 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/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/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 | 54 import com.android.messaging.mmslib.pdu.CharacterSets; 439 part.setCharset(CharacterSets.UTF_8); in addTextPart()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | TelephonyBackupAgent.java | 59 import com.google.android.mms.pdu.CharacterSets; 313 sDefaultValuesAddr.put(Telephony.Mms.Addr.CHARSET, CharacterSets.DEFAULT_CHARSET); in sDefaultValuesAddr.put() 1202 int bodyCharset = CharacterSets.DEFAULT_CHARSET; 1267 mms.values.put(Telephony.Mms.SUBJECT_CHARSET, CharacterSets.DEFAULT_CHARSET); 1441 mms.body == null ? CharacterSets.DEFAULT_CHARSET : mms.body.charSet);
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyBackupAgentTest.java | 51 import com.google.android.mms.pdu.CharacterSets; 306 CharacterSets.DEFAULT_CHARSET /*body charset*/, new String[] {} /*addresses*/, in setUp()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/ |
D | BluetoothMapContent.java | 52 import com.google.android.mms.pdu.CharacterSets; 3934 CharacterSets.getMimeName(Integer.parseInt(charset)); in extractMmsParts()
|