/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 | 29 import android.provider.Telephony.Sms; 160 Sms.THREAD_ID, 161 Sms.ADDRESS, 162 Sms.BODY, 163 Sms.DATE, 164 Sms.READ, 165 Sms.TYPE, 166 Sms.STATUS, 167 Sms.LOCKED, 168 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,
|
GsmSmsDispatcherTest.java | 103 Telephony.Sms.Intents.RESULT_SMS_HANDLED, null); 115 "6501002000", "121" /*scAddr*/, "test sms", null, null, null, null, false); 133 getEmergencyNumberFromSystemPropertiesOrDefault(), "121" /*scAddr*/, "test sms",
|
/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); 80 Intent intent = new Intent(Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SMSDispatcher.java | 54 import android.provider.Telephony.Sms; 99 /** SMS send complete. */ 102 /** Retry sending a previously failed SMS message */ 108 /** Send the user confirmed SMS */ 111 /** Don't send SMS (user did not confirm). */ 114 /** Confirmation required for third-party apps sending to an SMS short code. */ 117 /** Confirmation required for third-party apps sending to an SMS short code. */ 126 /** IMS registration/SMS format changed */ 142 /** Maximum number of times to retry sending a failed SMS. */ 144 /** Delay before next send attempt on a failed SMS, in milliseconds. * [all...] |
InboundSmsHandler.java | 56 import android.provider.Telephony.Sms.Intents; 79 * This class broadcasts incoming SMS messages to interested apps after storing them in 85 * new SMS from the radio, it calls {@link #dispatchNormalMessage}, 90 * <p>After saving the SMS, if the message is complete (either single-part or the final segment 91 * of a multi-part SMS), we broadcast the completed PDUs as an ordered broadcast, then transition to 96 * after all messages are processed. Then the wakelock is released and we wait for the next SMS. 137 /** New SMS received as an AsyncResult. */ 158 /** New SMS received as an AsyncResult. */ 169 /** URI for raw table of SMS provider. */ 170 protected static final Uri sRawUri = Uri.withAppendedPath(Telephony.Sms.CONTENT_URI, "raw") 519 SmsMessage sms = (SmsMessage) ar.result; local 543 SmsMessage sms = (SmsMessage) ar.result; local 1471 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. */
|
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/Bluetooth/tests/src/com/android/bluetooth/map/ |
BluetoothMapContentObserverTest.java | 12 import android.provider.Telephony.Sms; 43 mockResolver.addProvider("sms", mockProvider);
|
/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 | 36 import com.android.internal.telephony.cdma.sms.SmsEnvelope; 144 Telephony.Sms.CONTENT_URI.getAuthority(), mContentProvider); 183 // send new SMS to state machine and verify that triggers SMS_DELIVER_ACTION 191 assertEquals(Telephony.Sms.Intents.SMS_DELIVER_ACTION, 199 assertEquals(Telephony.Sms.Intents.SMS_RECEIVED_ACTION,
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastReceiver.java | 33 import com.android.internal.telephony.cdma.sms.SmsEnvelope; 88 } else if (Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION.equals(action) || 89 Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION.equals(action)) { 100 } 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 | 38 import android.provider.Telephony.Sms; 39 import android.provider.Telephony.Sms.Conversations; 55 * This class provides the ability to query the MMS and SMS databases 61 * or "sms", depending on whether the message represented by the row 62 * is an MMS message or an SMS message, respectively. 105 * messages(both MMS and SMS) to be sent/downloaded. 110 * the name of the table that is used to store the canonical addresses for both SMS and MMS. 120 // MMS and SMS base tables. 123 // SMS ("sms") message tables [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
GsmSMSDispatcher.java | 26 import android.provider.Telephony.Sms; 27 import android.provider.Telephony.Sms.Intents; 121 SmsMessage sms = SmsMessage.newFromCDS(pdu); local 123 if (sms != null) { 124 int tpStatus = sms.getStatus(); 125 int messageRef = sms.mMessageRef; 130 if(tpStatus >= Sms.STATUS_FAILED || tpStatus < Sms.STATUS_PENDING ) { 259 // per TS 23.040 Section 9.2.3.6: If TP-MTI SMS-SUBMIT (0x01) type 261 // and TP-MR is set to previously failed sms TP-M [all...] |
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...] |
/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...] |
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/ |
DialogSmsDisplayTests.java | 21 import android.provider.Telephony.Sms.Intents;
|