Home
last modified time | relevance | path

Searched refs:sms (Results 1 – 25 of 108) 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()
75 LegacyModeSmsHandler.handle(context, sms); in onReceive()
86 LegacyModeSmsHandler.handle(context, sms); in onReceive()
93 String eventType = sms.getPrefix(); in onReceive()
94 Bundle data = sms.getFields(); in onReceive()
DLegacyModeSmsHandler.java17 package com.android.voicemail.impl.sms;
50 public static void handle(Context context, VisualVoicemailSms sms) { in handle() argument
52 String eventType = sms.getPrefix(); in handle()
53 Bundle data = sms.getFields(); in handle()
54 PhoneAccountHandle handle = sms.getPhoneAccountHandle(); in handle()
75 sms.getFields().getString(OmtpConstants.ALTERNATIVE_NUM_MESSAGE_COUNT)); in handle()
DStatusSmsFetcher.java17 package com.android.voicemail.impl.sms;
112 VisualVoicemailSms sms = intent.getExtras().getParcelable(OmtpService.EXTRA_VOICEMAIL_SMS); in onReceive() local
114 if (!phoneAccountHandle.equals(sms.getPhoneAccountHandle())) { in onReceive()
117 String eventType = sms.getPrefix(); in onReceive()
120 future.complete(sms.getFields()); in onReceive()
136 Bundle translatedBundle = protocol.translateStatusSmsBundle(helper, eventType, sms.getFields()); in onReceive()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DOmtpService.java35 import com.android.voicemail.impl.sms.LegacyModeSmsHandler;
78 public void onSmsReceived(VisualVoicemailTask task, final VisualVoicemailSms sms) { in onSmsReceived() argument
87 LegacyModeSmsHandler.handle(this, sms); in onSmsReceived()
91 if (!isServiceEnabled(sms.getPhoneAccountHandle())) { in onSmsReceived()
93 disableFilter(sms.getPhoneAccountHandle()); in onSmsReceived()
103 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
39 if (sms.getPhoneAccountHandle() == null) { in onReceive()
45 int subId = PhoneAccountHandleConverter.toSubId(sms.getPhoneAccountHandle()); in onReceive()
54 RemoteVvmTaskManager.startSmsReceived(context, sms, targetPackage); in onReceive()
DRemoteVvmTaskManager.java94 static void startSmsReceived(Context context, VisualVoicemailSms sms, in startSmsReceived() argument
99 sms.getPhoneAccountHandle()); in startSmsReceived()
100 intent.putExtra(VisualVoicemailService.DATA_SMS, sms); in startSmsReceived()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastBootupConfigTest.java19 import static com.android.internal.telephony.cdma.sms.SmsEnvelope.SERVICE_CATEGORY_CMAS_CHILD_ABDUC…
20 import static com.android.internal.telephony.cdma.sms.SmsEnvelope.SERVICE_CATEGORY_CMAS_EXTREME_THR…
21 import static com.android.internal.telephony.cdma.sms.SmsEnvelope.SERVICE_CATEGORY_CMAS_PRESIDENTIA…
22 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/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;
DVisualVoicemailProtocol.java30 import com.android.voicemail.impl.sms.OmtpMessageSender;
31 import com.android.voicemail.impl.sms.StatusMessage;
DVvm3Protocol.java42 import com.android.voicemail.impl.sms.OmtpMessageSender;
43 import com.android.voicemail.impl.sms.StatusMessage;
44 import com.android.voicemail.impl.sms.Vvm3MessageSender;
/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/
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/ui/appsettings/
DPerSubscriptionSettingsActivity.java41 import com.android.messaging.sms.ApnDatabase;
42 import com.android.messaging.sms.MmsConfig;
43 import com.android.messaging.sms.MmsUtils;
/packages/apps/Messaging/src/com/android/messaging/receiver/
DSendStatusReceiver.java30 import com.android.messaging.sms.MmsUtils;
31 import com.android.messaging.sms.SmsSender;
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java17 package com.android.messaging.sms;
67 import com.android.messaging.sms.SmsSender.SendResult;
1028 final SmsMessage sms = msgs[0]; in parseReceivedSmsMessage() local
1031 values.put(Sms.ADDRESS, sms.getDisplayOriginatingAddress()); in parseReceivedSmsMessage()
1035 values.put(Sms.DATE_SENT, Long.valueOf(sms.getTimestampMillis())); in parseReceivedSmsMessage()
1037 values.put(Sms.PROTOCOL, sms.getProtocolIdentifier()); in parseReceivedSmsMessage()
1038 if (sms.getPseudoSubject().length() > 0) { in parseReceivedSmsMessage()
1039 values.put(Sms.SUBJECT, sms.getPseudoSubject()); in parseReceivedSmsMessage()
1041 values.put(Sms.REPLY_PATH_PRESENT, sms.isReplyPathPresent() ? 1 : 0); in parseReceivedSmsMessage()
1042 values.put(Sms.SERVICE_CENTER, sms.getServiceCenterAddress()); in parseReceivedSmsMessage()
[all …]
/packages/apps/Tag/src/com/android/apps/tag/record/
DUriRecord.java84 boolean sms = "sms".equals(scheme) || "smsto".equals(scheme); in getPrettyUriString()
85 if (tel || sms) { in getPrettyUriString()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
DStateMachineTest.java1724 StateMachineSharedThread sms[] = new StateMachineSharedThread[10]; in testStateMachineSharedThread() local
1725 for (int i = 0; i < sms.length; i++) { in testStateMachineSharedThread()
1726 sms[i] = new StateMachineSharedThread("smSharedThread", in testStateMachineSharedThread()
1727 smThread.getLooper(), sms.length); in testStateMachineSharedThread()
1728 sms[i].start(); in testStateMachineSharedThread()
1733 for (StateMachineSharedThread sm : sms) { in testStateMachineSharedThread()
1748 for (StateMachineSharedThread sm : sms) { in testStateMachineSharedThread()

12345