Home
last modified time | relevance | path

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

/frameworks/base/telephony/java/android/telephony/
DSmsMessage.java471 String newMsgBody = null; in fragmentText() local
477 newMsgBody = Sms7BitEncodingTranslator.translate(text, isCdma && ted.msgCount == 1); in fragmentText()
479 if (TextUtils.isEmpty(newMsgBody)) { in fragmentText()
480 newMsgBody = text; in fragmentText()
484 int textLen = newMsgBody.length(); in fragmentText()
494 nextPos = GsmAlphabet.findGsmSeptetLimitIndex(newMsgBody, pos, limit, in fragmentText()
498 nextPos = SmsMessageBase.findNextUnicodePosition(pos, limit, newMsgBody); in fragmentText()
505 result.add(newMsgBody.substring(pos, nextPos)); in fragmentText()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsMessage.java1083 CharSequence newMsgBody = null; in calculateLength() local
1086 newMsgBody = Sms7BitEncodingTranslator.translate(msgBody, false /* isCdmaFormat */); in calculateLength()
1088 if (TextUtils.isEmpty(newMsgBody)) { in calculateLength()
1089 newMsgBody = msgBody; in calculateLength()
1091 TextEncodingDetails ted = GsmAlphabet.countGsmSeptets(newMsgBody, use7bitOnly); in calculateLength()
1093 return SmsMessageBase.calcUnicodeEncodingDetails(newMsgBody); in calculateLength()