Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DSyncCursorPair.java432 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/
DTelephonyBackupAgentTest.java82 private FakeCursor mSmsCursor, mMmsCursor; field in TelephonyBackupAgentTest
123 mMmsCursor = new FakeCursor(mMmsTable, TelephonyBackupAgent.MMS_PROJECTION); in setUp()
124 mCursors.put(Telephony.Mms.CONTENT_URI, mMmsCursor); in setUp()
525 mTelephonyBackupAgent.putMmsMessagesToJson(mMmsCursor, new JsonWriter(mStringWriter)); in testBackupMms_NoMms()
536 mTelephonyBackupAgent.putMmsMessagesToJson(mMmsCursor, new JsonWriter(mStringWriter)); in testBackupMms_AllMms()
547 mTelephonyBackupAgent.putMmsMessagesToJson(mMmsCursor, new JsonWriter(mStringWriter)); in testBackupMmsWithAttachmentMms()
558 mTelephonyBackupAgent.putMmsMessagesToJson(mMmsCursor, new JsonWriter(mStringWriter)); in testBackupMms_OneMessagePerFile()
562 mTelephonyBackupAgent.putMmsMessagesToJson(mMmsCursor, new JsonWriter(mStringWriter)); in testBackupMms_OneMessagePerFile()
566 mTelephonyBackupAgent.putMmsMessagesToJson(mMmsCursor, new JsonWriter(mStringWriter)); in testBackupMms_OneMessagePerFile()
577 mTelephonyBackupAgent.putMmsMessagesToJson(mMmsCursor, new JsonWriter(mStringWriter)); in testBackupMms_WithExactFileLimit()