Home
last modified time | relevance | path

Searched refs:SmsMessage (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSmsPdu.java33 import android.telephony.SmsMessage;
44 import com.android.internal.telephony.gsm.SmsMessage.SubmitPdu;
440 case SmsMessage.ENCODING_7BIT: in getEncodingString()
445 case SmsMessage.ENCODING_8BIT: in getEncodingString()
447 case SmsMessage.ENCODING_16BIT: in getEncodingString()
449 case SmsMessage.ENCODING_UNKNOWN: in getEncodingString()
455 case SmsMessage.ENCODING_7BIT: in getEncodingString()
457 case SmsMessage.ENCODING_8BIT: in getEncodingString()
459 case SmsMessage.ENCODING_16BIT: in getEncodingString()
461 case SmsMessage.ENCODING_KSC5601: in getEncodingString()
[all …]
DBluetoothMapContentObserver.java48 import android.telephony.SmsMessage;
3072 SmsMessage message = SmsMessage.createFromPdu(pdu, format); in onReceive()
/packages/apps/Messaging/src/com/android/messaging/util/
DDebugUtils.java27 import android.telephony.SmsMessage;
239 public static void dumpSms(final long id, final android.telephony.SmsMessage[] messages,
254 for (final android.telephony.SmsMessage message : messages) {
273 public static SmsMessage[] retreiveSmsFromDumpFile(final String dumpFileName) {
274 SmsMessage[] messages = null;
289 final SmsMessage[] messagesTemp = new SmsMessage[count];
294 messagesTemp[i] = SmsMessage.createFromPdu(pdu);
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMessageTextStats.java19 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/sms/
DDatabaseMessages.java89 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 …]
DMmsUtils.java40 import android.telephony.SmsMessage;
1021 final Context context, final SmsMessage[] msgs, final int error) { in parseReceivedSmsMessage()
1022 final SmsMessage sms = msgs[0]; in parseReceivedSmsMessage()
1049 private static String buildMessageBodyFromPdus(final SmsMessage[] msgs) { in buildMessageBodyFromPdus()
1056 for (final SmsMessage msg : msgs) { in buildMessageBodyFromPdus()
1069 public static Long getMessageDate(final SmsMessage sms, long now) { in getMessageDate()
1195 public static SmsMessage getSmsMessageFromDeliveryReport(final Intent intent) { in getSmsMessageFromDeliveryReport()
1197 return SmsMessage.createFromPdu(pdu); in getSmsMessageFromDeliveryReport()
/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/
DSmsMessageReceiver.java26 import android.telephony.SmsMessage;
43 SmsMessage message = SmsMessage.createFromPdu((byte[]) pdus[i]); in onReceive()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DSyncCursorPair.java39 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()
DSyncMessageBatch.java38 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()
DSyncMessagesAction.java40 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/receiver/
DSmsReceiver.java181 final android.telephony.SmsMessage[] messages = getMessagesFromIntent(intent); in deliverSmsIntent()
201 final int errorCode, final android.telephony.SmsMessage[] messages) { in deliverSmsMessages()
219 if (messages[0].getMessageClass() == android.telephony.SmsMessage.MessageClass.CLASS_0 || in deliverSmsMessages()
336 public static android.telephony.SmsMessage[] getMessagesFromIntent(Intent intent) { in getMessagesFromIntent()
337 final android.telephony.SmsMessage[] messages = Sms.Intents.getMessagesFromIntent(intent); in getMessagesFromIntent()
DSendStatusReceiver.java23 import android.telephony.SmsMessage;
78 final SmsMessage smsMessage = MmsUtils.getSmsMessageFromDeliveryReport(intent); in onReceive()
/packages/apps/BasicSmsReceiver/tests/src/com/android/basicsmsreceiver/
DDialogSmsDisplayTests.java33 import android.telephony.SmsMessage;
130 SmsMessage message = SmsMessage.createFromPdu((byte[]) pdus[i]); in setUp()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DSmsProvider.java42 import android.telephony.SmsMessage;
289 private Object[] convertIccToSms(SmsMessage message, int id) { in convertIccToSms()
319 ArrayList<SmsMessage> messages; in getSingleMessageFromIcc()
331 final SmsMessage message = messages.get(messageIndex); in getSingleMessageFromIcc()
346 ArrayList<SmsMessage> messages; in getAllMessagesFromIcc()
359 SmsMessage message = messages.get(i); in getAllMessagesFromIcc()
/packages/services/Telephony/src/com/android/phone/vvm/omtp/sms/
DOmtpMessageReceiver.java28 import android.telephony.SmsMessage;
72 SmsMessage[] messages = Telephony.Sms.Intents.getMessagesFromIntent(intent); in onReceive()
/packages/apps/Messaging/src/com/android/messaging/ui/debug/
DDebugSmsMmsFromDumpFileDialogFragment.java28 import android.telephony.SmsMessage;
132 final SmsMessage[] messages = DebugUtils.retreiveSmsFromDumpFile(dumpFileName); in receiveFromDumpFile()