Home
last modified time | relevance | path

Searched refs:msgBody (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsMessageBase.java426 int currentPosition, int byteLimit, CharSequence msgBody) { in findNextUnicodePosition() argument
427 int nextPos = Math.min(currentPosition + byteLimit / 2, msgBody.length()); in findNextUnicodePosition()
431 if (nextPos < msgBody.length()) { in findNextUnicodePosition()
433 breakIterator.setText(msgBody.toString()); in findNextUnicodePosition()
438 Character.codePointAt(msgBody, breakPos)) in findNextUnicodePosition()
440 Character.codePointAt(msgBody, breakPos + 2))) { in findNextUnicodePosition()
446 } else if (Character.isHighSurrogate(msgBody.charAt(nextPos - 1))) { in findNextUnicodePosition()
463 public static TextEncodingDetails calcUnicodeEncodingDetails(CharSequence msgBody) { in calcUnicodeEncodingDetails() argument
465 int octets = msgBody.length() * 2; in calcUnicodeEncodingDetails()
467 ted.codeUnitCount = msgBody.length(); in calcUnicodeEncodingDetails()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsMessageBodyTest.java547 private void callGsmLengthMethods(CharSequence msgBody, boolean use7bitOnly, in callGsmLengthMethods() argument
551 int[] values = android.telephony.gsm.SmsMessage.calculateLength(msgBody, use7bitOnly); in callGsmLengthMethods()
559 values = android.telephony.SmsMessage.calculateLength(msgBody, use7bitOnly); in callGsmLengthMethods()
567 com.android.internal.telephony.gsm.SmsMessage.calculateLength(msgBody, use7bitOnly); in callGsmLengthMethods()
576 private void callCdmaLengthMethods(CharSequence msgBody, boolean use7bitOnly, in callCdmaLengthMethods() argument
581 int[] values = android.telephony.SmsMessage.calculateLength(msgBody, use7bitOnly); in callCdmaLengthMethods()
589 … com.android.internal.telephony.cdma.SmsMessage.calculateLength(msgBody, use7bitOnly, true); in callCdmaLengthMethods()
595 …ted = com.android.internal.telephony.cdma.sms.BearerData.calcTextEncodingDetails(msgBody, use7bitO… in callCdmaLengthMethods()
/frameworks/base/telephony/java/android/telephony/
DSmsMessage.java383 public static int[] calculateLength(CharSequence msgBody, boolean use7bitOnly) { in calculateLength() argument
384 return calculateLength(msgBody, use7bitOnly, SmsManager.getDefaultSmsSubscriptionId()); in calculateLength()
404 public static int[] calculateLength(CharSequence msgBody, boolean use7bitOnly, int subId) { in calculateLength() argument
409 msgBody, use7bitOnly, true) in calculateLength()
411 msgBody, use7bitOnly); in calculateLength()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsMessage.java1104 public static TextEncodingDetails calculateLength(CharSequence msgBody, in calculateLength() argument
1109 newMsgBody = Sms7BitEncodingTranslator.translate(msgBody, false /* isCdmaFormat */); in calculateLength()
1112 newMsgBody = msgBody; in calculateLength()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...