Home
last modified time | relevance | path

Searched refs:FolderType (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Email/emailcommon/src/com/android/emailcommon/mail/
DFolder.java28 public enum FolderType { enum in Folder
95 public abstract boolean canCreate(FolderType type); in canCreate()
101 public abstract boolean create(FolderType type) throws MessagingException; in create()
/packages/apps/Email/tests/src/com/android/emailcommon/mail/
DMockFolder.java38 public boolean canCreate(FolderType type) { in canCreate()
43 public boolean create(FolderType type) { in create()
/packages/apps/Email/tests/src/com/android/email/mail/store/
DPop3StoreUnitTests.java34 import com.android.emailcommon.mail.Folder.FolderType;
289 assertFalse(mFolder.canCreate(FolderType.HOLDS_FOLDERS)); in testSmallFolderFunctions()
290 assertFalse(mFolder.canCreate(FolderType.HOLDS_MESSAGES)); in testSmallFolderFunctions()
291 assertFalse(mFolder.create(FolderType.HOLDS_FOLDERS)); in testSmallFolderFunctions()
292 assertFalse(mFolder.create(FolderType.HOLDS_MESSAGES)); in testSmallFolderFunctions()
DImapStoreUnitTests.java49 import com.android.emailcommon.mail.Folder.FolderType;
515 assertTrue(mFolder.canCreate(FolderType.HOLDS_FOLDERS)); in testSmallFolderFunctions()
516 assertTrue(mFolder.canCreate(FolderType.HOLDS_MESSAGES)); in testSmallFolderFunctions()
1539 assertTrue(folder.canCreate(FolderType.HOLDS_MESSAGES)); in testCreate()
1546 assertTrue(folder.create(FolderType.HOLDS_MESSAGES)); in testCreate()
1557 assertFalse(folder.create(FolderType.HOLDS_MESSAGES)); in testCreate()
/packages/apps/Email/src/com/android/email/
DMessagingController.java42 import com.android.emailcommon.mail.Folder.FolderType;
790 if (!remoteFolder.create(FolderType.HOLDS_MESSAGES)) { in synchronizeMailboxGeneric()
1621 remoteTrashFolder.create(FolderType.HOLDS_MESSAGES); in processPendingMoveToTrash()
1729 if (!remoteFolder.canCreate(FolderType.HOLDS_MESSAGES)) { in processPendingAppend()
1742 if (!remoteFolder.create(FolderType.HOLDS_MESSAGES)) { in processPendingAppend()
/packages/apps/Email/src/com/android/email/mail/store/
DPop3Store.java363 public boolean canCreate(FolderType type) { in canCreate()
368 public boolean create(FolderType type) { in create()
DImapFolder.java215 public boolean canCreate(FolderType type) { in canCreate()
220 public boolean create(FolderType type) throws MessagingException { in create()
/packages/apps/Email/src/com/android/mail/providers/
DUIProvider.java523 public static final class FolderType { class in UIProvider