Home
last modified time | relevance | path

Searched refs:ImapStore (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/mail/store/
DImapStoreUnitTests.java33 import com.android.email.mail.store.ImapStore.ImapMessage;
96 private ImapStore mStore = null;
141 ImapStore.sImapId = ImapStore.makeCommonImapId(realContext.getPackageName(), in setUp()
159 mStore = (ImapStore) ImapStore.newInstance(testAccount, mTestContext); in setUp()
165 assertEquals("", ImapStore.joinMessageUids(new Message[] {})); in testJoinMessageUids()
166 assertEquals("a", ImapStore.joinMessageUids(new Message[] { in testJoinMessageUids()
169 assertEquals("a,XX", ImapStore.joinMessageUids(new Message[] { in testJoinMessageUids()
251 String id = ImapStore.getImapId(mTestContext, "user-name", "host-name", in testImapIdBasic()
264 id = ImapStore.makeCommonImapId("packageName", "version", "codeName", in testImapIdBasic()
277 id = ImapStore.makeCommonImapId("packageName", "", "REL", in testImapIdBasic()
[all …]
/packages/apps/Email/provider_src/com/android/email/mail/store/
DImapFolder.java24 import com.android.email.mail.store.ImapStore.ImapException;
25 import com.android.email.mail.store.ImapStore.ImapMessage;
78 private final ImapStore mStore;
89 /*package*/ ImapFolder(ImapStore store, String name) { in ImapFolder()
200 ImapStore.encodeFolderName(mName, mStore.mPathPrefix))); in exists()
246 ImapStore.encodeFolderName(mName, mStore.mPathPrefix))); in create()
270 ImapStore.joinMessageUids(messages), in copyMessages()
271 ImapStore.encodeFolderName(folder.getName(), mStore.mPathPrefix))); in copyMessages()
360 ImapStore.encodeFolderName(mName, mStore.mPathPrefix))); in getUnreadMessageCount()
680 ImapConstants.UID_FETCH + " %s (%s)", ImapStore.joinMessageUids(messages), in fetchInternal()
[all …]
DImapConnection.java24 import com.android.email.mail.store.ImapStore.ImapException;
67 private ImapStore mImapStore;
84 ImapConnection(ImapStore store) { in ImapConnection()
88 void setStore(ImapStore store) { in setStore()
430 ImapStore.getImapId(mImapStore.getContext(), mImapStore.getUsername(), host, in doSendId()
484 mImapStore.setPathPrefix(ImapStore.decodeFolderName(namespaceString, null)); in doGetNamespace()
DImapStore.java82 public class ImapStore extends Store { class
100 return new ImapStore(context, account); in newInstance()
107 private ImapStore(Context context, Account account) throws MessagingException { in ImapStore() method in ImapStore
201 synchronized (ImapStore.class) { in getImapId()
/packages/apps/Email/provider_src/com/android/email/mail/
DStore.java23 import com.android.email.mail.store.ImapStore;
88 sStoreClasses.put(context.getString(R.string.protocol_legacy_imap), ImapStore.class); in getInstance()