Home
last modified time | relevance | path

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

/aosp12/frameworks/base/telephony/java/com/android/internal/telephony/
H A DSmsMessageBase.java426 int currentPosition, int byteLimit, CharSequence msgBody) { in findNextUnicodePosition() argument
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()
465 int octets = msgBody.length() * 2; in calcUnicodeEncodingDetails()
467 ted.codeUnitCount = msgBody.length(); in calcUnicodeEncodingDetails()
484 while (pos < msgBody.length()) { in calcUnicodeEncodingDetails()
486 msgBody); in calcUnicodeEncodingDetails()
487 if (nextPos == msgBody.length()) { in calcUnicodeEncodingDetails()
[all …]
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A 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()
/aosp12/frameworks/base/telephony/java/android/telephony/
H A 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()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapContentObserver.java2622 int length = msgBody.length(); in pushMessage()
2624 String[] messages = msgBody.split("\r\n"); in pushMessage()
2653 os.write(msgBody.getBytes(), 0, msgBody.getBytes().length); in pushMessage()
2710 String msgBody = null; in pushMessage() local
2732 msgBody = null; in pushMessage()
2744 if (msgBody == null) { in pushMessage()
2748 if (TextUtils.isEmpty(msgBody)) { in pushMessage()
2807 sendMessage(msgInfo, msgBody); in pushMessage()
3180 public void sendMessage(PushMsgInfo msgInfo, String msgBody) { in sendMessage() argument
3183 ArrayList<String> parts = smsMng.divideMessage(msgBody); in sendMessage()
[all …]
H A DBluetoothMapContent.java3660 String msgBody; in getSmsMessage() local
3694 msgBody = c.getString(c.getColumnIndex(Sms.BODY)); in getSmsMessage()
3710 BluetoothMapSmsPdu.getDeliverPdus(mContext, msgBody, phone, time)); in getSmsMessage()
3713 BluetoothMapSmsPdu.getSubmitPdus(mContext, msgBody, phone)); in getSmsMessage()
3716 message.setSmsBody(msgBody); in getSmsMessage()
/aosp12/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastAlertService.java244 String msgBody = message.getMessageBody(); in shouldDisplayMessage() local
245 if (msgBody == null || msgBody.length() == 0) { in shouldDisplayMessage()
/aosp12/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DSmsMessage.java1080 public static TextEncodingDetails calculateLength(CharSequence msgBody, in calculateLength() argument
1085 newMsgBody = Sms7BitEncodingTranslator.translate(msgBody, false /* isCdmaFormat */); in calculateLength()
1088 newMsgBody = msgBody; in calculateLength()
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...