Home
last modified time | relevance | path

Searched refs:smsCursor (Results 1 – 3 of 3) sorted by relevance

/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyBackupAgent.java379 Cursor smsCursor = mContentResolver.query(Telephony.Sms.CONTENT_URI, SMS_PROJECTION, in onFullBackup() argument
384 if (smsCursor != null) { in onFullBackup()
385 smsCursor.moveToFirst(); in onFullBackup()
396 while (smsCursor != null && !smsCursor.isAfterLast() && in onFullBackup()
398 final long smsDate = TimeUnit.MILLISECONDS.toSeconds(getMessageDate(smsCursor)); in onFullBackup()
401 backupAll(data, smsCursor, in onFullBackup()
409 while (smsCursor != null && !smsCursor.isAfterLast()) { in onFullBackup()
410 backupAll(data, smsCursor, in onFullBackup()
/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/datamodels/
DNewMessageLiveData.java107 Cursor smsCursor = getSmsCursor(userAccount, offset); in onDataChange() local
108 boolean foundNewSms = postNewMessageIfFound(smsCursor, userAccount); in onDataChange()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContent.java2229 Cursor smsCursor = null; in msgListing() local
2262 smsCursor = mResolver.query(Sms.CONTENT_URI, SMS_PROJECTION, where, null, in msgListing()
2264 if (smsCursor != null) { in msgListing()
2268 Log.d(TAG, "Found " + smsCursor.getCount() + " sms messages."); in msgListing()
2270 fi.setSmsColumns(smsCursor); in msgListing()
2271 while (smsCursor.moveToNext()) { in msgListing()
2272 if (matchAddresses(smsCursor, fi, ap)) { in msgListing()
2274 BluetoothMapUtils.printCursor(smsCursor); in msgListing()
2276 e = element(smsCursor, fi, ap); in msgListing()
2423 if (smsCursor != null && ((TYPE.SMS_GSM).equals(tmpType) || (TYPE.SMS_CDMA).equals( in msgListing()
[all …]