/packages/apps/Email/src/com/android/email/mail/ |
D | Folder.java | 53 throws MessagingException; in open() 61 public abstract void close(boolean expunge) throws MessagingException; in close() 75 public abstract OpenMode getMode() throws MessagingException; in getMode() 90 public abstract boolean create(FolderType type) throws MessagingException; in create() 92 public abstract boolean exists() throws MessagingException; in exists() 97 public abstract int getMessageCount() throws MessagingException; in getMessageCount() 99 public abstract int getUnreadMessageCount() throws MessagingException; in getUnreadMessageCount() 101 public abstract Message getMessage(String uid) throws MessagingException; in getMessage() 104 throws MessagingException; in getMessages() 116 throws MessagingException; in getMessages() [all …]
|
D | Message.java | 47 public abstract String getSubject() throws MessagingException; in getSubject() 49 public abstract void setSubject(String subject) throws MessagingException; in setSubject() 59 public abstract Date getReceivedDate() throws MessagingException; in getReceivedDate() 61 public abstract Date getSentDate() throws MessagingException; in getSentDate() 63 public abstract void setSentDate(Date sentDate) throws MessagingException; in setSentDate() 65 public abstract Address[] getRecipients(RecipientType type) throws MessagingException; in getRecipients() 68 throws MessagingException; in setRecipients() 70 public void setRecipient(RecipientType type, Address address) throws MessagingException { in setRecipient() 76 public abstract Address[] getFrom() throws MessagingException; in getFrom() 78 public abstract void setFrom(Address from) throws MessagingException; in setFrom() [all …]
|
D | Part.java | 23 public void addHeader(String name, String value) throws MessagingException; in addHeader() 25 public void removeHeader(String name) throws MessagingException; in removeHeader() 27 public void setHeader(String name, String value) throws MessagingException; in setHeader() 29 public Body getBody() throws MessagingException; in getBody() 31 public String getContentType() throws MessagingException; in getContentType() 33 public String getDisposition() throws MessagingException; in getDisposition() 35 public String getContentId() throws MessagingException; in getContentId() 37 public String[] getHeader(String name) throws MessagingException; in getHeader() 39 public void setExtendedHeader(String name, String value) throws MessagingException; in setExtendedHeader() 41 public String getExtendedHeader(String name) throws MessagingException; in getExtendedHeader() [all …]
|
D | Multipart.java | 28 public void addBodyPart(BodyPart part) throws MessagingException { in addBodyPart() 32 public void addBodyPart(BodyPart part, int index) throws MessagingException { in addBodyPart() 36 public BodyPart getBodyPart(int index) throws MessagingException { in getBodyPart() 40 public String getContentType() throws MessagingException { in getContentType() 44 public int getCount() throws MessagingException { in getCount() 48 public boolean removeBodyPart(BodyPart part) throws MessagingException { in removeBodyPart() 52 public void removeBodyPart(int index) throws MessagingException { in removeBodyPart() 56 public Part getParent() throws MessagingException { in getParent() 60 public void setParent(Part parent) throws MessagingException { in setParent()
|
D | Sender.java | 41 throws MessagingException { in newInstance() 42 throw new MessagingException("Sender.newInstance: Unknown scheme in " + uri); in newInstance() 46 throws MessagingException { in instantiateSender() 58 throw new MessagingException("can not instantiate Sender object for " + uri); in instantiateSender() 61 throw new MessagingException( in instantiateSender() 71 throws MessagingException { in findSender() 98 throws MessagingException { in getInstance() 112 throw new MessagingException("Unable to locate an applicable Transport for " + uri); in getInstance() 127 public abstract void open() throws MessagingException; in open() 142 public static class LimitViolationException extends MessagingException { [all …]
|
D | MessagingException.java | 28 public class MessagingException extends Exception { class 51 public MessagingException(String message) { in MessagingException() method in MessagingException 56 public MessagingException(String message, Throwable throwable) { in MessagingException() method in MessagingException 65 public MessagingException(int exceptionType) { in MessagingException() method in MessagingException 74 public MessagingException(int exceptionType, String message) { in MessagingException() method in MessagingException
|
D | Store.java | 66 throws MessagingException { in newInstance() 67 throw new MessagingException("Store.newInstance: Unknown scheme in " + uri); in newInstance() 72 throws MessagingException { in instantiateStore() 85 throw new MessagingException("can not instantiate Store object for " + uri); in instantiateStore() 88 throw new MessagingException( in instantiateStore() 171 throws MessagingException { in getInstance() 188 throw new MessagingException("Unable to locate an applicable Store for " + uri); in getInstance() 244 public abstract Folder getFolder(String name) throws MessagingException; in getFolder() 246 public abstract Folder[] getPersonalNamespaces() throws MessagingException; in getPersonalNamespaces() 248 public abstract void checkSettings() throws MessagingException; in checkSettings() [all …]
|
D | AuthenticationFailedException.java | 19 public class AuthenticationFailedException extends MessagingException { 23 super(MessagingException.AUTHENTICATION_FAILED, message); in AuthenticationFailedException() 28 mExceptionType = MessagingException.AUTHENTICATION_FAILED; in AuthenticationFailedException()
|
/packages/apps/Email/src/com/android/email/mail/internet/ |
D | MimeMessage.java | 23 import com.android.email.mail.MessagingException; 89 catch (MessagingException me) { in MimeMessage() 113 public MimeMessage(InputStream in) throws IOException, MessagingException { in MimeMessage() 117 protected void parse(InputStream in) throws IOException, MessagingException { in parse() 134 public Date getReceivedDate() throws MessagingException { in getReceivedDate() 138 public Date getSentDate() throws MessagingException { in getSentDate() 151 public void setSentDate(Date sentDate) throws MessagingException { in setSentDate() 156 public String getContentType() throws MessagingException { in getContentType() 165 public String getDisposition() throws MessagingException { in getDisposition() 174 public String getContentId() throws MessagingException { in getContentId() [all …]
|
D | MimeBodyPart.java | 27 import com.android.email.mail.MessagingException; 44 public MimeBodyPart() throws MessagingException { in MimeBodyPart() 48 public MimeBodyPart(Body body) throws MessagingException { in MimeBodyPart() 52 public MimeBodyPart(Body body, String mimeType) throws MessagingException { in MimeBodyPart() 59 protected String getFirstHeader(String name) throws MessagingException { in getFirstHeader() 63 public void addHeader(String name, String value) throws MessagingException { in addHeader() 67 public void setHeader(String name, String value) throws MessagingException { in setHeader() 71 public String[] getHeader(String name) throws MessagingException { in getHeader() 75 public void removeHeader(String name) throws MessagingException { in removeHeader() 79 public Body getBody() throws MessagingException { in getBody() [all …]
|
D | MimeMultipart.java | 26 import com.android.email.mail.MessagingException; 38 public MimeMultipart() throws MessagingException { in MimeMultipart() 43 public MimeMultipart(String contentType) throws MessagingException { in MimeMultipart() 49 throw new MessagingException("MultiPart does not contain boundary: " + contentType); in MimeMultipart() 52 throw new MessagingException( in MimeMultipart() 67 public String getPreamble() throws MessagingException { in getPreamble() 71 public void setPreamble(String preamble) throws MessagingException { in setPreamble() 75 public String getContentType() throws MessagingException { in getContentType() 79 public void setSubType(String subType) throws MessagingException { in setSubType() 84 public void writeTo(OutputStream out) throws IOException, MessagingException { in writeTo() [all …]
|
D | MimeHeader.java | 20 import com.android.email.mail.MessagingException; 62 public String getFirstHeader(String name) throws MessagingException { in getFirstHeader() 70 public void addHeader(String name, String value) throws MessagingException { in addHeader() 74 public void setHeader(String name, String value) throws MessagingException { in setHeader() 82 public String[] getHeader(String name) throws MessagingException { in getHeader() 95 public void removeHeader(String name) throws MessagingException { in removeHeader() 124 public void writeTo(OutputStream out) throws IOException, MessagingException { in writeTo()
|
D | BinaryTempFileBody.java | 35 import com.android.email.mail.MessagingException; 74 public InputStream getInputStream() throws MessagingException { in getInputStream() 79 throw new MessagingException("Unable to open body", ioe); in getInputStream() 83 public void writeTo(OutputStream out) throws IOException, MessagingException { in writeTo()
|
/packages/apps/Email/src/com/android/email/mail/store/ |
D | Pop3Store.java | 27 import com.android.email.mail.MessagingException; 89 throws MessagingException { in newInstance() 102 private Pop3Store(String _uri) throws MessagingException { in Pop3Store() 107 throw new MessagingException("Invalid Pop3Store URI", use); in Pop3Store() 112 throw new MessagingException("Unsupported protocol"); in Pop3Store() 149 public Folder getFolder(String name) throws MessagingException { in getFolder() 159 public Folder[] getPersonalNamespaces() throws MessagingException { in getPersonalNamespaces() 173 public void checkSettings() throws MessagingException { in checkSettings() 205 public void checkSettings() throws MessagingException { in checkSettings() 220 throw new MessagingException(null, ioe); in checkSettings() [all …]
|
D | ExchangeStore.java | 21 import com.android.email.mail.MessagingException; 56 throws MessagingException { in newInstance() 67 throws MessagingException { in ExchangeStore() 71 throw new MessagingException("Invalid uri for ExchangeStore"); in ExchangeStore() 78 public void checkSettings() throws MessagingException { in checkSettings() 163 throws MessagingException { in getInstance() 166 throw new MessagingException("Invalid scheme"); in getInstance() 181 private ExchangeTransport(URI uri, Context context) throws MessagingException { in ExchangeTransport() 191 private void setUri(final URI uri) throws MessagingException { in setUri() 194 throw new MessagingException("host not specified"); in setUri() [all …]
|
D | ImapStore.java | 28 import com.android.email.mail.MessagingException; 110 throws MessagingException { in newInstance() 124 private ImapStore(String uriString) throws MessagingException { in ImapStore() 129 throw new MessagingException("Invalid ImapStore URI", use); in ImapStore() 134 throw new MessagingException("Unsupported protocol"); in ImapStore() 182 public Folder getFolder(String name) throws MessagingException { in getFolder() 196 public Folder[] getPersonalNamespaces() throws MessagingException { in getPersonalNamespaces() 226 throw new MessagingException("Unable to get folder list.", ioe); in getPersonalNamespaces() 233 public void checkSettings() throws MessagingException { in checkSettings() 240 throw new MessagingException(MessagingException.IOERROR, ioe.toString()); in checkSettings() [all …]
|
D | LocalStore.java | 29 import com.android.email.mail.MessagingException; 100 throws MessagingException { in newInstance() 107 private LocalStore(String _uri, Context context) throws MessagingException { in LocalStore() 113 throw new MessagingException("Invalid uri for LocalStore"); in LocalStore() 116 throw new MessagingException("Invalid scheme"); in LocalStore() 310 public Folder getFolder(String name) throws MessagingException { in getFolder() 316 public Folder[] getPersonalNamespaces() throws MessagingException { in getPersonalNamespaces() 334 public void checkSettings() throws MessagingException { in checkSettings() 371 public void pruneCachedAttachments() throws MessagingException { in pruneCachedAttachments() 502 public PersistentDataCallbacks getPersistentCallbacks() throws MessagingException { in getPersistentCallbacks() [all …]
|
/packages/apps/Email/src/com/android/email/mail/transport/ |
D | SmtpSender.java | 24 import com.android.email.mail.MessagingException; 53 public static Sender newInstance(Context context, String uri) throws MessagingException { in newInstance() 67 private SmtpSender(Context context, String uriString) throws MessagingException { in SmtpSender() 73 throw new MessagingException("Invalid SmtpTransport URI", use); in SmtpSender() 78 throw new MessagingException("Unsupported protocol"); in SmtpSender() 115 public void open() throws MessagingException { in open() 155 throw new MessagingException(MessagingException.TLS_REQUIRED); in open() 177 throw new MessagingException(MessagingException.AUTH_REQUIRED); in open() 189 throw new MessagingException(MessagingException.IOERROR, ioe.toString()); in open() 194 public void sendMessage(long messageId) throws MessagingException { in sendMessage() [all …]
|
D | MailTransport.java | 21 import com.android.email.mail.MessagingException; 147 public void open() throws MessagingException, CertificateValidationException { in open() 177 throw new MessagingException(MessagingException.GENERAL_SECURITY, gse.toString()); in open() 182 throw new MessagingException(MessagingException.IOERROR, ioe.toString()); in open() 191 public void reopenTls() throws MessagingException { in reopenTls() 212 throw new MessagingException(MessagingException.GENERAL_SECURITY, gse.toString()); in reopenTls() 217 throw new MessagingException(MessagingException.IOERROR, ioe.toString()); in reopenTls()
|
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
D | Pop3StoreUnitTests.java | 24 import com.android.email.mail.MessagingException; 162 public void testSimpleLogin() throws MessagingException { in testSimpleLogin() 182 public void testCheckSettings() throws MessagingException { in testCheckSettings() 204 } catch (MessagingException me) { in testCheckSettings() 212 public void testStoreFoldersFunctions() throws MessagingException { in testStoreFoldersFunctions() 235 public void testSmallFolderFunctions() throws MessagingException { in testSmallFolderFunctions() 292 public void testNoFolderRolesYet() throws MessagingException { in testNoFolderRolesYet() 319 public void testOneUnread() throws MessagingException { in testOneUnread() 329 public void testGetMessageByUid() throws MessagingException { in testGetMessageByUid() 367 public void testCatchClosed1a() throws MessagingException { in testCatchClosed1a() [all …]
|
/packages/apps/Email/tests/src/com/android/email/mail/ |
D | MessageTestUtils.java | 80 public static BodyPart bodyPart(String mimeType, String contentId) throws MessagingException { in bodyPart() 96 public static BodyPart textPart(String mimeType, String text) throws MessagingException { in textPart() 115 long attachmentId, LocalStore store) throws MessagingException, IOException { in imagePart() 173 public Multipart build() throws MessagingException { in build() 186 public BodyPart buildBodyPart() throws MessagingException { in buildBodyPart() 225 public Message build() throws MessagingException { in build() 228 throw new MessagingException("body is not specified"); in build()
|
D | StoreTests.java | 33 public void testStoreLookupPOP() throws MessagingException { in testStoreLookupPOP() 51 public void testStoreLookupIMAP() throws MessagingException { in testStoreLookupIMAP() 70 public void testStoreLookupEAS() throws MessagingException { in testStoreLookupEAS() 86 } catch (MessagingException me) { in testStoreLookupEAS() 103 } catch (MessagingException me) { in testStoreLookupUnknown()
|
/packages/apps/Email/src/com/android/email/ |
D | Controller.java | 20 import com.android.email.mail.MessagingException; 803 public void updateMailboxListCallback(MessagingException result, long accountId, in updateMailboxListCallback() 816 public void updateMailboxCallback(MessagingException result, long accountId, in updateMailboxCallback() 826 public void loadMessageForViewCallback(MessagingException result, long messageId, in loadMessageForViewCallback() 837 public void loadAttachmentCallback(MessagingException result, long messageId, in loadAttachmentCallback() 851 public void serviceCheckMailCallback(MessagingException result, long accountId, in serviceCheckMailCallback() 863 public void sendMailCallback(MessagingException result, long accountId, in sendMailCallback() 886 l.updateMailboxListCallback(new MessagingException(message), accountId, 0); in listFoldersFailed() 921 MessagingException me; in synchronizeMailboxFailed() 922 if (e instanceof MessagingException) { in synchronizeMailboxFailed() [all …]
|
/packages/apps/Email/tests/src/com/android/email/mail/internet/ |
D | MimeMessageTest.java | 21 import com.android.email.mail.MessagingException; 74 public void testSetSentDate() throws MessagingException, ParseException { in testSetSentDate() 83 private void doTestSetSentDate() throws MessagingException, ParseException { in doTestSetSentDate() 102 public void testMessageId() throws MessagingException { in testMessageId() 128 public void testGetContentId() throws MessagingException { in testGetContentId() 147 public void testSetSubjectPlain() throws MessagingException { in testSetSubjectPlain() 180 public void testSetSubject() throws MessagingException { in testSetSubject() 196 public void testSetLongSubject() throws MessagingException { in testSetLongSubject() 222 public void testEncodingAddressField() throws MessagingException { in testEncodingAddressField() 267 public void testParsingAddressField() throws MessagingException { in testParsingAddressField() [all …]
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountSetupCheckSettings.java | 22 import com.android.email.mail.MessagingException; 156 } catch (final MessagingException me) { in onCreate() 160 case MessagingException.IOERROR: in onCreate() 163 case MessagingException.TLS_REQUIRED: in onCreate() 166 case MessagingException.AUTH_REQUIRED: in onCreate() 169 case MessagingException.SECURITY_POLICIES_REQUIRED: in onCreate() 172 case MessagingException.GENERAL_SECURITY: in onCreate()
|