Home
last modified time | relevance | path

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

/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyBackupAgent.java367 Cursor smsCursor = mContentResolver.query(Telephony.Sms.CONTENT_URI, SMS_PROJECTION, in onFullBackup() argument
372 if (smsCursor != null) { in onFullBackup()
373 smsCursor.moveToFirst(); in onFullBackup()
384 while (smsCursor != null && !smsCursor.isAfterLast() && in onFullBackup()
386 final long smsDate = TimeUnit.MILLISECONDS.toSeconds(getMessageDate(smsCursor)); in onFullBackup()
389 backupAll(data, smsCursor, in onFullBackup()
397 while (smsCursor != null && !smsCursor.isAfterLast()) { in onFullBackup()
398 backupAll(data, smsCursor, in onFullBackup()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContent.java2234 Cursor smsCursor = null; in msgListing() local
2267 smsCursor = mResolver.query(Sms.CONTENT_URI, SMS_PROJECTION, where, null, in msgListing()
2269 if (smsCursor != null) { in msgListing()
2273 Log.d(TAG, "Found " + smsCursor.getCount() + " sms messages."); in msgListing()
2275 fi.setSmsColumns(smsCursor); in msgListing()
2276 while (smsCursor.moveToNext()) { in msgListing()
2277 if (matchAddresses(smsCursor, fi, ap)) { in msgListing()
2279 BluetoothMapUtils.printCursor(smsCursor); in msgListing()
2281 e = element(smsCursor, fi, ap); in msgListing()
2428 if (smsCursor != null && ((TYPE.SMS_GSM).equals(tmpType) || (TYPE.SMS_CDMA).equals( in msgListing()
[all …]