Searched refs:smsCursor (Results 1 – 3 of 3) sorted by relevance
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | TelephonyBackupAgent.java | 457 Cursor smsCursor = mContentResolver.query(Telephony.Sms.CONTENT_URI, SMS_PROJECTION, in onFullBackup() argument 462 if (smsCursor != null) { in onFullBackup() 463 smsCursor.moveToFirst(); in onFullBackup() 476 while (smsCursor != null && !smsCursor.isAfterLast() && in onFullBackup() 478 final long smsDate = TimeUnit.MILLISECONDS.toSeconds(getMessageDate(smsCursor)); in onFullBackup() 481 backupAll(data, smsCursor, in onFullBackup() 489 while (smsCursor != null && !smsCursor.isAfterLast()) { in onFullBackup() 490 backupAll(data, smsCursor, in onFullBackup()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/ |
D | BluetoothMapContentTest.java | 1381 MatrixCursor smsCursor = in msgListing_withSmsCursorOnly() local 1393 smsCursor.addRow( in msgListing_withSmsCursorOnly() 1404 doReturn(smsCursor) in msgListing_withSmsCursorOnly() 1408 doReturn(smsCursor) in msgListing_withSmsCursorOnly() 1739 MatrixCursor smsCursor = new MatrixCursor(new String[] {"Placeholder"}); in msgListingSize() local 1741 smsCursor.addRow(new Object[] {1}); in msgListingSize() 1742 doReturn(smsCursor) in msgListingSize() 1792 MatrixCursor smsCursor = new MatrixCursor(new String[] {"Placeholder"}); in msgListingHasUnread() local 1794 smsCursor.addRow(new Object[] {1}); in msgListingHasUnread() 1795 doReturn(smsCursor) in msgListingHasUnread()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/ |
D | BluetoothMapContent.java | 2188 Cursor smsCursor = null; in msgListing() local 2220 smsCursor = in msgListing() 2229 if (smsCursor != null) { in msgListing() 2232 Log.d(TAG, "Found " + smsCursor.getCount() + " sms messages."); in msgListing() 2233 fi.setSmsColumns(smsCursor); in msgListing() 2234 while (smsCursor.moveToNext()) { in msgListing() 2235 if (matchAddresses(smsCursor, fi, ap)) { in msgListing() 2236 BluetoothMapUtils.printCursor(smsCursor); in msgListing() 2237 e = element(smsCursor, fi, ap); in msgListing() 2382 if (smsCursor != null in msgListing() [all …]
|