Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSmsPdu.java20 import android.telephony.SmsMessage;
466 case SmsMessage.ENCODING_7BIT: in getEncodingString()
472 case SmsMessage.ENCODING_8BIT: in getEncodingString()
474 case SmsMessage.ENCODING_16BIT: in getEncodingString()
476 case SmsMessage.ENCODING_UNKNOWN: in getEncodingString()
482 case SmsMessage.ENCODING_7BIT: in getEncodingString()
484 case SmsMessage.ENCODING_8BIT: in getEncodingString()
486 case SmsMessage.ENCODING_16BIT: in getEncodingString()
488 case SmsMessage.ENCODING_KSC5601: in getEncodingString()
490 case SmsMessage.ENCODING_UNKNOWN: in getEncodingString()
[all …]
/packages/apps/Messaging/src/com/android/messaging/util/
DDebugUtils.java29 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;
299 final SmsMessage[] messagesTemp = new SmsMessage[count];
304 messagesTemp[i] = SmsMessage.createFromPdu(pdu);
/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/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/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/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/src/com/android/basicsmsreceiver/
DSmsMessageReceiver.java26 import android.telephony.SmsMessage;
43 SmsMessage message = SmsMessage.createFromPdu((byte[]) pdus[i]); 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;
294 private Object[] convertIccToSms(SmsMessage message, int id) { in convertIccToSms()
324 ArrayList<SmsMessage> messages; in getSingleMessageFromIcc()
336 final SmsMessage message = messages.get(messageIndex); in getSingleMessageFromIcc()
351 ArrayList<SmsMessage> messages; in getAllMessagesFromIcc()
364 SmsMessage message = messages.get(i); in getAllMessagesFromIcc()
/packages/services/Telephony/testapps/ImsTestService/src/com/android/phone/testapps/imstestapp/
DTestImsSmsImpl.java20 import android.telephony.SmsMessage;
46 return SmsMessage.FORMAT_3GPP; in getSmsFormat()
/packages/apps/Messaging/src/com/android/messaging/ui/debug/
DDebugSmsMmsFromDumpFileDialogFragment.java28 import android.telephony.SmsMessage;
132 final SmsMessage[] messages = DebugUtils.retreiveSmsFromDumpFile(dumpFileName); in receiveFromDumpFile()