Home
last modified time | relevance | path

Searched refs:mailboxes (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Email/src/org/apache/james/mime4j/field/address/
DMailboxList.java31 private ArrayList<Address> mailboxes; field in MailboxList
37 public MailboxList(ArrayList<Address> mailboxes, boolean dontCopy) { in MailboxList() argument
38 if (mailboxes != null) in MailboxList()
39 this.mailboxes = (dontCopy ? mailboxes : new ArrayList<Address>(mailboxes)); in MailboxList()
41 this.mailboxes = new ArrayList<Address>(0); in MailboxList()
48 return mailboxes.size(); in size()
57 return (Mailbox)mailboxes.get(index); in get()
DGroup.java37 public Group(String name, MailboxList mailboxes) { in Group() argument
39 this.mailboxList = mailboxes; in Group()
/packages/apps/Email/src/com/android/email/mail/store/
DImapStore.java322 static void createHierarchy(HashMap<String, ImapFolder> mailboxes) { in createHierarchy() argument
323 Set<String> pathnames = mailboxes.keySet(); in createHierarchy()
325 final ImapFolder folder = mailboxes.get(path); in createHierarchy()
331 final ImapFolder parentFolder = mailboxes.get(parentPath); in createHierarchy()
389 HashMap<String, ImapFolder> mailboxes = new HashMap<String, ImapFolder>(); in updateFolders() local
418 mailboxes.put(folderName, folder); in updateFolders()
423 mailboxes.put(ImapConstants.INBOX, (ImapFolder)newFolder); in updateFolders()
424 createHierarchy(mailboxes); in updateFolders()
425 saveMailboxList(mContext, mailboxes); in updateFolders()
426 return mailboxes.values().toArray(new Folder[] {}); in updateFolders()
/packages/apps/Email/src/com/android/email/
DMessagingController.java1223 Cursor mailboxes = resolver.query(Mailbox.CONTENT_URI, Mailbox.ID_PROJECTION, in processPendingUploadsSynchronous() local
1231 while (mailboxes.moveToNext()) { in processPendingUploadsSynchronous()
1232 long mailboxId = mailboxes.getLong(Mailbox.ID_PROJECTION_COLUMN); in processPendingUploadsSynchronous()
1306 if (mailboxes != null) { in processPendingUploadsSynchronous()
1307 mailboxes.close(); in processPendingUploadsSynchronous()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/
DMailboxUtilitiesTests.java116 private void simulateFolderSyncChangeHandling(String accountSelector, Mailbox...mailboxes) { in simulateFolderSyncChangeHandling() argument
119 for (Mailbox mailbox: mailboxes) { in simulateFolderSyncChangeHandling()
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
DMailboxUtilitiesTests.java116 private void simulateFolderSyncChangeHandling(String accountSelector, Mailbox...mailboxes) { in simulateFolderSyncChangeHandling() argument
119 for (Mailbox mailbox: mailboxes) { in simulateFolderSyncChangeHandling()