Searched refs:mMmsCursor (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | SyncCursorPair.java | 432 private Cursor mMmsCursor; field in SyncCursorPair.RemoteCursorsIterator 439 mMmsCursor = null; in RemoteCursorsIterator() 463 mMmsCursor = SqliteWrapper.query( in RemoteCursorsIterator() 471 if (mMmsCursor == null) { in RemoteCursorsIterator() 520 if (mMmsCursor != null && mMmsCursor.moveToNext()) { in getMmsCursorNext() 521 return MmsMessage.get(mMmsCursor); in getMmsCursorNext() 530 (mMmsCursor == null ? 0 : mMmsCursor.getPosition()) - 1; in getPosition() 536 (mMmsCursor == null ? 0 : mMmsCursor.getCount()); in getCount() 545 if (mMmsCursor != null) { in close() 546 mMmsCursor.close(); in close() [all …]
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyBackupAgentTest.java | 94 private FakeCursor mSmsCursor, mMmsCursor; field in TelephonyBackupAgentTest 163 mMmsCursor = new FakeCursor(mMmsTable, TelephonyBackupAgent.MMS_PROJECTION); in setUp() 164 mCursors.put(Telephony.Mms.CONTENT_URI, mMmsCursor); in setUp() 576 mTelephonyBackupAgent.putMmsMessagesToJson(mMmsCursor, new JsonWriter(mStringWriter)); in testBackupMms_NoMms() 588 mTelephonyBackupAgent.putMmsMessagesToJson(mMmsCursor, new JsonWriter(mStringWriter)); in testBackupMms_AllMms() 599 mTelephonyBackupAgent.putMmsMessagesToJson(mMmsCursor, new JsonWriter(mStringWriter)); in testBackupMmsWithAttachmentMms() 610 mTelephonyBackupAgent.putMmsMessagesToJson(mMmsCursor, new JsonWriter(mStringWriter)); in testBackupMms_OneMessagePerFile() 614 mTelephonyBackupAgent.putMmsMessagesToJson(mMmsCursor, new JsonWriter(mStringWriter)); in testBackupMms_OneMessagePerFile() 618 mTelephonyBackupAgent.putMmsMessagesToJson(mMmsCursor, new JsonWriter(mStringWriter)); in testBackupMms_OneMessagePerFile() 629 mTelephonyBackupAgent.putMmsMessagesToJson(mMmsCursor, new JsonWriter(mStringWriter)); in testBackupMms_WithExactFileLimit()
|