HomeSort by relevance Sort by last modified time
    Searched refs:Sms (Results 51 - 75 of 77) sorted by null

1 23 4

  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
GsmInboundSmsHandlerTest.java 83 private static final Uri sRawUri = Uri.withAppendedPath(Telephony.Sms.CONTENT_URI, "raw");
85 Uri.withAppendedPath(Telephony.Sms.CONTENT_URI, "raw/permanentDelete");
88 // For multi-part SMS
341 Telephony.Sms.CONTENT_URI.getAuthority(), mContentProvider);
375 assertEquals(Telephony.Sms.Intents.SMS_DELIVER_ACTION,
384 assertEquals(Telephony.Sms.Intents.SMS_RECEIVED_ACTION,
399 // send new SMS to state machine and verify that triggers SMS_DELIVER_ACTION
406 // send same SMS again, verify no broadcasts are sent
436 assertEquals(Telephony.Sms.Intents.DATA_SMS_RECEIVED_ACTION,
458 // send same data sms again, and since it's not text sms it should be broadcast agai
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
IccSmsInterfaceManager.java 58 * access Sms in Icc.
104 //Mark SMS as read after importing it from card.
107 if (Rlog.isLoggable("SMS", Log.DEBUG)) {
108 log("Cannot load Sms records");
146 if (Rlog.isLoggable("SMS", Log.DEBUG)) {
162 if (Rlog.isLoggable("SMS", Log.DEBUG)) {
163 log("SMS " + (i + 1) + " marked as read");
239 * Copy a raw SMS PDU to the Icc.
282 * @return list of SmsRawData of all sms on Icc
299 Rlog.e(LOG_TAG, "Cannot load Sms records. No icc card?")
    [all...]
ImsSMSDispatcher.java 25 import android.provider.Telephony.Sms.Intents;
48 /** true if IMS is registered and sms is supported, false otherwise.*/
57 // Create dispatchers, inbound SMS handlers and
153 // failed to retrieve valid IMS SMS format info, set IMS to unregistered
216 // SMS pdus when the phone is camping on CDMA(3gpp2) network and vice versa.
220 // Only class 1 SMS are allowed to be injected.
262 // was previously sent sms format match with voice tech?
295 Rlog.d(TAG, "sms failed was text");
308 Rlog.d(TAG, "sms failed was data");
376 * 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 43 import android.provider.Telephony.Sms.Intents;
279 * @param pdu The WAP PDU, made up of one or more SMS PDUs
280 * @return a result code from {@link android.provider.Telephony.Sms.Intents}, or
376 * Check whether the pdu is a MMS WAP push pdu that should be dispatched to the SMS app.
  /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 75 // List of network operators that don't support SMS delivery report
147 // List of network operators that doesn't support Data(binary) SMS message
187 // List of network operators that doesn't support Maltipart SMS message
238 // exclude the networks that don't support SMS delivery report
302 // send single text sms
305 assertTrue("[RERUN] Could not send SMS. Check signal.",
308 assertTrue("[RERUN] SMS message delivery notification not received. Check signal.",
316 // default SMS app
323 // send data sms
325 assertTrue("[RERUN] Could not send data SMS. Check signal."
    [all...]
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastAlertService.java 132 if (Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION.equals(action) ||
133 Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION.equals(action)) {
  /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 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...]
  /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
135 * The list of SMS apps with label, icon. Current default SMS app is marked as "default".
139 * SMS app item in the list
226 // Get the list items by looking for SMS apps
248 // Get the selected item index by looking for the current default SMS ap
    [all...]
  /packages/services/Telephony/src/com/android/phone/vvm/omtp/sms/
OmtpMessageReceiver.java 16 package com.android.phone.vvm.omtp.sms;
42 * Receive SMS messages and send for processing by the OMTP visual voicemail source.
72 SmsMessage[] messages = Telephony.Sms.Intents.getMessagesFromIntent(intent);
92 Log.v(TAG, "Received SYNC sms for " + mPhoneAccount.getId() +
94 LocalLogHelper.log(TAG, "Received SYNC sms for " + mPhoneAccount.getId() +
98 Log.v(TAG, "Received STATUS sms for " + mPhoneAccount.getId());
99 LocalLogHelper.log(TAG, "Received Status sms for " + mPhoneAccount.getId());
  /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/opt/telephony/src/java/android/provider/
Telephony.java 46 * The Telephony provider contains data related to phone operation, specifically SMS and MMS
50 * devices. If your app depends on telephony features such as for managing SMS messages, include
58 * <h3>Creating an SMS app</h3>
60 * <p>Only the default SMS app (selected by the user in system settings) is able to write to the
61 * SMS Provider (the tables defined within the {@code Telephony} class) and only the default SMS
62 * app receives the {@link android.provider.Telephony.Sms.Intents#SMS_DELIVER_ACTION} broadcast
63 * when the user receives an SMS or the {@link
64 * android.provider.Telephony.Sms.Intents#WAP_PUSH_DELIVER_ACTION} broadcast when the user
67 * <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 50 import android.provider.Telephony.Sms.Intents;
56 import com.android.internal.telephony.cdma.sms.SmsEnvelope;
106 "com.googlecode.android_scripting.sms.MESSAGE_STATUS_DELIVERED";
108 "com.googlecode.android_scripting.sms.MESSAGE_SENT";
232 @Rpc(description = "Starts tracking incoming SMS.")
238 @Rpc(description = "Starts tracking incoming SMS.")
246 @Rpc(description = "Stops tracking incoming SMS.")
252 @Rpc(description = "Stops tracking incoming SMS.")
259 Log.e("Tried to unregister nonexistent SMS Listener!");
472 Log.d("SMS Message delivered successfully")
539 SmsMessage sms = msgs[0]; local
    [all...]
  /frameworks/base/services/core/java/com/android/server/pm/
DefaultPermissionGrantPolicy.java 38 import android.provider.Telephony.Sms.Intents;
339 // SMS
635 Log.i(TAG, "Granting permissions to default sms app for user:" + userId);
    [all...]
  /packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/
SendTestMessages.java 24 import android.provider.Telephony.Sms.Intents;
    [all...]
  /frameworks/base/services/core/java/com/android/server/location/
GnssLocationProvider.java 73 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 
  /prebuilts/sdk/current/
android.jar 

Completed in 792 milliseconds

1 23 4