/frameworks/base/services/people/java/com/android/server/people/data/ |
D | SmsQueryHelper.java | 23 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/ |
D | SmsQueryHelperTest.java | 27 import android.provider.Telephony.Sms; 54 Sms._ID, Sms.DATE, Sms.TYPE, Sms.ADDRESS };
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SmsProviderTest.java | 23 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/ |
D | InboundSmsHandler.java | 19 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 …]
|
D | SMSDispatcher.java | 59 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 …]
|
D | SmsDispatchersController.java | 37 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()
|
D | SmsStorageMonitor.java | 28 import android.provider.Telephony.Sms.Intents;
|
D | IccSmsInterfaceManager.java | 1446 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()
|
D | AppSmsManager.java | 26 import android.provider.Telephony.Sms.Intents;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
D | CdmaInboundSmsHandlerTest.java | 150 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/ |
D | WapPushOverSmsTest.java | 99 assertEquals(Telephony.Sms.Intents.WAP_PUSH_DELIVER_ACTION, intent.getAction()); in testDispatchWapPdu() 143 assertEquals(Telephony.Sms.Intents.RESULT_SMS_HANDLED, in testDispatchWapPduFromBlockedNumber_noIntentsDispatched()
|
D | AppSmsManagerTest.java | 21 import android.provider.Telephony.Sms.Intents;
|
D | SmsStorageMonitorTest.java | 63 assertEquals(Telephony.Sms.Intents.SIM_FULL_ACTION, in testEventIccFull()
|
D | SmsDispatchersControllerTest.java | 33 import android.provider.Telephony.Sms.Intents;
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | CellBroadcastUtils.java | 40 new Intent(Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION), in getDefaultCellBroadcastReceiverPackageName()
|
D | SmsApplication.java | 41 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/ |
D | CellBroadcastIntents.java | 86 Intent backgroundIntent = new Intent(Telephony.Sms.Intents.SMS_CB_RECEIVED_ACTION); in sendSmsCbReceivedBroadcast()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | GsmInboundSmsHandlerTest.java | 110 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()
|
D | GsmSmsDispatcherTest.java | 148 Telephony.Sms.Intents.RESULT_SMS_HANDLED, null); in testSmsStatus()
|
/frameworks/base/tests/TelephonyCommonTests/src/com/android/internal/telephony/tests/ |
D | SmsApplicationTest.java | 226 case Telephony.Sms.Intents.SMS_DELIVER_ACTION: in getResolveInfosForIntent() 228 case Telephony.Sms.Intents.WAP_PUSH_DELIVER_ACTION: in getResolveInfosForIntent()
|
/frameworks/base/api/ |
D | lint-baseline.txt | 244 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/ |
D | GsmInboundSmsHandler.java | 28 import android.provider.Telephony.Sms.Intents;
|
D | UsimDataDownloadHandler.java | 23 import android.provider.Telephony.Sms.Intents;
|
D | GsmSMSDispatcher.java | 24 import android.provider.Telephony.Sms.Intents;
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | PersonalAppsSuspensionHelper.java | 88 result.remove(Telephony.Sms.getDefaultSmsPackage(mContext)); in getPersonalAppsForSuspension()
|