/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
MimeMessage.java | 23 import com.android.voicemail.impl.mail.MessagingException; 116 * @throws MessagingException 118 public MimeMessage(InputStream in) throws IOException, MessagingException, MimeException { 140 public void parse(InputStream in) throws IOException, MessagingException, MimeException { 157 public Date getReceivedDate() throws MessagingException { 162 public Date getSentDate() throws MessagingException { 194 public void setSentDate(Date sentDate) throws MessagingException { 200 public String getContentType() throws MessagingException { 210 public String getDisposition() throws MessagingException { 215 public String getContentId() throws MessagingException { [all...] |
BinaryTempFileBody.java | 21 import com.android.voicemail.impl.mail.MessagingException; 58 public InputStream getInputStream() throws MessagingException { 62 throw new MessagingException("Unable to open body", ioe); 67 public void writeTo(OutputStream out) throws IOException, MessagingException {
|
MimeHeader.java | 18 import com.android.voicemail.impl.mail.MessagingException; 53 public String getFirstHeader(String name) throws MessagingException { 61 public void addHeader(String name, String value) throws MessagingException { 65 public void setHeader(String name, String value) throws MessagingException { 73 public String[] getHeader(String name) throws MessagingException { 86 public void removeHeader(String name) throws MessagingException { 115 public void writeTo(OutputStream out) throws IOException, MessagingException {
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
CertificateValidationException.java | 19 public class CertificateValidationException extends MessagingException {
|
MailTransport.java | 101 public void open() throws MessagingException { 112 throw new MessagingException( 113 MessagingException.IOERROR, 122 throw new MessagingException(MessagingException.IOERROR, ioe.toString()); 152 throw new MessagingException(MessagingException.IOERROR, ioe.toString()); 160 throw new MessagingException(MessagingException.IOERROR, ioe.toString()); 171 Socket createSocket() throws MessagingException; [all...] |
Base64Body.java | 35 public InputStream getInputStream() throws MessagingException { 45 * @throws MessagingException 49 throws IllegalStateException, IOException, MessagingException {
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
BinaryTempFileBody.java | 21 import com.android.emailcommon.mail.MessagingException; 61 public InputStream getInputStream() throws MessagingException { 66 throw new MessagingException("Unable to open body", ioe); 71 public void writeTo(OutputStream out) throws IOException, MessagingException {
|
MimeHeader.java | 19 import com.android.emailcommon.mail.MessagingException; 57 public String getFirstHeader(String name) throws MessagingException { 65 public void addHeader(String name, String value) throws MessagingException { 69 public void setHeader(String name, String value) throws MessagingException { 77 public String[] getHeader(String name) throws MessagingException { 90 public void removeHeader(String name) throws MessagingException { 119 public void writeTo(OutputStream out) throws IOException, MessagingException {
|
/packages/apps/Email/provider_src/com/android/email/mail/store/ |
ImapConnection.java | 35 import com.android.emailcommon.mail.MessagingException; 105 String getLoginPhrase() throws MessagingException, IOException { 132 void open() throws IOException, MessagingException { 262 ImapResponse readResponse() throws IOException, MessagingException { 275 throws MessagingException, IOException { 282 throws MessagingException, IOException { 301 String sendComplexCommand(List<String> commands, boolean sensitive) throws MessagingException, 316 throw new MessagingException("Expected continuation request"); 326 List<ImapResponse> executeSimpleCommand(String command) throws IOException, MessagingException { 335 * @throws MessagingException [all...] |
Pop3Store.java | 33 import com.android.emailcommon.mail.MessagingException; 67 public static Store newInstance(Account account, Context context) throws MessagingException { 74 private Pop3Store(Context context, Account account) throws MessagingException { 123 * @throws MessagingException if there was some problem with the account 126 public Bundle checkSettings() throws MessagingException { 166 * @throws MessagingException if the account is not going to be useable 168 public Bundle checkSettings() throws MessagingException { 170 int result = MessagingException.NO_ERROR; 184 result = MessagingException.IOERROR; 193 public synchronized void open(OpenMode mode) throws MessagingException { [all...] |
ImapFolder.java | 45 import com.android.emailcommon.mail.MessagingException; 102 throws MessagingException { 146 } catch (MessagingException e) { 180 public boolean exists() throws MessagingException { 204 } catch (MessagingException me) { 206 if (me.getExceptionType() == MessagingException.IOERROR) { 229 public boolean create(FolderType type) throws MessagingException { 249 } catch (MessagingException me) { 265 MessageUpdateCallbacks callbacks) throws MessagingException { 283 throw new MessagingException(responseText) [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/mail/ |
MessageTestUtils.java | 75 * @throws MessagingException 77 public static BodyPart bodyPart(String mimeType, String contentId) throws MessagingException { 91 * @throws MessagingException 93 public static BodyPart textPart(String mimeType, String text) throws MessagingException { 145 * @throws MessagingException 147 public Multipart build() throws MessagingException { 158 * @throws MessagingException 160 public BodyPart buildBodyPart() throws MessagingException { 197 * @throws MessagingException 199 public Message build() throws MessagingException { [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountCheckSettingsFragment.java | 32 import com.android.emailcommon.mail.MessagingException; 76 private MessagingException mProgressException; 100 * @param hostName Passed back from the MessagingException 107 * {@link CheckSettingsErrorDialogFragment#getReasonFromException(MessagingException)} 109 * {@link CheckSettingsErrorDialogFragment#getErrorString(Context, MessagingException)} 218 private void reportProgress(int newState, MessagingException ex) { 286 public static class AutoDiscoverResults extends MessagingException { 310 private static class AccountCheckTask extends AsyncTask<Void, Integer, MessagingException> { 344 protected MessagingException doInBackground(Void... params) { 354 // MessagingException.AUTHENTICATION_FAILED: username/password rejecte [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
MimeBodyPartTest.java | 21 import com.android.emailcommon.mail.MessagingException; 39 public void testGetContentId() throws MessagingException {
|
MimeMessageTest.java | 27 import com.android.emailcommon.mail.MessagingException; 76 * @throws MessagingException 80 public void testSetSentDate() throws MessagingException, ParseException { 89 private void doTestSetSentDate() throws MessagingException, ParseException { 108 public void testMessageId() throws MessagingException { 134 public void testGetContentId() throws MessagingException { 153 public void testSetSubjectPlain() throws MessagingException { 186 public void testSetSubject() throws MessagingException { 202 public void testSetLongSubject() throws MessagingException { 228 public void testEncodingAddressField() throws MessagingException { [all...] |
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/ |
Base64Body.java | 38 public InputStream getInputStream() throws MessagingException { 47 * @throws MessagingException 51 throws IllegalStateException, IOException, MessagingException {
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/ |
ImapConnection.java | 25 import com.android.voicemail.impl.mail.MessagingException; 94 public void open() throws IOException, MessagingException { 115 throw new MessagingException( 116 MessagingException.AUTHENTICATION_FAILED_OR_SERVER_ERROR, 148 } catch (IOException | MessagingException e) { 169 private void maybeDoStartTls() throws IOException, MessagingException { 182 private void doLogin() throws IOException, MessagingException, AuthenticationFailedException { 228 throw new MessagingException(alertText, ie); 232 private void doDigestMd5Auth() throws IOException, MessagingException { 262 // If failed verifyResponseAuth() will throw a MessagingException, terminating th [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/ |
ImapResponseParser.java | 22 import com.android.voicemail.impl.mail.MessagingException; 134 public ImapResponse readResponse(boolean byeExpected) throws IOException, MessagingException { 179 * throw {@link MessagingException}. 214 private ImapResponse parseResponse() throws IOException, MessagingException { 296 private ImapElement parseElement() throws IOException, MessagingException { 328 private ImapString parseBareString() throws IOException, MessagingException { 355 throw new MessagingException("Expected string, none found."); 375 private void parseElements(ImapList list, char end) throws IOException, MessagingException { 396 private ImapList parseList(char opening, char closing) throws IOException, MessagingException { 404 private ImapString parseLiteral() throws IOException, MessagingException { [all...] |
/packages/apps/Email/provider_src/com/android/email/mail/ |
Store.java | 29 import com.android.emailcommon.mail.MessagingException; 65 static Store newInstance(Account account) throws MessagingException { 66 throw new MessagingException("Store#newInstance: Unknown scheme in " 82 * @throws MessagingException If the store cannot be obtained or if the account is invalid. 85 throws MessagingException { 109 throws MessagingException { 125 throw new MessagingException("Can't instantiate Store for " + account.mDisplayName); 141 * @throws MessagingException If the store cannot be removed or if the account is invalid. 144 throws MessagingException { 169 public Folder getFolder(String name) throws MessagingException { [all...] |
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/ |
ImapResponseParser.java | 26 import com.android.emailcommon.mail.MessagingException; 160 public ImapResponse readResponse() throws IOException, MessagingException { 210 * throw {@link MessagingException}. 248 private ImapResponse parseResponse() throws IOException, MessagingException { 330 private ImapElement parseElement() throws IOException, MessagingException { 363 private ImapString parseBareString() throws IOException, MessagingException { 382 throw new MessagingException("Expected string, none found."); 403 throws IOException, MessagingException { 425 throws IOException, MessagingException { 433 private ImapString parseLiteral() throws IOException, MessagingException { [all...] |
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
Pop3StoreUnitTests.java | 37 import com.android.emailcommon.mail.MessagingException; 178 public void testSimpleLogin() throws MessagingException { 198 public void testCheckSettings() throws MessagingException { 219 fail("MessagingException was expected due to UIDL unsupported."); 220 } catch (MessagingException me) { 230 public void testCheckSettingsCapabilities() throws MessagingException { 242 } catch (MessagingException me) { 340 public void testOneUnread() throws MessagingException { 350 public void testGetMessageByUid() throws MessagingException { 388 public void testCatchClosed1a() throws MessagingException { [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/imap/ |
ImapHelper.java | 41 import com.android.voicemail.impl.mail.MessagingException; 192 } catch (MessagingException e) { 226 } catch (MessagingException e) { 239 MessageStructureWrapper messageStructureWrapper) throws MessagingException { 290 * @throws MessagingException if fetching the structure of the message fails 292 private MessageStructureWrapper fetchMessageStructure(Message message) throws MessagingException { 322 } catch (MessagingException e) { 332 * @throws MessagingException if fetching the body of the message fails 334 private VoicemailPayload fetchVoicemailPayload(Message message) throws MessagingException { 373 } catch (MessagingException e) [all...] |
/test/vts/web/dashboard/src/main/java/com/android/vts/util/ |
EmailHelper.java | 35 import javax.mail.MessagingException; 83 * @throws MessagingException, UnsupportedEncodingException 86 throws MessagingException, UnsupportedEncodingException { 88 throw new MessagingException("No subscriber email addresses provided"); 97 } catch (MessagingException | UnsupportedEncodingException e) { 117 } catch (MessagingException e) { 147 } catch (MessagingException | UnsupportedEncodingException e) {
|
/packages/apps/Email/provider_src/com/android/email/mail/transport/ |
MailTransport.java | 24 import com.android.emailcommon.mail.MessagingException; 106 public void open() throws MessagingException, CertificateValidationException { 147 throw new MessagingException(MessagingException.IOERROR, ioe.toString()); 152 throw new MessagingException(MessagingException.UNSPECIFIED_EXCEPTION, iae.toString()); 164 public void reopenTls() throws MessagingException { 190 throw new MessagingException(MessagingException.IOERROR, ioe.toString());
|
/packages/apps/Email/provider_src/com/android/email/mail/internet/ |
OAuthAuthenticator.java | 10 import com.android.emailcommon.mail.MessagingException; 82 final String code) throws MessagingException, IOException { 112 final String refreshToken) throws MessagingException, IOException { 139 private AuthenticationResult doRequest(HttpPost post) throws MessagingException, 154 throw new MessagingException("HTTPError " + status + " getting oauth token"); 159 MessagingException { 182 throw new MessagingException("Invalid number format", e); 187 throw new MessagingException("Invalid JSON", e);
|