Home
last modified time | relevance | path

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

/packages/apps/Email/provider_src/com/android/email/service/
DPopImapSyncAdapterService.java241 long [] mailboxIds = Mailbox.getMailboxIdsFromBundle(extras); in performSync() local
242 if (mailboxIds == null || mailboxIds.length == 0) { in performSync()
248 mailboxIds = new long[1]; in performSync()
249 mailboxIds[0] = inboxId; in performSync()
253 if (mailboxIds != null) { in performSync()
258 for (long mailboxId : mailboxIds) { in performSync()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DMailbox.java91 public static Bundle createSyncBundle(final ArrayList<Long> mailboxIds) { in createSyncBundle() argument
92 final Bundle bundle = new Bundle(mailboxIds.size() + 1); in createSyncBundle()
93 bundle.putInt(SYNC_EXTRA_MAILBOX_COUNT, mailboxIds.size()); in createSyncBundle()
94 for (int i = 0; i < mailboxIds.size(); i++) { in createSyncBundle()
95 bundle.putLong(formatMailboxIdExtra(i), mailboxIds.get(i)); in createSyncBundle()
100 public static Bundle createSyncBundle(final long[] mailboxIds) { in createSyncBundle() argument
101 final Bundle bundle = new Bundle(mailboxIds.length + 1); in createSyncBundle()
102 bundle.putInt(SYNC_EXTRA_MAILBOX_COUNT, mailboxIds.length); in createSyncBundle()
103 for (int i = 0; i < mailboxIds.length; i++) { in createSyncBundle()
104 bundle.putLong(formatMailboxIdExtra(i), mailboxIds[i]); in createSyncBundle() local