Home
last modified time | relevance | path

Searched refs:sms (Results 1 – 25 of 109) sorted by relevance

12345

/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DSyncMessageBatch.java36 import com.android.messaging.sms.DatabaseMessages.LocalDatabaseMessage;
37 import com.android.messaging.sms.DatabaseMessages.MmsMessage;
38 import com.android.messaging.sms.DatabaseMessages.SmsMessage;
39 import com.android.messaging.sms.MmsUtils;
84 for (final SmsMessage sms : mSmsToAdd) { in updateLocalDatabase()
85 storeSms(db, sms); in updateLocalDatabase()
129 private void storeSms(final DatabaseWrapper db, final SmsMessage sms) { in storeSms() argument
130 if (sms.mBody == null) { in storeSms()
131 LogUtil.w(TAG, "SyncMessageBatch: SMS " + sms.mUri + " has no body; adding empty one"); in storeSms()
133 sms.mBody = ""; in storeSms()
[all …]
DSyncCursorPair.java35 import com.android.messaging.sms.DatabaseMessages;
36 import com.android.messaging.sms.DatabaseMessages.DatabaseMessage;
37 import com.android.messaging.sms.DatabaseMessages.LocalDatabaseMessage;
38 import com.android.messaging.sms.DatabaseMessages.MmsMessage;
39 import com.android.messaging.sms.DatabaseMessages.SmsMessage;
40 import com.android.messaging.sms.MmsUtils;
627 final SmsMessage sms = (SmsMessage) message; in saveMessageToAdd() local
628 smsToAdd.add(sms); in saveMessageToAdd()
629 threadId = sms.mThreadId; in saveMessageToAdd()
DSyncMessagesAction.java37 import com.android.messaging.sms.DatabaseMessages;
38 import com.android.messaging.sms.DatabaseMessages.LocalDatabaseMessage;
39 import com.android.messaging.sms.DatabaseMessages.MmsMessage;
40 import com.android.messaging.sms.DatabaseMessages.SmsMessage;
41 import com.android.messaging.sms.MmsUtils;
DProcessSentMessageAction.java38 import com.android.messaging.sms.MmsConfig;
39 import com.android.messaging.sms.MmsSender;
40 import com.android.messaging.sms.MmsUtils;
DReceiveMmsMessageAction.java35 import com.android.messaging.sms.DatabaseMessages;
36 import com.android.messaging.sms.MmsUtils;
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/
DOmtpMessageReceiver.java16 package com.android.voicemail.impl.sms;
55 VisualVoicemailSms sms = intent.getExtras().getParcelable(OmtpService.EXTRA_VOICEMAIL_SMS); in onReceive() local
56 PhoneAccountHandle phone = sms.getPhoneAccountHandle(); in onReceive()
67 LegacyModeSmsHandler.handle(context, sms); in onReceive()
80 LegacyModeSmsHandler.handle(context, sms); in onReceive()
87 String eventType = sms.getPrefix(); in onReceive()
88 Bundle data = sms.getFields(); in onReceive()
DStatusSmsFetcher.java17 package com.android.voicemail.impl.sms;
113 VisualVoicemailSms sms = intent.getExtras().getParcelable(OmtpService.EXTRA_VOICEMAIL_SMS); in onReceive() local
115 if (!mPhoneAccountHandle.equals(sms.getPhoneAccountHandle())) { in onReceive()
118 String eventType = sms.getPrefix(); in onReceive()
121 mFuture.complete(sms.getFields()); in onReceive()
138 Bundle translatedBundle = protocol.translateStatusSmsBundle(helper, eventType, sms.getFields()); in onReceive()
DLegacyModeSmsHandler.java17 package com.android.voicemail.impl.sms;
49 public static void handle(Context context, VisualVoicemailSms sms) { in handle() argument
51 String eventType = sms.getPrefix(); in handle()
52 Bundle data = sms.getFields(); in handle()
53 PhoneAccountHandle handle = sms.getPhoneAccountHandle(); in handle()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DOmtpService.java34 import com.android.voicemail.impl.sms.LegacyModeSmsHandler;
76 public void onSmsReceived(VisualVoicemailTask task, final VisualVoicemailSms sms) { in onSmsReceived() argument
85 LegacyModeSmsHandler.handle(this, sms); in onSmsReceived()
89 if (!isServiceEnabled(sms.getPhoneAccountHandle())) { in onSmsReceived()
99 intent.putExtra(EXTRA_VOICEMAIL_SMS, sms); in onSmsReceived()
DStatusCheckTask.java27 import com.android.voicemail.impl.sms.StatusMessage;
28 import com.android.voicemail.impl.sms.StatusSmsFetcher;
/packages/services/Telephony/src/com/android/phone/vvm/
DVvmSmsReceiver.java37 VisualVoicemailSms sms = intent.getExtras() in onReceive() local
40 if (sms.getPhoneAccountHandle() == null) { in onReceive()
46 int subId = PhoneAccountHandleConverter.toSubId(sms.getPhoneAccountHandle()); in onReceive()
54 RemoteVvmTaskManager.startSmsReceived(context, sms); in onReceive()
DRemoteVvmTaskManager.java90 public static void startSmsReceived(Context context, VisualVoicemailSms sms) { in startSmsReceived() argument
94 sms.getPhoneAccountHandle()); in startSmsReceived()
95 intent.putExtra(VisualVoicemailService.DATA_SMS, sms); in startSmsReceived()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/
DCellBroadcastBootupConfigTest.java31 import static com.android.internal.telephony.cdma.sms.SmsEnvelope.SERVICE_CATEGORY_CMAS_CHILD_ABDUC…
32 import static com.android.internal.telephony.cdma.sms.SmsEnvelope.SERVICE_CATEGORY_CMAS_EXTREME_THR…
33 import static com.android.internal.telephony.cdma.sms.SmsEnvelope.SERVICE_CATEGORY_CMAS_PRESIDENTIA…
34 import static com.android.internal.telephony.cdma.sms.SmsEnvelope.SERVICE_CATEGORY_CMAS_SEVERE_THRE…
/packages/apps/Messaging/src/com/android/messaging/
DBugleApplication.java33 import com.android.messaging.sms.ApnDatabase;
34 import com.android.messaging.sms.BugleApnSettingsLoader;
35 import com.android.messaging.sms.BugleUserAgentInfoLoader;
36 import com.android.messaging.sms.MmsConfig;
/packages/apps/BasicSmsReceiver/tests/src/com/android/basicsmsreceiver/
DDialogSmsDisplayTests.java169 SmsManager sms = SmsManager.getDefault(); in sendSmsMessageInternal() local
171 List<String> messages = sms.divideMessage(messageOut); in sendSmsMessageInternal()
178 sms.sendTextMessage(mMyNumber, null, message, PendingIntent.getBroadcast( in sendSmsMessageInternal()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DPerSubscriptionSettingsActivity.java39 import com.android.messaging.sms.ApnDatabase;
40 import com.android.messaging.sms.MmsConfig;
41 import com.android.messaging.sms.MmsUtils;
/packages/apps/Messaging/src/com/android/messaging/ui/
DSmsStorageLowWarningFragment.java38 import com.android.messaging.sms.SmsReleaseStorage;
39 import com.android.messaging.sms.SmsReleaseStorage.Duration;
40 import com.android.messaging.sms.SmsStorageStatusManager;
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java17 package com.android.messaging.sms;
69 import com.android.messaging.sms.SmsSender.SendResult;
1022 final SmsMessage sms = msgs[0]; in parseReceivedSmsMessage() local
1025 values.put(Sms.ADDRESS, sms.getDisplayOriginatingAddress()); in parseReceivedSmsMessage()
1029 values.put(Sms.DATE_SENT, Long.valueOf(sms.getTimestampMillis())); in parseReceivedSmsMessage()
1031 values.put(Sms.PROTOCOL, sms.getProtocolIdentifier()); in parseReceivedSmsMessage()
1032 if (sms.getPseudoSubject().length() > 0) { in parseReceivedSmsMessage()
1033 values.put(Sms.SUBJECT, sms.getPseudoSubject()); in parseReceivedSmsMessage()
1035 values.put(Sms.REPLY_PATH_PRESENT, sms.isReplyPathPresent() ? 1 : 0); in parseReceivedSmsMessage()
1036 values.put(Sms.SERVICE_CENTER, sms.getServiceCenterAddress()); in parseReceivedSmsMessage()
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/
DOmtpProtocol.java22 import com.android.voicemail.impl.sms.OmtpMessageSender;
23 import com.android.voicemail.impl.sms.OmtpStandardMessageSender;
DCvvmProtocol.java22 import com.android.voicemail.impl.sms.OmtpCvvmMessageSender;
23 import com.android.voicemail.impl.sms.OmtpMessageSender;
DVvm3Protocol.java41 import com.android.voicemail.impl.sms.OmtpMessageSender;
42 import com.android.voicemail.impl.sms.StatusMessage;
43 import com.android.voicemail.impl.sms.Vvm3MessageSender;
DVisualVoicemailProtocol.java30 import com.android.voicemail.impl.sms.OmtpMessageSender;
31 import com.android.voicemail.impl.sms.StatusMessage;
/packages/apps/Messaging/src/com/android/messaging/receiver/
DSendStatusReceiver.java29 import com.android.messaging.sms.MmsUtils;
30 import com.android.messaging.sms.SmsSender;
/packages/apps/Tag/src/com/android/apps/tag/record/
DUriRecord.java82 boolean sms = "sms".equals(scheme) || "smsto".equals(scheme); in getPrettyUriString()
83 if (tel || sms) { in getPrettyUriString()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DDraftMessageData.java30 import com.android.messaging.sms.MmsConfig;
31 import com.android.messaging.sms.MmsSmsUtils;
32 import com.android.messaging.sms.MmsUtils;

12345