Searched refs:mailboxIds (Results 1 – 2 of 2) sorted by relevance
241 long [] mailboxIds = Mailbox.getMailboxIdsFromBundle(extras); in performSync() local242 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()
91 public static Bundle createSyncBundle(final ArrayList<Long> mailboxIds) { in createSyncBundle() argument92 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() argument101 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