Searched refs:mSmsCursor (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | SyncCursorPair.java | 431 private Cursor mSmsCursor; field in SyncCursorPair.RemoteCursorsIterator 438 mSmsCursor = null; in RemoteCursorsIterator() 446 mSmsCursor = SqliteWrapper.query( in RemoteCursorsIterator() 454 if (mSmsCursor == null) { in RemoteCursorsIterator() 513 if (mSmsCursor != null && mSmsCursor.moveToNext()) { in getSmsCursorNext() 514 return SmsMessage.get(mSmsCursor); in getSmsCursorNext() 529 return (mSmsCursor == null ? 0 : mSmsCursor.getPosition()) + in getPosition() 535 return (mSmsCursor == null ? 0 : mSmsCursor.getCount()) + in getCount() 541 if (mSmsCursor != null) { in close() 542 mSmsCursor.close(); in close() [all …]
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyBackupAgentTest.java | 82 private FakeCursor mSmsCursor, mMmsCursor; field in TelephonyBackupAgentTest 121 mSmsCursor = new FakeCursor(mSmsTable, TelephonyBackupAgent.SMS_PROJECTION); in setUp() 122 mCursors.put(Telephony.Sms.CONTENT_URI, mSmsCursor); in setUp() 470 mTelephonyBackupAgent.putSmsMessagesToJson(mSmsCursor, new JsonWriter(mStringWriter)); in testBackupSms_NoSms() 481 mTelephonyBackupAgent.putSmsMessagesToJson(mSmsCursor, new JsonWriter(mStringWriter)); in testBackupSms_AllSms() 492 mTelephonyBackupAgent.putSmsMessagesToJson(mSmsCursor, new JsonWriter(mStringWriter)); in testBackupSms_AllSmsWithExactFileLimit() 504 mTelephonyBackupAgent.putSmsMessagesToJson(mSmsCursor, new JsonWriter(mStringWriter)); in testBackupSms_AllSmsOneMessagePerFile() 508 mTelephonyBackupAgent.putSmsMessagesToJson(mSmsCursor, new JsonWriter(mStringWriter)); in testBackupSms_AllSmsOneMessagePerFile() 512 mTelephonyBackupAgent.putSmsMessagesToJson(mSmsCursor, new JsonWriter(mStringWriter)); in testBackupSms_AllSmsOneMessagePerFile() 516 mTelephonyBackupAgent.putSmsMessagesToJson(mSmsCursor, new JsonWriter(mStringWriter)); in testBackupSms_AllSmsOneMessagePerFile()
|