Home
last modified time | relevance | path

Searched refs:Sms (Results 1 – 25 of 42) 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.java62 import android.provider.Telephony.Sms;
1601 values.put(Sms.STATUS, status); in updateSentMessageStatus()
1619 values.put(Sms.TYPE, messageType); in updateMessageState()
1620 values.put(Sms.ERROR_CODE, errorCode); in updateMessageState()
1649 + (messageType == Sms.MESSAGE_TYPE_FAILED ? "FAILED" : "SENT")); in persistSentMessageIfRequired()
1651 values.put(Sms.SUBSCRIPTION_ID, mSubId); in persistSentMessageIfRequired()
1652 values.put(Sms.ADDRESS, mDestAddress); in persistSentMessageIfRequired()
1653 values.put(Sms.BODY, mFullMessageText); in persistSentMessageIfRequired()
1654 values.put(Sms.DATE, System.currentTimeMillis()); // milliseconds in persistSentMessageIfRequired()
1655 values.put(Sms.SEEN, 1); in persistSentMessageIfRequired()
[all …]
DInboundSmsHandler.java56 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");
1618 final SmsMessage[] messages = Telephony.Sms.Intents.getMessagesFromIntent(intent); in writeInboxMessage()
1633 return mContext.getContentResolver().insert(Telephony.Sms.Inbox.CONTENT_URI, values); in writeInboxMessage()
1651 values.put(Telephony.Sms.Inbox.ADDRESS, sms.getDisplayOriginatingAddress()); in parseSmsMessage()
1652 values.put(Telephony.Sms.Inbox.BODY, buildMessageBodyFromPdus(msgs)); in parseSmsMessage()
1653 values.put(Telephony.Sms.Inbox.DATE_SENT, sms.getTimestampMillis()); in parseSmsMessage()
1654 values.put(Telephony.Sms.Inbox.DATE, System.currentTimeMillis()); in parseSmsMessage()
1655 values.put(Telephony.Sms.Inbox.PROTOCOL, sms.getProtocolIdentifier()); in parseSmsMessage()
[all …]
DCellBroadcastHandler.java108 intent = new Intent(Telephony.Sms.Intents.SMS_EMERGENCY_CB_RECEIVED_ACTION); in handleBroadcastSms()
144 intent = new Intent(Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION); in handleBroadcastSms()
DSmsDispatchersController.java34 import android.provider.Telephony.Sms;
35 import android.provider.Telephony.Sms.Intents;
769 tracker.updateSentMessageStatus(mContext, Sms.STATUS_COMPLETE); in handleCdmaStatusReport()
782 if(tpStatus >= Sms.STATUS_FAILED || tpStatus < Sms.STATUS_PENDING ) { in handleGsmStatusReport()
DSmsStorageMonitor.java28 import android.provider.Telephony.Sms.Intents;
DIccSmsInterfaceManager.java1241 new String[]{ Telephony.Sms.TYPE }, in isFailedOrDraft()
1247 return type == Telephony.Sms.MESSAGE_TYPE_DRAFT in isFailedOrDraft()
1248 || type == Telephony.Sms.MESSAGE_TYPE_FAILED; in isFailedOrDraft()
1272 Telephony.Sms.BODY, in loadTextAndAddress()
1273 Telephony.Sms.ADDRESS in loadTextAndAddress()
DAppSmsManager.java31 import android.provider.Telephony.Sms.Intents;
DImsSmsDispatcher.java23 import android.provider.Telephony.Sms.Intents;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmCellBroadcastHandlerTest.java126 assertEquals(Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION, in testBroadcastSms()
130 assertEquals(Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION, in testBroadcastSms()
DGsmInboundSmsHandlerTest.java99 private static final Uri sRawUri = Uri.withAppendedPath(Telephony.Sms.CONTENT_URI,
203 Telephony.Sms.CONTENT_URI.getAuthority(), mContentProvider); in setUp()
245 assertEquals(Telephony.Sms.Intents.SMS_DELIVER_ACTION, in verifySmsIntentBroadcasts()
259 assertEquals(Telephony.Sms.Intents.SMS_RECEIVED_ACTION, in verifySmsIntentBroadcasts()
318 assertEquals(Telephony.Sms.Intents.DATA_SMS_RECEIVED_ACTION, in verifyDataSmsIntentBroadcasts()
DGsmSmsDispatcherTest.java147 Telephony.Sms.Intents.RESULT_SMS_HANDLED, null); in testSmsStatus()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandlerTest.java155 Telephony.Sms.CONTENT_URI.getAuthority(), mContentProvider); in setUp()
203 assertEquals(Telephony.Sms.Intents.SMS_DELIVER_ACTION, in testNewSms()
211 assertEquals(Telephony.Sms.Intents.SMS_RECEIVED_ACTION, in testNewSms()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DWapPushOverSmsTest.java97 assertEquals(Telephony.Sms.Intents.WAP_PUSH_DELIVER_ACTION, intent.getAction()); in testDispatchWapPdu()
140 assertEquals(Telephony.Sms.Intents.RESULT_SMS_HANDLED, in testDispatchWapPduFromBlockedNumber_noIntentsDispatched()
DAppSmsManagerTest.java21 import android.provider.Telephony.Sms.Intents;
DSmsStorageMonitorTest.java83 assertEquals(Telephony.Sms.Intents.SIM_FULL_ACTION, in testEventIccFull()
DSmsDispatchersControllerTest.java36 import android.provider.Telephony.Sms.Intents;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmInboundSmsHandler.java22 import android.provider.Telephony.Sms.Intents;
DUsimDataDownloadHandler.java23 import android.provider.Telephony.Sms.Intents;
DGsmSMSDispatcher.java21 import android.provider.Telephony.Sms.Intents;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaServiceCategoryProgramHandler.java27 import android.provider.Telephony.Sms.Intents;
DCdmaInboundSmsHandler.java23 import android.provider.Telephony.Sms.Intents;
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsApplication.java41 import android.provider.Telephony.Sms.Intents;
338 intent = new Intent(Telephony.Sms.Intents.ACTION_DEFAULT_SMS_PACKAGE_CHANGED); in getApplicationCollectionInternal()
365 intent = new Intent(Telephony.Sms.Intents.ACTION_EXTERNAL_PROVIDER_CHANGE); in getApplicationCollectionInternal()
/frameworks/base/telephony/java/android/provider/
DTelephony.java351 public static final class Sms implements BaseColumns, TextBasedSmsColumns { class in Telephony
357 private Sms() { in Sms() method in Telephony.Sms
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProtoDumpUtil.java1232 GlobalSettingsProto.Sms.OUTGOING_CHECK_INTERVAL_MS); in dumpProtoGlobalSettingsLocked()
1235 GlobalSettingsProto.Sms.OUTGOING_CHECK_MAX_COUNT); in dumpProtoGlobalSettingsLocked()
1238 GlobalSettingsProto.Sms.SHORT_CODE_CONFIRMATION); in dumpProtoGlobalSettingsLocked()
1241 GlobalSettingsProto.Sms.SHORT_CODE_RULE); in dumpProtoGlobalSettingsLocked()
1244 GlobalSettingsProto.Sms.SHORT_CODES_UPDATE_CONTENT_URL); in dumpProtoGlobalSettingsLocked()
1247 GlobalSettingsProto.Sms.SHORT_CODES_UPDATE_METADATA_URL); in dumpProtoGlobalSettingsLocked()

12