Searched refs:ImapStore (Results 1 – 12 of 12) sorted by relevance
33 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 …]
24 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 …]
24 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()
82 public class ImapStore extends Store { class100 return new ImapStore(context, account); in newInstance()107 private ImapStore(Context context, Account account) throws MessagingException { in ImapStore() method in ImapStore201 synchronized (ImapStore.class) { in getImapId()
30 import com.android.phone.common.mail.store.ImapStore.ImapException;46 private ImapStore mImapStore;60 ImapConnection(ImapStore store) { in ImapConnection()64 void setStore(ImapStore store) { in setStore()
43 import com.android.phone.common.mail.store.ImapStore.ImapException;44 import com.android.phone.common.mail.store.ImapStore.ImapMessage;69 private final ImapStore mStore;81 public ImapFolder(ImapStore store, String name) { in ImapFolder()327 ImapConstants.UID_FETCH + " %s (%s)", ImapStore.joinMessageUids(messages), in fetchInternal()701 ImapStore.joinMessageUids(messages), in setFlags()
31 public class ImapStore { class54 public ImapStore(Context context, ImapHelper helper, String username, String password, int port, in ImapStore() method in ImapStore
23 import com.android.phone.common.mail.store.ImapStore;90 return (mFlags & ImapStore.FLAG_SSL) != 0; in canTrySslSecurity()94 return (mFlags & ImapStore.FLAG_TRUST_ALL) != 0; in canTrustAllCertificates()
19 import com.android.phone.common.mail.store.ImapStore;29 Locale.US, "BODY.PEEK[]<0.%d>", ImapStore.FETCH_BODY_SANE_SUGGESTED_SIZE);
45 import com.android.phone.common.mail.store.ImapStore;70 private ImapStore mImapStore;99 int auth = ImapStore.FLAG_NONE; in ImapHelper()106 auth = ImapStore.FLAG_SSL; in ImapHelper()109 mImapStore = new ImapStore( in ImapHelper()
28 import com.android.phone.common.mail.store.ImapStore;54 private static final int HOST_FLAGS_SSL = ImapStore.FLAG_SSL & ImapStore.FLAG_TRUST_ALL;
23 import com.android.email.mail.store.ImapStore;88 sStoreClasses.put(context.getString(R.string.protocol_legacy_imap), ImapStore.class); in getInstance()