/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
CdmaSMSDispatcher.java | 26 import android.provider.Telephony.Sms; 42 import com.android.internal.telephony.cdma.sms.UserData; 64 * Send the SMS status report to the dispatcher thread to process. 65 * @param sms the CDMA SMS message containing the status report 67 public void sendStatusReportMessage(SmsMessage sms) { 69 sendMessage(obtainMessage(EVENT_HANDLE_STATUS_REPORT, sms)); 84 * @param sms the CDMA SMS message to process 86 private void handleCdmaStatusReport(SmsMessage sms) { [all...] |
CdmaInboundSmsHandler.java | 24 import android.provider.Telephony.Sms.Intents; 38 import com.android.internal.telephony.cdma.sms.SmsEnvelope; 58 * Create a new inbound SMS handler for CDMA. 71 * Unregister for CDMA SMS. 78 if (DBG) log("unregistered for 3GPP2 SMS"); 109 SmsMessage sms = (SmsMessage) smsb; local 110 boolean isBroadcastType = (SmsEnvelope.MESSAGE_TYPE_BROADCAST == sms.getMessageType()); 115 SmsCbMessage cbMessage = sms.parseBroadcastSms(); 119 loge("error trying to parse broadcast SMS"); 124 // Initialize fingerprint field, and see if we have a network duplicate SMS [all...] |
CdmaServiceCategoryProgramHandler.java | 27 import android.provider.Telephony.Sms.Intents; 35 import com.android.internal.telephony.cdma.sms.BearerData; 36 import com.android.internal.telephony.cdma.sms.CdmaSmsAddress; 37 import com.android.internal.telephony.cdma.sms.SmsEnvelope; 52 * Create a new CDMA inbound SMS handler. 94 * @param sms the CDMA SmsMessage containing the SCPD request 97 private boolean handleServiceCategoryProgramData(SmsMessage sms) { 98 ArrayList<CdmaSmsCbProgramData> programDataList = sms.getSmsCbProgramData(); 107 intent.putExtra("sender", sms.getOriginatingAddress()); 118 * as a reply SMS, then sends a message to state machine to transition to idle [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
IccSmsInterfaceManager.java | 60 * access Sms in Icc. 106 //Mark SMS as read after importing it from card. 109 if (Rlog.isLoggable("SMS", Log.DEBUG)) { 110 log("Cannot load Sms records"); 148 if (Rlog.isLoggable("SMS", Log.DEBUG)) { 164 if (Rlog.isLoggable("SMS", Log.DEBUG)) { 165 log("SMS " + (i + 1) + " marked as read"); 241 * Copy a raw SMS PDU to the Icc. 284 * @return list of SmsRawData of all sms on Icc 301 Rlog.e(LOG_TAG, "Cannot load Sms records. No icc card?") [all...] |
ImsSMSDispatcher.java | 25 import android.provider.Telephony.Sms.Intents; 49 /** true if IMS is registered and sms is supported, false otherwise.*/ 58 // Create dispatchers, inbound SMS handlers and 155 // failed to retrieve valid IMS SMS format info, set IMS to unregistered 219 // SMS pdus when the phone is camping on CDMA(3gpp2) network and vice versa. 223 // Only class 1 SMS are allowed to be injected. 270 // was previously sent sms format match with voice tech? 303 Rlog.d(TAG, "sms failed was text"); 316 Rlog.d(TAG, "sms failed was data"); 384 * Determines whether or not to use CDMA format for MO SMS [all...] |
UiccSmsController.java | 29 import android.provider.Telephony.Sms.Intents; 40 * access Sms in Icc. 284 // The subscription id is valid, sms sim pick activity not needed 289 // If reached here and multiple SIMs and subs present, sms sim pick activity is needed 323 * get sms interface manager object based on subscription. 353 Gets User preferred SMS subscription */ 360 * Get SMS prompt property, enabled or not
|
WapPushOverSms.java | 45 import android.provider.Telephony.Sms.Intents; 322 * @param pdu The WAP PDU, made up of one or more SMS PDUs 323 * @return a result code from {@link android.provider.Telephony.Sms.Intents}, or 421 * Check whether the pdu is a MMS WAP push pdu that should be dispatched to the SMS app.
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
GsmInboundSmsHandlerTest.java | 94 private static final Uri sRawUri = Uri.withAppendedPath(Telephony.Sms.CONTENT_URI, 98 // For multi-part SMS 172 Telephony.Sms.CONTENT_URI.getAuthority(), mContentProvider); 209 assertEquals(Telephony.Sms.Intents.SMS_DELIVER_ACTION, 218 assertEquals(Telephony.Sms.Intents.SMS_RECEIVED_ACTION, 233 // send new SMS to state machine and verify that triggers SMS_DELIVER_ACTION 240 // send same SMS again, verify no broadcasts are sent 270 assertEquals(Telephony.Sms.Intents.DATA_SMS_RECEIVED_ACTION, 292 // send same data sms again, and since it's not text sms it should be broadcast agai [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/ |
PhoneUtils.java | 40 import com.android.messaging.sms.MmsSmsUtils; 153 * default subscription id for SMS. 173 * Get the default SMS subscription id 180 * Returns if there's currently a system default SIM selected for sending SMS. 665 * Check if this device supports SMS 667 * @return true if SMS is supported, false otherwise 888 * Is Messaging the default SMS app? 894 final String configuredApplication = Telephony.Sms.getDefaultSmsPackage(mContext); 901 * Get default SMS app package name 903 * @return the package name of default SMS ap [all...] |
/cts/tests/tests/telephony/src/android/telephony/cts/ |
SmsManagerTest.java | 112 // exclude the networks that don't support SMS delivery report 176 // send single text sms 179 assertTrue("[RERUN] Could not send SMS. Check signal.", 182 assertTrue("[RERUN] SMS message delivery notification not received. Check signal.", 190 // default SMS app 197 // send data sms 199 assertTrue("[RERUN] Could not send data SMS. Check signal.", 202 assertTrue("[RERUN] Data SMS message delivery notification not received. " + 206 assertTrue("[RERUN] Data SMS message not received. Check signal.", mReceivedDataSms); 209 // This GSM network doesn't support Data(binary) SMS message [all...] |
/development/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/ |
MainActivity.java | 24 import android.provider.Telephony.Sms.Inbox; 43 * -detecting if this app is the default SMS app and then showing/hiding UI and enabling/disabling 46 * -a simple query to the SMS content provider to show a list of SMS messages in the inbox. even 50 * -being triggered from another application when creating a new SMS. a good example is creating 51 * a new SMS from the system People application. although nothing is done with the incoming 99 // Simple query to show the most recent SMS messages in the inbox 109 // TODO: Use SmsManager to send SMS and then record the message in the system SMS 152 String phoneNumberToast = "Unable to obtain phone number (not default SMS app?)" [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
UsimDataDownloadHandler.java | 23 import android.provider.Telephony.Sms.Intents; 35 * Handler for SMS-PP data download messages. 41 /** BER-TLV tag for SMS-PP download. TS 31.111 section 9.1. */ 50 /** Message containing new SMS-PP message to process. */ 53 /** Response to SMS-PP download envelope command. */ 56 /** Result of writing SM to UICC (when SMS-PP service is not available). */ 66 * Handle SMS-PP data download messages. Normally these are automatically handled by the 68 * data download service is not enabled, try to write to the USIM as an SMS, and send the 72 * @param smsMessage the SMS message to process 76 // If we receive an SMS-PP message before the UsimServiceTable has been loaded [all...] |
/packages/apps/BasicSmsReceiver/tests/src/com/android/basicsmsreceiver/ |
DialogSmsDisplayTests.java | 84 assertTrue("SMS must be enabled on the device", mHasSms); 88 // Register broadcast receivers for SMS sent and delivered intents 103 message = "Error: No SMS service."; 118 // Register broadcast receivers for received SMS 145 new IntentFilter(Telephony.Sms.Intents.SMS_RECEIVED_ACTION)); 166 fail("no sms on device"); 169 SmsManager sms = SmsManager.getDefault(); local 171 List<String> messages = sms.divideMessage(messageOut); 178 sms.sendTextMessage(mMyNumber, null, message, PendingIntent.getBroadcast( 184 // returns true if "messageCount" sms messages are received, false if timeou [all...] |
/packages/apps/Settings/src/com/android/settings/ |
SmsDefaultDialog.java | 27 import android.provider.Telephony.Sms.Intents; 89 // No phone, no SMS 96 // New default SMS app specified, change to that directly after the confirmation 123 // No new default SMS app specified, show a list of all SMS apps and let user to pick 139 * The list of SMS apps with label, icon. Current default SMS app is marked as "default". 143 * SMS app item in the list 230 // Get the list items by looking for SMS apps 252 // Get the selected item index by looking for the current default SMS ap [all...] |
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastAlertService.java | 156 if (Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION.equals(action) || 157 Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION.equals(action)) {
|
/packages/services/Mms/src/com/android/mms/service/ |
DownloadRequest.java | 197 final Intent intent = new Intent(Telephony.Sms.Intents.MMS_DOWNLOADED_ACTION); 217 // Is the user not allowed to use SMS?
|
/frameworks/base/telephony/java/android/telephony/ |
Telephony.java | 49 * The Telephony provider contains data related to phone operation, specifically SMS and MMS 53 * devices. If your app depends on telephony features such as for managing SMS messages, include 61 * <h3>Creating an SMS app</h3> 63 * <p>Only the default SMS app (selected by the user in system settings) is able to write to the 64 * SMS Provider (the tables defined within the {@code Telephony} class) and only the default SMS 65 * app receives the {@link android.provider.Telephony.Sms.Intents#SMS_DELIVER_ACTION} broadcast 66 * when the user receives an SMS or the {@link 67 * android.provider.Telephony.Sms.Intents#WAP_PUSH_DELIVER_ACTION} broadcast when the user 70 * <p>Any app that wants to behave as the user's default SMS app must handle the following intents [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/ |
UIIntentsImpl.java | 51 import com.android.messaging.sms.MmsSmsUtils; 498 final Intent intent = new Intent(Telephony.Sms.Intents.ACTION_CHANGE_DEFAULT); 499 intent.putExtra(Telephony.Sms.Intents.EXTRA_PACKAGE_NAME, activity.getPackageName());
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
SmsFacade.java | 29 import android.provider.Telephony.Sms.Intents; 39 import com.android.internal.telephony.cdma.sms.SmsEnvelope; 96 "com.googlecode.android_scripting.sms.MESSAGE_STATUS_DELIVERED"; 98 "com.googlecode.android_scripting.sms.MESSAGE_SENT"; 222 @Rpc(description = "Starts tracking incoming SMS.") 228 @Rpc(description = "Starts tracking incoming SMS.") 236 @Rpc(description = "Stops tracking incoming SMS.") 242 @Rpc(description = "Stops tracking incoming SMS.") 249 Log.e("Tried to unregister nonexistent SMS Listener!"); 460 Log.d("SMS Message delivered successfully") 527 SmsMessage sms = msgs[0]; local [all...] |
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/ |
SendTestMessages.java | 25 import android.provider.Telephony.Sms.Intents;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
DefaultPermissionGrantPolicy.java | 44 import android.provider.Telephony.Sms.Intents; 404 // SMS [all...] |
/frameworks/base/services/core/java/com/android/server/location/ |
GnssLocationProvider.java | 68 import android.provider.Telephony.Sms.Intents; [all...] |
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
WapPushTest.java | 26 import android.provider.Telephony.Sms.Intents; [all...] |
/prebuilts/sdk/19/ |
android.jar | |
/prebuilts/sdk/21/ |
android.jar | |