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.java344 Cursor smsCursor = mContentResolver.query(Telephony.Sms.CONTENT_URI, SMS_PROJECTION, in onFullBackup() argument
350 if (smsCursor != null) { in onFullBackup()
351 smsCursor.moveToFirst(); in onFullBackup()
362 while (smsCursor != null && !smsCursor.isAfterLast() && in onFullBackup()
364 final long smsDate = TimeUnit.MILLISECONDS.toSeconds(getMessageDate(smsCursor)); in onFullBackup()
367 backupAll(data, smsCursor, in onFullBackup()
375 while (smsCursor != null && !smsCursor.isAfterLast()) { in onFullBackup()
376 backupAll(data, smsCursor, in onFullBackup()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContent.java2072 Cursor smsCursor = null; in msgListing() local
2102 smsCursor = mResolver.query(Sms.CONTENT_URI, in msgListing()
2104 if (smsCursor != null) { in msgListing()
2107 if(D) Log.d(TAG, "Found " + smsCursor.getCount() + " sms messages."); in msgListing()
2108 fi.setSmsColumns(smsCursor); in msgListing()
2109 while (smsCursor.moveToNext()) { in msgListing()
2110 if (matchAddresses(smsCursor, fi, ap)) { in msgListing()
2111 if(V) BluetoothMapUtils.printCursor(smsCursor); in msgListing()
2112 e = element(smsCursor, fi, ap); in msgListing()
2234 if (smsCursor!= null && in msgListing()
[all …]