/packages/apps/Messaging/src/com/android/messaging/sms/ |
DatabaseMessages.java | 17 package com.android.messaging.sms; 31 import android.provider.Telephony.Sms; 57 * Class contains various SMS/MMS database entities from telephony provider 87 * SMS message 108 Sms._ID, 109 Sms.TYPE, 110 Sms.ADDRESS, 111 Sms.BODY, 112 Sms.DATE, 113 Sms.THREAD_ID [all...] |
/packages/services/Mms/src/com/android/mms/service/ |
MmsService.java | 488 insertUri = Telephony.Sms.Inbox.CONTENT_URI; 492 insertUri = Telephony.Sms.Sent.CONTENT_URI; 500 values.put(Telephony.Sms.ADDRESS, address); 501 values.put(Telephony.Sms.DATE, timestampMillis); 502 values.put(Telephony.Sms.SEEN, seen ? 1 : 0); 503 values.put(Telephony.Sms.READ, read ? 1 : 0); 504 values.put(Telephony.Sms.BODY, text); 592 if (!uriString.startsWith("content://sms/") && !uriString.startsWith("content://mms/")) { 615 values.put(Telephony.Sms.READ, val); 621 values.put(Telephony.Sms.SEEN, val) [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
InsertNewMessageAction.java | 36 import com.android.messaging.sms.MmsUtils; 46 * Action used to convert a draft message to an outgoing message. Its writes SMS messages to 155 // TODO: Work out whether to send with SMS or MMS (taking into account recipients)? 160 // Broadcast SMS - put message in "fake conversation" before farming out to real 1:1 269 Assert.fail("InsertNewMessage: Couldn't get threadId in SMS db for these recipients: " 292 LogUtil.v(TAG, "InsertNewMessageAction: Inserting broadcast SMS message " 306 // Insert message into telephony database sms message table 308 Telephony.Sms.CONTENT_URI, 313 Telephony.Sms.STATUS_COMPLETE, 314 Telephony.Sms.MESSAGE_TYPE_SENT, threadId) [all...] |
ProcessDeliveryReportAction.java | 32 import com.android.messaging.sms.MmsUtils; 77 Telephony.Sms.MESSAGE_TYPE_SENT /* type */, status);
|
SyncCursorPair.java | 23 import android.provider.Telephony.Sms; 35 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; 68 * Check if SMS has been synchronized. We compare the counts of messages on both 73 * However, we have background sms sync once a while, also some other events might 77 * @return If sms is in sync with telephony sms/mms provider 627 final SmsMessage sms = (SmsMessage) message; local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapContent.java | 31 import android.provider.Telephony.Sms; 158 Sms.THREAD_ID, 159 Sms.ADDRESS, 160 Sms.BODY, 161 Sms.DATE, 162 Sms.READ, 163 Sms.TYPE, 164 Sms.STATUS, 165 Sms.LOCKED, 166 Sms.ERROR_COD [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
WapPushOverSmsTest.java | 97 assertEquals(Telephony.Sms.Intents.WAP_PUSH_DELIVER_ACTION, intent.getAction()); 139 assertEquals(Telephony.Sms.Intents.RESULT_SMS_HANDLED,
|
SmsStorageMonitorTest.java | 76 // Notify icc sms full 83 assertEquals(Telephony.Sms.Intents.SIM_FULL_ACTION,
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
GsmCellBroadcastHandlerTest.java | 128 assertEquals(Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION, 132 assertEquals(Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SMSDispatcher.java | 58 import android.provider.Telephony.Sms; 83 import com.android.internal.telephony.cdma.sms.UserData; 113 /** SMS send complete. */ 116 /** Retry sending a previously failed SMS message */ 122 /** Send the user confirmed SMS */ 125 /** Don't send SMS (user did not confirm). */ 128 /** Confirmation required for third-party apps sending to an SMS short code. */ 131 /** Confirmation required for third-party apps sending to an SMS short code. */ 149 /** Maximum number of times to retry sending a failed SMS. */ 151 /** Delay before next send attempt on a failed SMS, in milliseconds. * [all...] |
InboundSmsHandler.java | 55 import android.provider.Telephony.Sms.Intents; 78 * This class broadcasts incoming SMS messages to interested apps after storing them in 84 * new SMS from the radio, it calls {@link #dispatchNormalMessage}, 89 * <p>After saving the SMS, if the message is complete (either single-part or the final segment 90 * of a multi-part SMS), we broadcast the completed PDUs as an ordered broadcast, then transition to 95 * after all messages are processed. Then the wakelock is released and we wait for the next SMS. 136 /** New SMS received as an AsyncResult. */ 157 /** New SMS received as an AsyncResult. */ 168 /** URI for raw table of SMS provider. */ 169 protected static final Uri sRawUri = Uri.withAppendedPath(Telephony.Sms.CONTENT_URI, "raw") 543 SmsMessage sms = (SmsMessage) ar.result; local 567 SmsMessage sms = (SmsMessage) ar.result; local 1511 final SmsMessage sms = msgs[0]; local [all...] |
SmsStorageMonitor.java | 27 import android.provider.Telephony.Sms.Intents; 53 /** Wake lock to ensure device stays awake while dispatching the SMS intent. */ 85 // that storage for SMS is or is not available. 140 * Called when SIM_FULL message is received from the RIL. Notifies the default SMS application 141 * that SIM storage for SMS messages is full. 152 /** Returns whether or not there is storage available for an incoming SMS. */
|
SmsDispatchersController.java | 31 import android.provider.Telephony.Sms; 32 import android.provider.Telephony.Sms.Intents; 56 /** IMS registration/SMS format changed */ 75 /** true if IMS is registered and sms is supported, false otherwise.*/ 88 // Create dispatchers, inbound SMS handlers and 180 * Inject an SMS PDU into the android platform only if it is class 1. 183 * @param format is the format of SMS pdu (3gpp or 3gpp2) 186 * the same time an SMS received from radio is responded back. 191 // SMS pdus when the phone is camping on CDMA(3gpp2) network and vice versa. 198 * Inject an SMS PDU into the android platform 596 com.android.internal.telephony.gsm.SmsMessage sms = local [all...] |
AppSmsManager.java | 24 import android.provider.Telephony.Sms.Intents; 37 * Manager for app specific incoming SMS requests. This can be used to implement SMS based 38 * communication channels (e.g. for SMS based phone number verification) without needing the 42 * that is triggered when an incoming SMS is received that contains the provided token. 64 * Create an app specific incoming SMS request for the the calling package. 66 * This method returns a token that if included in a subsequent incoming SMS message the 73 * @return Token to include in an SMS to have it delivered directly to the app. 95 * Handle an incoming SMS_DELIVER_ACTION intent if it is an app-only SMS. 115 // The pending intent is canceled, send this SMS as normal [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
MmsWapPushReceiver.java | 39 if (Telephony.Sms.Intents.WAP_PUSH_RECEIVED_ACTION.equals(intent.getAction())
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
PhoneCapabilityTester.java | 46 * functionality (like Phone, SMS) 80 * Returns the component name to use for sending to sms or null. 83 String smsPackage = Telephony.Sms.getDefaultSmsPackage(context);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
CdmaInboundSmsHandlerTest.java | 49 import com.android.internal.telephony.cdma.sms.SmsEnvelope; 146 Telephony.Sms.CONTENT_URI.getAuthority(), mContentProvider); 186 // send new SMS to state machine and verify that triggers SMS_DELIVER_ACTION 194 assertEquals(Telephony.Sms.Intents.SMS_DELIVER_ACTION, 202 assertEquals(Telephony.Sms.Intents.SMS_RECEIVED_ACTION,
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastReceiver.java | 36 import com.android.internal.telephony.cdma.sms.SmsEnvelope; 102 } else if (Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION.equals(action) || 103 Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION.equals(action)) { 114 } else if (Telephony.Sms.Intents.SMS_SERVICE_CATEGORY_PROGRAM_DATA_RECEIVED_ACTION
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/ |
CellBroadcastAlertServiceTest.java | 100 intent.setAction(Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION); 168 intent.setAction(Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION); 188 intent.setAction(Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION);
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
VisualVoicemailServiceTest.java | 33 import android.provider.Telephony.Sms; 34 import android.provider.Telephony.Sms.Intents; 164 throw new RuntimeException("Unexpected visual voicemail SMS received"); 198 Log.d(TAG, "skipping test that requires data SMS feature"); 383 Log.d(TAG, "skipping test that requires data SMS feature"); 401 Log.d(TAG, "skipping test that requires data SMS feature"); 419 Log.d(TAG, "skipping test that requires data SMS feature"); 432 * Text SMS should not be filtered with DESTINATION_PORT_DATA_SMS 440 Log.d(TAG, "skipping test that requires data SMS feature"); 480 * Setup the SMS filter with only the {@code clientPrefix}, and sends {@code text} to th 503 VisualVoicemailSms sms; local 540 VisualVoicemailSms sms; local [all...] |
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
MmsSmsProvider.java | 39 import android.provider.Telephony.Sms; 40 import android.provider.Telephony.Sms.Conversations; 56 * This class provides the ability to query the MMS and SMS databases 62 * or "sms", depending on whether the message represented by the row 63 * is an MMS message or an SMS message, respectively. 106 * messages(both MMS and SMS) to be sent/downloaded. 111 * the name of the table that is used to store the canonical addresses for both SMS and MMS. 121 // MMS and SMS base tables. 124 // SMS ("sms") message tables [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
SmsApplication.java | 40 import android.provider.Telephony.Sms.Intents; 55 * Class for managing the primary application that we will deliver SMS/MMS messages to 66 private static final String SCHEME_SMS = "sms"; 76 * Name of this SMS app for display. 81 * Package name for this SMS app. 193 * Returns the list of available SMS apps defined as apps that are registered for both the 194 * SMS_RECEIVED_ACTION (SMS) and WAP_PUSH_RECEIVED_ACTION (MMS) broadcasts (and their broadcast 197 * Requirements to be an SMS application: 225 // Get the list of apps registered for SMS 232 // Add one entry to the map for every sms receiver (ignoring duplicate sms receivers [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
GsmInboundSmsHandler.java | 22 import android.provider.Telephony.Sms.Intents; 37 * This class broadcasts incoming SMS messages to interested apps after storing them in 42 /** Handler for SMS-PP data download messages to UICC. */ 46 * Create a new GSM inbound SMS handler. 57 * Unregister for GSM SMS. 64 if (DBG) log("unregistered for 3GPP SMS"); 88 * Handle type zero, SMS-PP data download, and 3GPP/CPHS MWI type SMS. Normal SMS messages 92 * @return a result code from {@link android.provider.Telephony.Sms.Intents} 97 SmsMessage sms = (SmsMessage) smsb; local [all...] |
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/ |
SendCdmaCmasMessages.java | 29 import com.android.internal.telephony.cdma.sms.SmsEnvelope; 55 Intent intent = new Intent(Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION);
|
SendGsmCmasMessages.java | 57 Intent intent = new Intent(Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION);
|