Home | History | Annotate | Download | only in activity

Lines Matching refs:Store

33 import com.android.email.mail.Store;
35 import com.android.email.mail.store.LocalStore;
399 copyAndDeleteAccount(info, i, handler, Store.STORE_SCHEME_POP3);
404 copyAndDeleteAccount(info, i, handler, Store.STORE_SCHEME_IMAP);
468 LocalStore store = LocalStore.newInstance(account.getLocalStoreUri(), context, null);
469 Folder[] folders = store.getPersonalNamespaces();
477 estimate += store.getStoredAttachmentCount();
478 store.close();
501 boolean isImap = storeUri.startsWith(Store.STORE_SCHEME_IMAP);
502 LocalStore store = LocalStore.newInstance(account.getLocalStoreUri(), context, null);
503 Folder[] folders = store.getPersonalNamespaces();
524 int pruned = store.pruneCachedAttachments();
528 store.close();
578 LocalStore store = null;
580 store = LocalStore.newInstance(account.getLocalStoreUri(), context, null);
581 Folder[] folders = store.getPersonalNamespaces();
647 if (store != null) {
648 store.close();
674 // load message data from legacy Store
746 Store store = LocalStore.newInstance(account.getLocalStoreUri(), context, null);
747 store.delete();
748 // delete() closes the store