Home
last modified time | relevance | path

Searched refs:smsToAdd (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DSyncMessagesAction.java230 final ArrayList<SmsMessage> smsToAdd = new ArrayList<SmsMessage>(); in doBackgroundWork() local
244 lastTimestampMillis = syncCursorPair(db, cursors, smsToAdd, mmsToAdd, in doBackgroundWork()
257 response.putParcelableArrayList(BUNDLE_KEY_SMS_MESSAGES, smsToAdd); in doBackgroundWork()
279 final ArrayList<SmsMessage> smsToAdd, final LongSparseArray<MmsMessage> mmsToAdd, in syncCursorPair() argument
306 smsToAdd, mmsToAdd, messagesToDelete, cache); in syncCursorPair()
341 + (endTimeMillis - startTimeMillis) + " ms). " + smsToAdd.size() in syncCursorPair()
396 final ArrayList<SmsMessage> smsToAdd = in processBackgroundResponse() local
403 final int messagesUpdated = smsToAdd.size() + mmsToAdd.size() in processBackgroundResponse()
410 final SyncMessageBatch batch = new SyncMessageBatch(smsToAdd, mmsToAdd, in processBackgroundResponse()
418 + smsToAdd.size() + " SMS, added " + mmsToAdd.size() + " MMS, deleted " in processBackgroundResponse()
DSyncCursorPair.java150 final int maxMessagesToUpdate, final ArrayList<SmsMessage> smsToAdd, in scan() argument
167 while (localCount + remoteCount < maxMessagesToScan && smsToAdd.size() in scan()
191 saveMessageToAdd(smsToAdd, mmsToAdd, remoteMessage, threadInfoCache); in scan()
222 saveMessageToAdd(smsToAdd, mmsToAdd, remoteMessage, threadInfoCache); in scan()
268 saveMessageToAdd(smsToAdd, mmsToAdd, msg, threadInfoCache); in scan()
618 private void saveMessageToAdd(final List<SmsMessage> smsToAdd, in saveMessageToAdd() argument
628 smsToAdd.add(sms); in saveMessageToAdd()
DSyncMessageBatch.java67 SyncMessageBatch(final ArrayList<SmsMessage> smsToAdd, in SyncMessageBatch() argument
71 mSmsToAdd = smsToAdd; in SyncMessageBatch()