/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | SmsCbHeader.java | 21 import android.telephony.SmsMessage; 518 encoding = SmsMessage.ENCODING_7BIT; in DataCodingScheme() 525 encoding = SmsMessage.ENCODING_16BIT; in DataCodingScheme() 527 encoding = SmsMessage.ENCODING_7BIT; in DataCodingScheme() 532 encoding = SmsMessage.ENCODING_7BIT; in DataCodingScheme() 537 encoding = SmsMessage.ENCODING_7BIT; in DataCodingScheme() 544 encoding = SmsMessage.ENCODING_8BIT; in DataCodingScheme() 548 encoding = SmsMessage.ENCODING_16BIT; in DataCodingScheme() 553 encoding = SmsMessage.ENCODING_7BIT; in DataCodingScheme() 570 encoding = SmsMessage.ENCODING_8BIT; in DataCodingScheme() [all …]
|
D | GsmSmsCbMessage.java | 34 import android.telephony.SmsMessage; 365 case SmsMessage.ENCODING_7BIT: in unpackBody() 376 case SmsMessage.ENCODING_16BIT: in unpackBody()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapSmsPdu.java | 22 import android.telephony.SmsMessage; 477 case SmsMessage.ENCODING_7BIT: in getEncodingString() 483 case SmsMessage.ENCODING_8BIT: in getEncodingString() 485 case SmsMessage.ENCODING_16BIT: in getEncodingString() 487 case SmsMessage.ENCODING_UNKNOWN: in getEncodingString() 493 case SmsMessage.ENCODING_7BIT: in getEncodingString() 495 case SmsMessage.ENCODING_8BIT: in getEncodingString() 497 case SmsMessage.ENCODING_16BIT: in getEncodingString() 499 case SmsMessage.ENCODING_KSC5601: in getEncodingString() 501 case SmsMessage.ENCODING_UNKNOWN: in getEncodingString() [all …]
|
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | CdmaSmsMessageTest.java | 31 import com.android.internal.telephony.cdma.SmsMessage; 208 private static SmsMessage createMessageFromParcel(CdmaSmsMessage msg, byte[] bearerData) { in createMessageFromParcel() 212 SmsMessage message = SmsMessageConverter.newCdmaSmsMessageFromRil(msg); in createMessageFromParcel() 232 private static SmsMessage createCmasSmsMessage(int serviceCategory, int messageId, int priority, in createCmasSmsMessage() 281 private static SmsMessage createBroadcastSmsMessage(int serviceCategory, int messageId, in createBroadcastSmsMessage() 447 SmsMessage msg = createBroadcastSmsMessage(123, 456, BearerData.PRIORITY_NORMAL, in doTestNonEmergencyBroadcast() 481 SmsMessage msg = createCmasSmsMessage( in doTestCmasBroadcast() 540 SmsMessage msg = createCmasSmsMessage(CdmaSmsCbProgramData.CATEGORY_CMAS_EXTREME_THREAT, in testCmasExtremeAlertType1Elements() 573 SmsMessage msg = createCmasSmsMessage(CdmaSmsCbProgramData.CATEGORY_CMAS_EXTREME_THREAT, in testCmasUnsupportedCharSet() 588 SmsMessage msg = createCmasSmsMessage(CdmaSmsCbProgramData.CATEGORY_CMAS_EXTREME_THREAT, in testCmasUnsupportedCharSet2() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | DebugUtils.java | 29 import android.telephony.SmsMessage; 249 public static void dumpSms(final long id, final android.telephony.SmsMessage[] messages, 264 for (final android.telephony.SmsMessage message : messages) { 283 public static SmsMessage[] retreiveSmsFromDumpFile(final String dumpFileName) { 284 SmsMessage[] messages = null; 300 final SmsMessage[] messagesTemp = new SmsMessage[count]; 307 ? SmsMessage.createFromPdu(pdu, format) 308 : SmsMessage.createFromPdu(pdu);
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | DatabaseMessages.java | 89 public static class SmsMessage extends DatabaseMessage implements Parcelable { class in DatabaseMessages 149 private SmsMessage() { in SmsMessage() method in DatabaseMessages.SmsMessage 180 public static SmsMessage get(final Cursor cursor) { in get() 181 final SmsMessage msg = new SmsMessage(); in get() 210 private SmsMessage(final Parcel in) { in SmsMessage() method in DatabaseMessages.SmsMessage 227 public static final Parcelable.Creator<SmsMessage> CREATOR 228 = new Parcelable.Creator<SmsMessage>() { 230 public SmsMessage createFromParcel(final Parcel in) { 231 return new SmsMessage(in); 235 public SmsMessage[] newArray(final int size) { [all …]
|
D | MmsUtils.java | 38 import android.telephony.SmsMessage; 1027 final Context context, final SmsMessage[] msgs, final int error) { in parseReceivedSmsMessage() 1028 final SmsMessage sms = msgs[0]; in parseReceivedSmsMessage() 1055 private static String buildMessageBodyFromPdus(final SmsMessage[] msgs) { in buildMessageBodyFromPdus() 1062 for (final SmsMessage msg : msgs) { in buildMessageBodyFromPdus() 1075 public static Long getMessageDate(final SmsMessage sms, long now) { in getMessageDate() 1156 public static SmsMessage getSmsMessageFromDeliveryReport(final Intent intent) { in getSmsMessageFromDeliveryReport() 1160 ? SmsMessage.createFromPdu(pdu, format) in getSmsMessageFromDeliveryReport() 1161 : SmsMessage.createFromPdu(pdu); in getSmsMessageFromDeliveryReport()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | SyncCursorPair.java | 39 import com.android.messaging.sms.DatabaseMessages.SmsMessage; 150 final int maxMessagesToUpdate, final ArrayList<SmsMessage> smsToAdd, in scan() 450 SmsMessage.getProjection(), in RemoteCursorsIterator() 514 return SmsMessage.get(mSmsCursor); in getSmsCursorNext() 618 private void saveMessageToAdd(final List<SmsMessage> smsToAdd, in saveMessageToAdd() 627 final SmsMessage sms = (SmsMessage) message; in saveMessageToAdd()
|
D | SyncMessageBatch.java | 38 import com.android.messaging.sms.DatabaseMessages.SmsMessage; 61 private final ArrayList<SmsMessage> mSmsToAdd; 67 SyncMessageBatch(final ArrayList<SmsMessage> smsToAdd, in SyncMessageBatch() 84 for (final SmsMessage sms : mSmsToAdd) { in updateLocalDatabase() 129 private void storeSms(final DatabaseWrapper db, final SmsMessage sms) { in storeSms()
|
D | SyncMessagesAction.java | 40 import com.android.messaging.sms.DatabaseMessages.SmsMessage; 230 final ArrayList<SmsMessage> smsToAdd = new ArrayList<SmsMessage>(); in doBackgroundWork() 279 final ArrayList<SmsMessage> smsToAdd, final LongSparseArray<MmsMessage> mmsToAdd, in syncCursorPair() 396 final ArrayList<SmsMessage> smsToAdd = in processBackgroundResponse()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | MessageTextStats.java | 19 import android.telephony.SmsMessage; 45 final int[] params = SmsMessage.calculateLength(messageText, false); in updateMessageTextStats() 83 < SmsMessage.MAX_USER_DATA_BYTES) { in updateMessageTextStats()
|
/packages/apps/Messaging/src/com/android/messaging/receiver/ |
D | SmsReceiver.java | 181 final android.telephony.SmsMessage[] messages = getMessagesFromIntent(intent); in deliverSmsIntent() 202 final int errorCode, final android.telephony.SmsMessage[] messages) { in deliverSmsMessages() 220 if (messages[0].getMessageClass() == android.telephony.SmsMessage.MessageClass.CLASS_0 || in deliverSmsMessages() 337 public static android.telephony.SmsMessage[] getMessagesFromIntent(Intent intent) { in getMessagesFromIntent() 338 final android.telephony.SmsMessage[] messages = Sms.Intents.getMessagesFromIntent(intent); in getMessagesFromIntent()
|
D | SendStatusReceiver.java | 24 import android.telephony.SmsMessage; 79 final SmsMessage smsMessage = MmsUtils.getSmsMessageFromDeliveryReport(intent); in onReceive()
|
/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/ |
D | SmsMessageReceiver.java | 26 import android.telephony.SmsMessage; 43 SmsMessage message = SmsMessage.createFromPdu((byte[]) pdus[i]); in onReceive()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | SmsProvider.java | 41 import android.telephony.SmsMessage; 341 private Object[] convertIccToSms(SmsMessage message, int id) { in convertIccToSms() 413 List<SmsMessage> messages; in getSingleMessageFromIcc() 426 SmsMessage message = messages.get(i); in getSingleMessageFromIcc() 449 List<SmsMessage> messages; in getAllMessagesFromIcc() 463 SmsMessage message = messages.get(i); in getAllMessagesFromIcc() 832 SmsMessage.SubmitPdu smsPdu = in insertMessageToIcc() 833 SmsMessage.getSmsPdu(subId, status, scAddress, address, message, date); in insertMessageToIcc()
|
/packages/apps/BasicSmsReceiver/tests/src/com/android/basicsmsreceiver/ |
D | DialogSmsDisplayTests.java | 33 import android.telephony.SmsMessage; 130 SmsMessage message = SmsMessage.createFromPdu((byte[]) pdus[i]); in setUp()
|
/packages/services/Telephony/testapps/ImsTestService/src/com/android/phone/testapps/imstestapp/ |
D | TestImsSmsImpl.java | 20 import android.telephony.SmsMessage; 46 return SmsMessage.FORMAT_3GPP; in getSmsFormat()
|
/packages/apps/Messaging/src/com/android/messaging/ui/debug/ |
D | DebugSmsMmsFromDumpFileDialogFragment.java | 28 import android.telephony.SmsMessage; 132 final SmsMessage[] messages = DebugUtils.retreiveSmsFromDumpFile(dumpFileName); in receiveFromDumpFile()
|