Searched refs:msgBody (Results 1 – 4 of 4) sorted by relevance
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsMessageBase.java | 362 int currentPosition, int byteLimit, CharSequence msgBody) { in findNextUnicodePosition() argument 363 int nextPos = Math.min(currentPosition + byteLimit / 2, msgBody.length()); in findNextUnicodePosition() 367 if (nextPos < msgBody.length()) { in findNextUnicodePosition() 369 breakIterator.setText(msgBody.toString()); in findNextUnicodePosition() 374 Character.codePointAt(msgBody, breakPos)) in findNextUnicodePosition() 376 Character.codePointAt(msgBody, breakPos + 2))) { in findNextUnicodePosition() 382 } else if (Character.isHighSurrogate(msgBody.charAt(nextPos - 1))) { in findNextUnicodePosition() 394 public static TextEncodingDetails calcUnicodeEncodingDetails(CharSequence msgBody) { in calcUnicodeEncodingDetails() argument 396 int octets = msgBody.length() * 2; in calcUnicodeEncodingDetails() 398 ted.codeUnitCount = msgBody.length(); in calcUnicodeEncodingDetails() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SmsMessageBodyTest.java | 554 private void callGsmLengthMethods(CharSequence msgBody, boolean use7bitOnly, in callGsmLengthMethods() argument 558 int[] values = android.telephony.gsm.SmsMessage.calculateLength(msgBody, use7bitOnly); in callGsmLengthMethods() 566 values = android.telephony.SmsMessage.calculateLength(msgBody, use7bitOnly); in callGsmLengthMethods() 574 com.android.internal.telephony.gsm.SmsMessage.calculateLength(msgBody, use7bitOnly); in callGsmLengthMethods() 583 private void callCdmaLengthMethods(CharSequence msgBody, boolean use7bitOnly, in callCdmaLengthMethods() argument 588 int[] values = android.telephony.SmsMessage.calculateLength(msgBody, use7bitOnly); in callCdmaLengthMethods() 596 … com.android.internal.telephony.cdma.SmsMessage.calculateLength(msgBody, use7bitOnly, true); in callCdmaLengthMethods() 602 …ted = com.android.internal.telephony.cdma.sms.BearerData.calcTextEncodingDetails(msgBody, use7bitO… in callCdmaLengthMethods()
|
/frameworks/opt/telephony/src/java/android/telephony/ |
D | SmsMessage.java | 300 public static int[] calculateLength(CharSequence msgBody, boolean use7bitOnly) { in calculateLength() argument 303 com.android.internal.telephony.cdma.SmsMessage.calculateLength(msgBody, use7bitOnly, in calculateLength() 305 com.android.internal.telephony.gsm.SmsMessage.calculateLength(msgBody, use7bitOnly); in calculateLength()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | SmsMessage.java | 787 public static TextEncodingDetails calculateLength(CharSequence msgBody, in calculateLength() argument 792 newMsgBody = Sms7BitEncodingTranslator.translate(msgBody); in calculateLength() 795 newMsgBody = msgBody; in calculateLength()
|