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.java437 int currentPosition, int byteLimit, CharSequence msgBody) { in findNextUnicodePosition() argument
438 int nextPos = Math.min(currentPosition + byteLimit / 2, msgBody.length()); in findNextUnicodePosition()
442 if (nextPos < msgBody.length()) { in findNextUnicodePosition()
444 breakIterator.setText(msgBody.toString()); in findNextUnicodePosition()
449 Character.codePointAt(msgBody, breakPos)) in findNextUnicodePosition()
451 Character.codePointAt(msgBody, breakPos + 2))) { in findNextUnicodePosition()
457 } else if (Character.isHighSurrogate(msgBody.charAt(nextPos - 1))) { in findNextUnicodePosition()
474 public static TextEncodingDetails calcUnicodeEncodingDetails(CharSequence msgBody) { in calcUnicodeEncodingDetails() argument
476 int octets = msgBody.length() * 2; in calcUnicodeEncodingDetails()
478 ted.codeUnitCount = msgBody.length(); in calcUnicodeEncodingDetails()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsMessageBodyTest.java548 private void callGsmLengthMethods(CharSequence msgBody, boolean use7bitOnly, in callGsmLengthMethods() argument
552 int[] values = android.telephony.gsm.SmsMessage.calculateLength(msgBody, use7bitOnly); in callGsmLengthMethods()
560 values = android.telephony.SmsMessage.calculateLength(msgBody, use7bitOnly); in callGsmLengthMethods()
568 com.android.internal.telephony.gsm.SmsMessage.calculateLength(msgBody, use7bitOnly); in callGsmLengthMethods()
577 private void callCdmaLengthMethods(CharSequence msgBody, boolean use7bitOnly, in callCdmaLengthMethods() argument
582 int[] values = android.telephony.SmsMessage.calculateLength(msgBody, use7bitOnly); in callCdmaLengthMethods()
590 … com.android.internal.telephony.cdma.SmsMessage.calculateLength(msgBody, use7bitOnly, true); in callCdmaLengthMethods()
596 …ted = com.android.internal.telephony.cdma.sms.BearerData.calcTextEncodingDetails(msgBody, use7bitO… in callCdmaLengthMethods()
/frameworks/base/telephony/java/android/telephony/
DSmsMessage.java362 public static int[] calculateLength(CharSequence msgBody, boolean use7bitOnly) { in calculateLength() argument
363 return calculateLength(msgBody, use7bitOnly, SmsManager.getDefaultSmsSubscriptionId()); in calculateLength()
383 public static int[] calculateLength(CharSequence msgBody, boolean use7bitOnly, int subId) { in calculateLength() argument
388 msgBody, use7bitOnly, true) in calculateLength()
390 msgBody, use7bitOnly); in calculateLength()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsMessage.java1146 public static TextEncodingDetails calculateLength(CharSequence msgBody, in calculateLength() argument
1151 newMsgBody = Sms7BitEncodingTranslator.translate(msgBody, false /* isCdmaFormat */); in calculateLength()
1154 newMsgBody = msgBody; in calculateLength()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...