Home
last modified time | relevance | path

Searched refs:ImapStore (Results 1 – 12 of 12) 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/services/Telephony/src/com/android/phone/common/mail/store/
DImapConnection.java30 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()
DImapFolder.java43 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()
DImapStore.java31 public class ImapStore { class
54 public ImapStore(Context context, ImapHelper helper, String username, String password, int port, in ImapStore() method in ImapStore
/packages/services/Telephony/src/com/android/phone/common/mail/
DMailTransport.java23 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()
/packages/services/Telephony/src/com/android/phone/common/mail/store/imap/
DImapConstants.java19 import com.android.phone.common.mail.store.ImapStore;
29 Locale.US, "BODY.PEEK[]<0.%d>", ImapStore.FETCH_BODY_SANE_SUGGESTED_SIZE);
/packages/services/Telephony/src/com/android/phone/vvm/omtp/imap/
DImapHelper.java45 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()
/packages/services/Telephony/tests/src/com/android/phone/common/mail/
DMailTransportTest.java28 import com.android.phone.common.mail.store.ImapStore;
54 private static final int HOST_FLAGS_SSL = ImapStore.FLAG_SSL & ImapStore.FLAG_TRUST_ALL;
/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()