Home
last modified time | relevance | path

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

12

/frameworks/base/services/people/java/com/android/server/people/data/
DSmsQueryHelper.java23 import android.provider.Telephony.Sms;
65 String[] projection = new String[] { Sms._ID, Sms.DATE, Sms.TYPE, Sms.ADDRESS }; in querySince()
66 String selection = Sms.DATE + " > ?"; in querySince()
72 Sms.CONTENT_URI, projection, selection, selectionArgs, null)) { in querySince()
79 int msgIdIndex = cursor.getColumnIndex(Sms._ID); in querySince()
83 int dateIndex = cursor.getColumnIndex(Sms.DATE); in querySince()
87 int typeIndex = cursor.getColumnIndex(Sms.TYPE); in querySince()
91 int addressIndex = cursor.getColumnIndex(Sms.ADDRESS); in querySince()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DSmsQueryHelperTest.java27 import android.provider.Telephony.Sms;
54 Sms._ID, Sms.DATE, Sms.TYPE, Sms.ADDRESS };
/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/
DInboundSmsHandler.java19 import static android.provider.Telephony.Sms.Intents.RESULT_SMS_DATABASE_ERROR;
20 import static android.provider.Telephony.Sms.Intents.RESULT_SMS_DISPATCH_FAILURE;
21 import static android.provider.Telephony.Sms.Intents.RESULT_SMS_INVALID_URI;
22 import static android.provider.Telephony.Sms.Intents.RESULT_SMS_NULL_MESSAGE;
23 import static android.provider.Telephony.Sms.Intents.RESULT_SMS_NULL_PDU;
59 import android.provider.Telephony.Sms.Intents;
193 protected static final Uri sRawUri = Uri.withAppendedPath(Telephony.Sms.CONTENT_URI, "raw");
195 Uri.withAppendedPath(Telephony.Sms.CONTENT_URI, "raw/permanentDelete");
1775 final SmsMessage[] messages = Telephony.Sms.Intents.getMessagesFromIntent(intent); in writeInboxMessage()
1790 return mContext.getContentResolver().insert(Telephony.Sms.Inbox.CONTENT_URI, values); in writeInboxMessage()
[all …]
DSMSDispatcher.java59 import android.provider.Telephony.Sms;
1692 values.put(Sms.STATUS, status); in updateSentMessageStatus()
1709 values.put(Sms.TYPE, messageType); in updateMessageState()
1710 values.put(Sms.ERROR_CODE, errorCode); in updateMessageState()
1739 + (messageType == Sms.MESSAGE_TYPE_FAILED ? "FAILED" : "SENT")); in persistSentMessageIfRequired()
1741 values.put(Sms.SUBSCRIPTION_ID, mSubId); in persistSentMessageIfRequired()
1742 values.put(Sms.ADDRESS, mDestAddress); in persistSentMessageIfRequired()
1743 values.put(Sms.BODY, mFullMessageText); in persistSentMessageIfRequired()
1744 values.put(Sms.DATE, System.currentTimeMillis()); // milliseconds in persistSentMessageIfRequired()
1745 values.put(Sms.SEEN, 1); in persistSentMessageIfRequired()
[all …]
DSmsDispatchersController.java37 import android.provider.Telephony.Sms;
38 import android.provider.Telephony.Sms.Intents;
825 (errorClass == ERROR_NONE) ? Sms.STATUS_COMPLETE : Sms.STATUS_FAILED); in handleCdmaStatusReport()
841 if(tpStatus >= Sms.STATUS_FAILED || tpStatus < Sms.STATUS_PENDING ) { in handleGsmStatusReport()
DSmsStorageMonitor.java28 import android.provider.Telephony.Sms.Intents;
DIccSmsInterfaceManager.java1446 new String[]{ Telephony.Sms.TYPE }, in isFailedOrDraft()
1452 return type == Telephony.Sms.MESSAGE_TYPE_DRAFT in isFailedOrDraft()
1453 || type == Telephony.Sms.MESSAGE_TYPE_FAILED; in isFailedOrDraft()
1477 Telephony.Sms.BODY, in loadTextAndAddress()
1478 Telephony.Sms.ADDRESS in loadTextAndAddress()
DAppSmsManager.java26 import android.provider.Telephony.Sms.Intents;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandlerTest.java150 Telephony.Sms.CONTENT_URI.getAuthority(), mContentProvider); in setUp()
199 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.java99 assertEquals(Telephony.Sms.Intents.WAP_PUSH_DELIVER_ACTION, intent.getAction()); in testDispatchWapPdu()
143 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.java41 import android.provider.Telephony.Sms.Intents;
339 intent = new Intent(Telephony.Sms.Intents.ACTION_DEFAULT_SMS_PACKAGE_CHANGED); in getApplicationCollectionInternal()
366 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.java110 private static final Uri sRawUri = Uri.withAppendedPath(Telephony.Sms.CONTENT_URI,
234 Telephony.Sms.CONTENT_URI.getAuthority(), mContentProvider); in setUp()
289 assertEquals(Telephony.Sms.Intents.SMS_DELIVER_ACTION, intent.getAction()); in verifySmsIntentBroadcasts()
307 assertEquals(Telephony.Sms.Intents.SMS_RECEIVED_ACTION, intent.getAction()); in verifySmsIntentBroadcasts()
365 assertEquals(Telephony.Sms.Intents.DATA_SMS_RECEIVED_ACTION, in verifyDataSmsIntentBroadcasts()
DGsmSmsDispatcherTest.java148 Telephony.Sms.Intents.RESULT_SMS_HANDLED, null); in testSmsStatus()
/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/base/api/
Dlint-baseline.txt244 BroadcastBehavior: android.provider.Telephony.Sms.Intents#DATA_SMS_RECEIVED_ACTION:
246 BroadcastBehavior: android.provider.Telephony.Sms.Intents#SECRET_CODE_ACTION:
248 BroadcastBehavior: android.provider.Telephony.Sms.Intents#SIM_FULL_ACTION:
250 BroadcastBehavior: android.provider.Telephony.Sms.Intents#SMS_CB_RECEIVED_ACTION:
252 BroadcastBehavior: android.provider.Telephony.Sms.Intents#SMS_DELIVER_ACTION:
254 BroadcastBehavior: android.provider.Telephony.Sms.Intents#SMS_RECEIVED_ACTION:
256 BroadcastBehavior: android.provider.Telephony.Sms.Intents#SMS_REJECTED_ACTION:
258 BroadcastBehavior: android.provider.Telephony.Sms.Intents#SMS_SERVICE_CATEGORY_PROGRAM_DATA_RECEIVE…
260 BroadcastBehavior: android.provider.Telephony.Sms.Intents#WAP_PUSH_DELIVER_ACTION:
262 BroadcastBehavior: android.provider.Telephony.Sms.Intents#WAP_PUSH_RECEIVED_ACTION:
/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;
DGsmSMSDispatcher.java24 import android.provider.Telephony.Sms.Intents;
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DPersonalAppsSuspensionHelper.java88 result.remove(Telephony.Sms.getDefaultSmsPackage(mContext)); in getPersonalAppsForSuspension()

12