Home
last modified time | relevance | path

Searched refs:Sms (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/provider/
DSmsProviderTest.java23 import android.provider.Telephony.Sms;
66 urls[i] = contentResolver.insert(Sms.Inbox.CONTENT_URI, map); in testProvider()
70 Cursor c = contentResolver.query(Sms.Inbox.CONTENT_URI, null, null, null, "date"); in testProvider()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSMSDispatcher.java59 import android.provider.Telephony.Sms;
1679 values.put(Sms.STATUS, status); in updateSentMessageStatus()
1696 values.put(Sms.TYPE, messageType); in updateMessageState()
1697 values.put(Sms.ERROR_CODE, errorCode); in updateMessageState()
1726 + (messageType == Sms.MESSAGE_TYPE_FAILED ? "FAILED" : "SENT")); in persistSentMessageIfRequired()
1728 values.put(Sms.SUBSCRIPTION_ID, mSubId); in persistSentMessageIfRequired()
1729 values.put(Sms.ADDRESS, mDestAddress); in persistSentMessageIfRequired()
1730 values.put(Sms.BODY, mFullMessageText); in persistSentMessageIfRequired()
1731 values.put(Sms.DATE, System.currentTimeMillis()); // milliseconds in persistSentMessageIfRequired()
1732 values.put(Sms.SEEN, 1); in persistSentMessageIfRequired()
[all …]
DInboundSmsHandler.java55 import android.provider.Telephony.Sms.Intents;
187 protected static final Uri sRawUri = Uri.withAppendedPath(Telephony.Sms.CONTENT_URI, "raw");
189 Uri.withAppendedPath(Telephony.Sms.CONTENT_URI, "raw/permanentDelete");
1631 final SmsMessage[] messages = Telephony.Sms.Intents.getMessagesFromIntent(intent); in writeInboxMessage()
1646 return mContext.getContentResolver().insert(Telephony.Sms.Inbox.CONTENT_URI, values); in writeInboxMessage()
1664 values.put(Telephony.Sms.Inbox.ADDRESS, sms.getDisplayOriginatingAddress()); in parseSmsMessage()
1665 values.put(Telephony.Sms.Inbox.BODY, buildMessageBodyFromPdus(msgs)); in parseSmsMessage()
1666 values.put(Telephony.Sms.Inbox.DATE_SENT, sms.getTimestampMillis()); in parseSmsMessage()
1667 values.put(Telephony.Sms.Inbox.DATE, System.currentTimeMillis()); in parseSmsMessage()
1668 values.put(Telephony.Sms.Inbox.PROTOCOL, sms.getProtocolIdentifier()); in parseSmsMessage()
[all …]
DSmsDispatchersController.java37 import android.provider.Telephony.Sms;
38 import android.provider.Telephony.Sms.Intents;
806 ? Sms.STATUS_COMPLETE in handleSmsStatusReport()
807 : Sms.STATUS_FAILED); in handleSmsStatusReport()
822 if (tpStatus >= Sms.STATUS_FAILED || tpStatus < Sms.STATUS_PENDING) { in handleSmsStatusReport()
DSmsStorageMonitor.java28 import android.provider.Telephony.Sms.Intents;
DIccSmsInterfaceManager.java1429 new String[]{ Telephony.Sms.TYPE }, in isFailedOrDraft()
1435 return type == Telephony.Sms.MESSAGE_TYPE_DRAFT in isFailedOrDraft()
1436 || type == Telephony.Sms.MESSAGE_TYPE_FAILED; in isFailedOrDraft()
1460 Telephony.Sms.BODY, in loadTextAndAddress()
1461 Telephony.Sms.ADDRESS in loadTextAndAddress()
DAppSmsManager.java26 import android.provider.Telephony.Sms.Intents;
DImsSmsDispatcher.java23 import android.provider.Telephony.Sms.Intents;
DWapPushOverSms.java49 import android.provider.Telephony.Sms.Intents;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandlerTest.java146 Telephony.Sms.CONTENT_URI.getAuthority(), mContentProvider); in setUp()
195 assertEquals(Telephony.Sms.Intents.SMS_DELIVER_ACTION, in testNewSms()
203 assertEquals(Telephony.Sms.Intents.SMS_RECEIVED_ACTION, in testNewSms()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DWapPushOverSmsTest.java98 assertEquals(Telephony.Sms.Intents.WAP_PUSH_DELIVER_ACTION, intent.getAction()); in testDispatchWapPdu()
141 assertEquals(Telephony.Sms.Intents.RESULT_SMS_HANDLED, in testDispatchWapPduFromBlockedNumber_noIntentsDispatched()
DAppSmsManagerTest.java21 import android.provider.Telephony.Sms.Intents;
DSmsStorageMonitorTest.java63 assertEquals(Telephony.Sms.Intents.SIM_FULL_ACTION, in testEventIccFull()
DSmsDispatchersControllerTest.java33 import android.provider.Telephony.Sms.Intents;
/frameworks/base/telephony/common/com/android/internal/telephony/
DCellBroadcastUtils.java40 new Intent(Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION), in getDefaultCellBroadcastReceiverPackageName()
DSmsApplication.java42 import android.provider.Telephony.Sms.Intents;
342 intent = new Intent(Telephony.Sms.Intents.ACTION_DEFAULT_SMS_PACKAGE_CHANGED); in getApplicationCollectionInternal()
369 intent = new Intent(Telephony.Sms.Intents.ACTION_EXTERNAL_PROVIDER_CHANGE); in getApplicationCollectionInternal()
/frameworks/base/core/java/android/telephony/
DCellBroadcastIntents.java86 Intent backgroundIntent = new Intent(Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION); in sendSmsCbReceivedBroadcast()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmInboundSmsHandlerTest.java107 private static final Uri sRawUri = Uri.withAppendedPath(Telephony.Sms.CONTENT_URI,
229 Telephony.Sms.CONTENT_URI.getAuthority(), mContentProvider); in setUp()
284 assertEquals(Telephony.Sms.Intents.SMS_DELIVER_ACTION, intent.getAction()); in verifySmsIntentBroadcasts()
302 assertEquals(Telephony.Sms.Intents.SMS_RECEIVED_ACTION, intent.getAction()); in verifySmsIntentBroadcasts()
360 assertEquals(Telephony.Sms.Intents.DATA_SMS_RECEIVED_ACTION, in verifyDataSmsIntentBroadcasts()
/frameworks/base/api/
Dlint-baseline.txt220 BroadcastBehavior: android.provider.Telephony.Sms.Intents#DATA_SMS_RECEIVED_ACTION:
222 BroadcastBehavior: android.provider.Telephony.Sms.Intents#SECRET_CODE_ACTION:
224 BroadcastBehavior: android.provider.Telephony.Sms.Intents#SIM_FULL_ACTION:
226 BroadcastBehavior: android.provider.Telephony.Sms.Intents#SMS_CB_RECEIVED_ACTION:
228 BroadcastBehavior: android.provider.Telephony.Sms.Intents#SMS_DELIVER_ACTION:
230 BroadcastBehavior: android.provider.Telephony.Sms.Intents#SMS_RECEIVED_ACTION:
232 BroadcastBehavior: android.provider.Telephony.Sms.Intents#SMS_REJECTED_ACTION:
234 BroadcastBehavior: android.provider.Telephony.Sms.Intents#SMS_SERVICE_CATEGORY_PROGRAM_DATA_RECEIVE…
236 BroadcastBehavior: android.provider.Telephony.Sms.Intents#WAP_PUSH_DELIVER_ACTION:
238 BroadcastBehavior: android.provider.Telephony.Sms.Intents#WAP_PUSH_RECEIVED_ACTION:
/frameworks/base/tests/TelephonyCommonTests/src/com/android/internal/telephony/tests/
DSmsApplicationTest.java226 case Telephony.Sms.Intents.SMS_DELIVER_ACTION: in getResolveInfosForIntent()
228 case Telephony.Sms.Intents.WAP_PUSH_DELIVER_ACTION: in getResolveInfosForIntent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmInboundSmsHandler.java28 import android.provider.Telephony.Sms.Intents;
DUsimDataDownloadHandler.java23 import android.provider.Telephony.Sms.Intents;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java26 import android.provider.Telephony.Sms.Intents;
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProtoDumpUtil.java1242 GlobalSettingsProto.Sms.OUTGOING_CHECK_INTERVAL_MS); in dumpProtoGlobalSettingsLocked()
1245 GlobalSettingsProto.Sms.OUTGOING_CHECK_MAX_COUNT); in dumpProtoGlobalSettingsLocked()
1248 GlobalSettingsProto.Sms.SHORT_CODE_CONFIRMATION); in dumpProtoGlobalSettingsLocked()
1251 GlobalSettingsProto.Sms.SHORT_CODE_RULE); in dumpProtoGlobalSettingsLocked()
1254 GlobalSettingsProto.Sms.SHORT_CODES_UPDATE_CONTENT_URL); in dumpProtoGlobalSettingsLocked()
1257 GlobalSettingsProto.Sms.SHORT_CODES_UPDATE_METADATA_URL); in dumpProtoGlobalSettingsLocked()
/frameworks/base/core/java/android/provider/
DTelephony.java353 public static final class Sms implements BaseColumns, TextBasedSmsColumns { class in Telephony
359 private Sms() { in Sms() method in Telephony.Sms

12