/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
IccSmsInterfaceManager.java | 59 * access Sms in Icc. 107 //Mark SMS as read after importing it from card. 110 if (Rlog.isLoggable("SMS", Log.DEBUG)) { 111 log("Cannot load Sms records"); 159 if (Rlog.isLoggable("SMS", Log.DEBUG)) { 175 if (Rlog.isLoggable("SMS", Log.DEBUG)) { 176 log("SMS " + (i + 1) + " marked as read"); 252 * Copy a raw SMS PDU to the Icc. 295 * @return list of SmsRawData of all sms on Icc 312 Rlog.e(LOG_TAG, "Cannot load Sms records. No icc card?") [all...] |
ImsSmsDispatcher.java | 20 import android.provider.Telephony.Sms.Intents; 164 Rlog.d(TAG, "SMS received."); 168 Rlog.d(TAG, "SMS handled result: " + result); 189 Rlog.w(TAG, "SMS Received with a PDU that could not be parsed."); 244 Rlog.e(TAG, "Failed to get sms format. Error: " + e.getMessage()); 251 // We should not block outgoing SMS during ECM on IMS. It only applies to outgoing CDMA 252 // SMS. 283 // Flag that this Tracker is using the ImsService implementation of SMS over IMS for sending 294 // per TS 23.040 Section 9.2.3.6: If TP-MTI SMS-SUBMIT (0x01) type 296 // and TP-MR is set to previously failed sms TP-M [all...] |
UiccSmsController.java | 29 import android.provider.Telephony.Sms.Intents; 40 * access Sms in Icc. 319 // The subscription id is valid, sms sim pick activity not needed 324 // If reached here and multiple SIMs and subs present, sms sim pick activity is needed 358 * Get sms interface manager object based on subscription. 359 * @return ICC SMS manager 366 * Get User preferred SMS subscription 367 * @return User preferred SMS subscription 375 * Get SMS prompt property enabled or not 376 * @return True if SMS prompt is enabled [all...] |
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 | 95 private static final Uri sRawUri = Uri.withAppendedPath(Telephony.Sms.CONTENT_URI, 99 // For multi-part SMS 173 Telephony.Sms.CONTENT_URI.getAuthority(), mContentProvider); 210 assertEquals(Telephony.Sms.Intents.SMS_DELIVER_ACTION, 219 assertEquals(Telephony.Sms.Intents.SMS_RECEIVED_ACTION, 236 // send new SMS to state machine and verify that triggers SMS_DELIVER_ACTION 243 // send same SMS again, verify no broadcasts are sent 273 assertEquals(Telephony.Sms.Intents.DATA_SMS_RECEIVED_ACTION, 295 // send same data sms again, and since it's not text sms it should be broadcast agai [all...] |
GsmSmsDispatcherTest.java | 145 Telephony.Sms.Intents.RESULT_SMS_HANDLED, null); 156 mGsmSmsDispatcher.sendText("6501002000", "121" /*scAddr*/, "test sms", 176 getEmergencyNumberFromSystemPropertiesOrDefault(), "121" /*scAddr*/, "test sms",
|
/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/cdma/ |
CdmaInboundSmsHandler.java | 23 import android.provider.Telephony.Sms.Intents; 36 import com.android.internal.telephony.cdma.sms.SmsEnvelope; 56 * Create a new inbound SMS handler for CDMA. 69 * Unregister for CDMA SMS. 76 if (DBG) log("unregistered for 3GPP2 SMS"); 107 SmsMessage sms = (SmsMessage) smsb; local 108 boolean isBroadcastType = (SmsEnvelope.MESSAGE_TYPE_BROADCAST == sms.getMessageType()); 113 SmsCbMessage cbMessage = sms.parseBroadcastSms(); 117 loge("error trying to parse broadcast SMS"); 122 // 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/gsm/ |
GsmSMSDispatcher.java | 21 import android.provider.Telephony.Sms.Intents; 138 SmsMessage sms = SmsMessage.newFromCDS(pdu); local 140 if (sms != null) { 141 int messageRef = sms.mMessageRef; 173 // per TS 23.040 Section 9.2.3.6: If TP-MTI SMS-SUBMIT (0x01) type 175 // and TP-MR is set to previously failed sms TP-MR 190 // if sms over IMS is not supported on data and voice is not available... 199 // sms over gsm is used: 200 // if sms over IMS is not supported AND 201 // this is not a retry case after sms over IMS faile [all...] |
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...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
SmsDispatchersControllerTest.java | 42 import android.provider.Telephony.Sms.Intents; 171 // inject null sms pdu. This should cause intent to be received since pdu is null.
|
/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/ |
ResetNetworkConfirm.java | 156 // There has been issues when Sms raw table somehow stores orphan 166 Uri uri = Uri.withAppendedPath(Telephony.Sms.CONTENT_URI, "raw/permanentDelete");
|
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 | 177 if (Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION.equals(action) || 178 Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION.equals(action)) { [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
AvailableIntentsTest.java | 196 * Test ACTION_SHOW_RESPOND_VIA_SMS_SETTINGS, it will display the respond by SMS preferences. 353 assertCanBeHandled(new Intent(Telephony.Sms.Intents.ACTION_CHANGE_DEFAULT));
|
/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/provider/ |
Telephony.java | 50 * The Telephony provider contains data related to phone operation, specifically SMS and MMS 54 * devices. If your app depends on telephony features such as for managing SMS messages, include 62 * <h3>Creating an SMS app</h3> 64 * <p>Only the default SMS app (selected by the user in system settings) is able to write to the 65 * SMS Provider (the tables defined within the {@code Telephony} class) and only the default SMS 66 * app receives the {@link android.provider.Telephony.Sms.Intents#SMS_DELIVER_ACTION} broadcast 67 * when the user receives an SMS or the {@link 68 * android.provider.Telephony.Sms.Intents#WAP_PUSH_DELIVER_ACTION} broadcast when the user 71 * <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());
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsProtoDumpUtil.java | [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
SmsFacade.java | 29 import android.provider.Telephony.Sms.Intents; 38 import com.android.internal.telephony.cdma.sms.SmsEnvelope; 270 @Rpc(description = "Starts tracking incoming SMS.") 276 @Rpc(description = "Starts tracking incoming SMS.") 284 @Rpc(description = "Stops tracking incoming SMS.") 290 @Rpc(description = "Stops tracking incoming SMS.") 297 Log.e("Tried to unregister nonexistent SMS Listener!"); 402 Log.d(String.format("Send SMS message of length %d", message_length)); 406 Log.d(String.format("SMS message of length %d is divided into %d parts", 424 Log.d(String.format("SMS message of length %s is sent as one part", message_length)) 558 SmsMessage sms = msgs[0]; local [all...] |
/frameworks/base/core/proto/android/providers/settings/ |
global.proto | [all...] |