Home
last modified time | relevance | path

Searched refs:Store (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/mail/
DStoreTests.java48 Store.sStores.clear(); in setUp()
56 Store testStore; in testGetInstance()
66 testStore = Store.getInstance(testAccount, getContext()); in testGetInstance()
67 assertEquals(1, Store.sStores.size()); in testGetInstance()
68 assertSame(testStore, Store.sStores.get(testAccount.mId)); in testGetInstance()
69 Store.sStores.clear(); in testGetInstance()
78 testStore = Store.getInstance(testAccount, getContext()); in testGetInstance()
79 assertEquals(1, Store.sStores.size()); in testGetInstance()
80 assertSame(testStore, Store.sStores.get(testAccount.mId)); in testGetInstance()
81 Store.sStores.clear(); in testGetInstance()
[all …]
/packages/apps/Email/src/com/android/email/mail/
DStore.java42 public abstract class Store { class
50 static final HashMap<HostAuth, Store> sStores = new HashMap<HostAuth, Store>();
57 static final HashMap<String, Class<? extends Store>> sStoreClasses =
58 new HashMap<String, Class<? extends Store>>();
70 static Store newInstance(Account account, Context context) throws MessagingException { in newInstance()
88 public synchronized static Store getInstance(Account account, Context context) in getInstance()
93 Store store = sStores.get(hostAuth); in getInstance()
96 Class<? extends Store> klass = sStoreClasses.get(hostAuth.mProtocol); in getInstance()
100 store = (Store)m.invoke(null, account, appContext); in getInstance()
124 public synchronized static Store removeInstance(Account account, Context context) in removeInstance()
/packages/apps/Email/src/com/android/email/mail/store/
DExchangeStore.java21 import com.android.email.mail.Store;
35 public static Store newInstance(Account account, Context context) throws MessagingException { in newInstance()
DServiceStore.java23 import com.android.email.mail.Store;
33 public abstract class ServiceStore extends Store {
DImapStore.java30 import com.android.email.mail.Store;
81 public class ImapStore extends Store {
96 public static Store newInstance(Account account, Context context) throws MessagingException { in newInstance()
DPop3Store.java25 import com.android.email.mail.Store;
52 public class Pop3Store extends Store {
91 public static Store newInstance(Account account, Context context) throws MessagingException { in newInstance()
/packages/apps/Email/src/com/android/email/
DMessagingController.java31 import com.android.email.mail.Store;
265 Store store = Store.getInstance(account, mContext); in listFolders()
629 Store remoteStore = Store.getInstance(account, mContext); in searchMailboxImpl()
697 if (message.getSize() > Store.FETCH_BODY_SANE_SUGGESTED_SIZE) { in searchMailboxImpl()
775 Store remoteStore = Store.getInstance(account, mContext); in synchronizeMailboxGeneric()
1159 Store remoteStore = null; in processPendingDeletesSynchronous()
1178 remoteStore = Store.getInstance(account, mContext); in processPendingDeletesSynchronous()
1230 Store remoteStore = null; in processPendingUploadsSynchronous()
1249 remoteStore = Store.getInstance(account, mContext); in processPendingUploadsSynchronous()
1278 remoteStore = Store.getInstance(account, mContext); in processPendingUploadsSynchronous()
[all …]
/packages/apps/Email/src/com/android/email/mail/store/imap/
DImapConstants.java19 import com.android.email.mail.Store;
27 = String.format("BODY.PEEK[]<0.%d>", Store.FETCH_BODY_SANE_SUGGESTED_SIZE);
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountCheckSettingsFragment.java35 import com.android.email.mail.Store;
441 Store store = Store.getInstance(mAccount, mContext); in doInBackground()
469 Store store = Store.getInstance(mAccount, mContext); in doInBackground()
DAccountSettings.java44 import com.android.email.mail.Store;
643 Store store = Store.getInstance(account, getApplication()); in onIncomingSettings()
/packages/apps/Email/
Dproguard.flags45 *** checkAccountInstanceLimit(com.android.email.mail.Store$StoreInfo);
135 -keepclasseswithmembers class com.android.email.mail.Store {