Home
last modified time | relevance | path

Searched refs:newMsgBody (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/telephony/java/android/telephony/
DSmsMessage.java418 String newMsgBody = null; in fragmentText() local
421 newMsgBody = Sms7BitEncodingTranslator.translate(text); in fragmentText()
423 if (TextUtils.isEmpty(newMsgBody)) { in fragmentText()
424 newMsgBody = text; in fragmentText()
427 int textLen = newMsgBody.length(); in fragmentText()
437 nextPos = GsmAlphabet.findGsmSeptetLimitIndex(newMsgBody, pos, limit, in fragmentText()
441 nextPos = SmsMessageBase.findNextUnicodePosition(pos, limit, newMsgBody); in fragmentText()
448 result.add(newMsgBody.substring(pos, nextPos)); in fragmentText()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsMessage.java906 CharSequence newMsgBody = null; in calculateLength() local
909 newMsgBody = Sms7BitEncodingTranslator.translate(msgBody); in calculateLength()
911 if (TextUtils.isEmpty(newMsgBody)) { in calculateLength()
912 newMsgBody = msgBody; in calculateLength()
914 TextEncodingDetails ted = GsmAlphabet.countGsmSeptets(newMsgBody, use7bitOnly); in calculateLength()
916 return SmsMessageBase.calcUnicodeEncodingDetails(newMsgBody); in calculateLength()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DSmsMessage.java419 CharSequence newMsgBody = null; in calculateLength() local
422 newMsgBody = Sms7BitEncodingTranslator.translate(messageBody); in calculateLength()
424 if (TextUtils.isEmpty(newMsgBody)) { in calculateLength()
425 newMsgBody = messageBody; in calculateLength()
427 return BearerData.calcTextEncodingDetails(newMsgBody, use7bitOnly, isEntireMsg); in calculateLength()