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 | 94 private FakeCursor mSmsCursor, mMmsCursor; field in TelephonyBackupAgentTest 133 mSmsCursor = new FakeCursor(mSmsTable, TelephonyBackupAgent.SMS_PROJECTION); in setUp() 134 mCursors.put(Telephony.Sms.CONTENT_URI, mSmsCursor); in setUp() 482 mTelephonyBackupAgent.putSmsMessagesToJson(mSmsCursor, new JsonWriter(mStringWriter)); in testBackupSms_NoSms() 493 mTelephonyBackupAgent.putSmsMessagesToJson(mSmsCursor, new JsonWriter(mStringWriter)); in testBackupSms_AllSms() 504 mTelephonyBackupAgent.putSmsMessagesToJson(mSmsCursor, new JsonWriter(mStringWriter)); in testBackupSms_AllSmsWithExactFileLimit() 516 mTelephonyBackupAgent.putSmsMessagesToJson(mSmsCursor, new JsonWriter(mStringWriter)); in testBackupSms_AllSmsOneMessagePerFile() 520 mTelephonyBackupAgent.putSmsMessagesToJson(mSmsCursor, new JsonWriter(mStringWriter)); in testBackupSms_AllSmsOneMessagePerFile() 524 mTelephonyBackupAgent.putSmsMessagesToJson(mSmsCursor, new JsonWriter(mStringWriter)); in testBackupSms_AllSmsOneMessagePerFile() 528 mTelephonyBackupAgent.putSmsMessagesToJson(mSmsCursor, new JsonWriter(mStringWriter)); in testBackupSms_AllSmsOneMessagePerFile()
|