515d830e8755d3674e04bcc60d7f85b4fa7fb202 |
|
27-Nov-2013 |
Jerry Xie <jjx@google.com> |
Get Email units to compile Change-Id: I171a0e2421c5006d9862ad94f886932146547020 (cherry picked from commit 17d3a29c9d8f7a27c463239f190bdcc4e0804527)
/packages/apps/Email/tests/src/com/android/email/mail/transport/MockTransport.java
|
560bfadc3151f7a06f3b06e9a6c92cfa534c63ec |
|
26-May-2013 |
Scott Kennedy <skennedy@google.com> |
Unify LogTag There is now only one LogTag class. The static initializer of GmailApplication (existing) and EmailApplication (new) will now set the log tag to "Gmail" and "Email", respectively. Up until that code is run, it will be "UnifiedEmail". "setprop log.tag.Gmail VERBOSE" (or .Email) will trigger all logs to be printed as long as they go through LogUtils, regardless of what tag is used by that individual log. This lets us still turn on logging everywhere in one command, but also lets us use more descriptive tags (like the class name). And since we no longer have three com.android.mail.utils.LogTag classes, builds will be much easier. Also, we now use LogUtils everywhere. Change-Id: I55f1c7a66ce50ead54877a13e40256422a56dc39
/packages/apps/Email/tests/src/com/android/email/mail/transport/MockTransport.java
|
ebece4dbdcdfee85a410a0d00c9b6739ee3e705e |
|
16-May-2011 |
Todd Kennedy <toddke@google.com> |
Make ImapConnect a top-level class Split out ImapConnection to its own class. This allows us to update ImapStore without worrying about links between it and the connection. Also, added a bit more safety to the classes in terms of correctly freeing resources. Whenever the connection is closed, it now releases all resources. Additionally, if the connection is ever put back in the pool, any response data is released. Change-Id: Ie3bda40d677707a0d6655f57175e58dece539e19
/packages/apps/Email/tests/src/com/android/email/mail/transport/MockTransport.java
|
e87ff6c3cbbfc5e3636f9827b58820652e3ea1c5 |
|
27-Apr-2011 |
Todd Kennedy <toddke@google.com> |
Opportunistic cleanup not making any real code changes: * removed deprecated, unused methods * remove 'throws' clauses when that exception is never thrown * renamed method Controller#moveMessage()-->moveMessages() Change-Id: Ifd006f760f0c19283e94a11a45c71295c8da35f7
/packages/apps/Email/tests/src/com/android/email/mail/transport/MockTransport.java
|
a50fc99b0c433f0cde31ba1c7ab87fb9ea86345d |
|
19-Apr-2011 |
Todd Kennedy <toddke@google.com> |
Use Account instead of URI to create transports There's no need to create a URI just to rip in appart again. Additionally, to support additional changes (i.e. to use Mailbox instead of Folder in the MessageController), we need to store the actual Account. NOTE -- This change only affects IMAP and POP3. SMTP will come in a follow-on CL Change-Id: I400036a17271c99272fd9c603547dcd713b50b9d
/packages/apps/Email/tests/src/com/android/email/mail/transport/MockTransport.java
|
1a791e675ba5092569125bf09a9fcc721bd4c5e1 |
|
05-Jan-2011 |
Andy Stadler <stadler@google.com> |
Fix NPE when switching IMAP into TLS * Update MockTransport to allow TLS connections * Test TLS connection in ImapStore unit tests * The bugfix: Re-query capabilities after closing/reopening parser for TLS (Note: Actually, this is required by the IMAP RFC 3501, 6.2.1) Bug: 3315939 Change-Id: I51f838043e87750b5712a1bd2e4f9c821b58c808
/packages/apps/Email/tests/src/com/android/email/mail/transport/MockTransport.java
|
f255081a85bd1680c6a2d2b7225aa45cd104cb66 |
|
06-Aug-2010 |
Makoto Onuki <omakoto@google.com> |
DO NOT MERGE: Fix handling IOException in ImapStore - mConnection.destroyResponses() should be protected with if (mConnection != null). When we get an IOException, we close the connection and null it out in ioExceptionHandler(). So mConnection can be null at any point after where ioExceptionHandler() first appears. - ioExceptionHandler should close its parent ImapFolder only if the argument connection is mConnection. Methods like exists() may pass an ImapConnection which is not mConnection to ioExceptionHandler. In which case we don't have to close the ImapFolder. Bug 2898211 Backport of I8f9f45d91f596bb8da1a1575593e652d66deb643 Change-Id: I070458b5535540aba69ad7eee88bd2af8ad5f7b1
/packages/apps/Email/tests/src/com/android/email/mail/transport/MockTransport.java
|
a599ee773d3bb6350ca775db717123faffbdbfe3 |
|
18-May-2010 |
Makoto Onuki <omakoto@google.com> |
DO NOT MERGE: Tests for IMAP FETCH Adding regression test for the new IMAP parser. Backport of Iac7f5c022e44ca5f06f735e145af15cc459eb61f Change-Id: Ic84172b6793a9837c2fc4a894fee141da3d19f1d
/packages/apps/Email/tests/src/com/android/email/mail/transport/MockTransport.java
|
be2ef97220619a3acf6c3dd4eb4b8add26ff452a |
|
21-Sep-2010 |
Andy Stadler <stadler@android.com> |
DO NOT MERGE Send local IP address with EHLO instead of "localhost". Bug 1515345 Backport of: I181c9f0d79fbdf62f7df77f72a1ec9653797b6dd Change-Id: If9da2d9f717814bff6a3aa7e6f1a0a44a49f34d6
/packages/apps/Email/tests/src/com/android/email/mail/transport/MockTransport.java
|
e2a076fdfda61a72c1a90d6dd4f5217c6505f8e0 |
|
06-Apr-2010 |
Makoto Onuki <omakoto@google.com> |
am af672452: Added a test for IMAP APPEND Merge commit 'af6724527e564d35dd27ac35e24dbced554792e5' into kraken * commit 'af6724527e564d35dd27ac35e24dbced554792e5': Added a test for IMAP APPEND
|
af6724527e564d35dd27ac35e24dbced554792e5 |
|
02-Apr-2010 |
Makoto Onuki <omakoto@google.com> |
Added a test for IMAP APPEND It's a preliminary change for IMAP bug fixes. Also, - Fixed a potential bug in ImapFolder.setFlags where it'd throw StringIndexOutOfBoundsException if flags is empty. - Added a generic flag to proguard.flags so that now all methods with the "ForTest" sufix are automatically preserved. Turned out it wasn't needed for this CL, but it should come in handy someday. Bug 2538076 Change-Id: I49a08afc196c7b7f1f30477dfc38ac5381045d84
/packages/apps/Email/tests/src/com/android/email/mail/transport/MockTransport.java
|
dc0753373ea6cc87902ea907eb654850ed90ce57 |
|
06-Apr-2010 |
Andrew Stadler <stadler@android.com> |
DO NOT MERGE. Handle STARTTLS when last line in EHLO response. When receiving the EHLO response from the SMTP server, the multiline answer has "-" prefix in all lines except the last line, where the prefix is a blank. This is according to RFC 2821 section 4.2.1. This has also been reported as issue 2309 at code.google.com. Bug: 1744768 Change-Id: I3feccabed30767d2fa5b06352cd7d1c803e8d59c
/packages/apps/Email/tests/src/com/android/email/mail/transport/MockTransport.java
|
cb95fbe13554ee6b4e46d9fd3bcd983e09a688cb |
|
26-Feb-2010 |
Andrew Stadler <stadler@android.com> |
Send CAPABILITY to all IMAP servers * Send CAPABILITY to all servers, not just when we check TLS * Feed capabilities into IMAP ID generation * Unit tests updated Bug: 2332183
/packages/apps/Email/tests/src/com/android/email/mail/transport/MockTransport.java
|
e4a7cc440f081ef9c4375a2bd2f82680cc11b152 |
|
30-Sep-2009 |
Andrew Stadler <stadler@android.com> |
Re-enable modernized version of "optional" SSL/TLS * Add "Accept all certificates" modes to incoming/outgoing secure choices * Change URI scheme slightly to make "trust" a flag, not part of the protocol. * Change Stores to know about new URI scheme * Slightly rework Transport API to make "trust" an independent flag * Adapt HostAuth to handle new Uri scheme * Remove the old ambiguous "optional" code, which was allowing some unsigned certificates, but was *also* allowing TLS to optionally start (though not SSL, despite the UI strings.) * Add a few unit tests to EmailContent * Add logging and a bunch of comments to TrustManagerFactory, and a bit of simple cleanup to make it more readable. * Add missing conversion of SSLException->CertificateValidationException in TLS so we get the correct certificate errors from TLS too. * Re-enable TLS for mac.com accounts (which had a certificate problem) Fixes bug http://b/2119755, http://b/1374780, and probably a raft of earlier and/or external bugs about certificate problems. Change-Id: Iaf99a8da3eaadaa4cdeec224737838b5d6813e55
/packages/apps/Email/tests/src/com/android/email/mail/transport/MockTransport.java
|
c640cbbaf385566e1b6de361b2b23156e10f695d |
|
13-Aug-2009 |
Andrew Stadler <stadler@android.com> |
Update SMTP to send from provider messages, and attachments * Change Sender definition (remove old Message from API) and update any existing calls through that API * Rewrite SMTPSender to use provider messages * Add attachments to RFC822Output * Minor bugfixes in RFC822Output * Unit tests
/packages/apps/Email/tests/src/com/android/email/mail/transport/MockTransport.java
|
96c5af40d639d629267794f4f0338a267ff94ce5 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/packages/apps/Email/tests/src/com/android/email/mail/transport/MockTransport.java
|
8c2158a5ebb88e226c23b66ff95910158a2727df |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/packages/apps/Email/tests/src/com/android/email/mail/transport/MockTransport.java
|
687f9962d7095e18ef994cd0e64337f02ed1a5bd |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/packages/apps/Email/tests/src/com/android/email/mail/transport/MockTransport.java
|