History log of /packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
51c653646d14d841fbe527aee9fab7a1886338f8 28-Aug-2014 Martin Hibdon <mhibdon@google.com> Put debug screen back into settings

There is still work to be done here:
* The debug setting is not persisted in Exchange, so if
the exchange service is killed, when it restarts the logging
will not be active.
* Nothing in Exchange actually does any additional logging
if this logging is turned on.

Change-Id: Ic578e6956f70dd47fba9b2895385312f71c47abf
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
7afbeee47e1a82680c815f2fb8cfdba32d6b0b84 11-Jul-2014 Martin Hibdon <mhibdon@google.com> Update IEmailService

Add version support
Change deleteAccountPIMData to deleteExternalAccountPIMData.
Data kept inside the EmailProvider can be deleted from within
the Email app. Only external data (e.g. contacts and calendar)
need to be deleted by the service which has protocol specific
knowlege.

Change-Id: I875d3051d0cfdbaf52775ec20eb114a345894a93
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
1d8fd9c05449863ac6a151a6db87c267c4f55ac2 02-Jul-2014 Martin Hibdon <mhibdon@google.com> Add communication class for HostAuth

We want a separate class for communicating HostAuth objects
to and from IEmailService. The issue is that the HostAuth object
was being used for both to and from the database, and to and from
IEmailService. This is dangerous because The Email app may change
out of band with the Exchange app, and may need to change the
format of HostAuth. This bit us before when adding OAuth.
Now communication to IEmailService is done using HostAuthCompat.

Change-Id: I2fb8c2bd8158f58a7bb9bc3dc83a7936948c718c
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
fb2a3a2f77f954265beaa92b87774006e2d7c185 12-Jun-2014 Martin Hibdon <mhibdon@google.com> Update IEmailService

This is not yet finalized, but it's needed to fix push syncs
on exchange.

Change-Id: Iaff20aa0bdea9685ef6603de1f861d58fbab6ff1
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
163323294e20f620931ae531cc927ae3932cb368 22-May-2014 Martin Hibdon <mhibdon@google.com> Change IEmailService.sync to have two different forms

Change-Id: Id8e770154d6116b02746cbdfb8c7cdc9358398de
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
c5f5a14ae9095f76d8e8c411cfd8f8e0e8970aa2 21-May-2014 Martin Hibdon <mhibdon@google.com> Revert "Get rid of deleteAccountPIMData from IEmailService"

This reverts commit cf2178c4fa61538f5a2f862fe3f9bc16b9f06ebb.

Change-Id: I9b05dd7a29a2d2edf64529ca28e2305737a43115
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
cf2178c4fa61538f5a2f862fe3f9bc16b9f06ebb 21-May-2014 Martin Hibdon <mhibdon@google.com> Get rid of deleteAccountPIMData from IEmailService

This doesn't need to be part of the service because the
implementation doesn't need to be different between any
of the different protocols.

Change-Id: Ifddf16dd3ccaf397029f08f6d4283d9a5630f717
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
8103f960d0c0469d67652afd616e9924687aa139 26-Feb-2014 Yu Ping Hu <yph@google.com> Add sync to IEmailService.

This supports the EasService design.

Yes, I just removed a startSync function from this interface last month. No,
I didn't quite know at the time that I'd be adding one back. :)

Change-Id: I19d9c7838473d8982560764fdba0056cba03d132
(cherry picked from commit 4a5b11d650ff6bd79da1dfecc137af3433ce6ca8)
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
70cb2878d72ce1c1775ac0426ff82698a5e59377 26-Feb-2014 Anthony Lee <anthonylee@google.com> Changed the IEmailService interface to accept and accountId in
the loadAttachment() call. This work was necessary to support
the new EasService & EasOperation infrastructure.

Change-Id: Idd507aec999596ccd4afa5f03ff2b3c2e38a9029
(cherry picked from commit efac8255ed75d22e60036e19e7a95f8407d18ad3)
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
701134953e4591bf2cca020838558a97eab570a1 25-Feb-2014 Yu Ping Hu <yph@google.com> Add pushModify to IEmailService.

This call lets the service know that the push settings for an
account have changed.

Change-Id: I7ed41853df6af6762c80283a2a3510ce41551657
(cherry picked from commit 446136a2278652c627068ecddff534de1ad431ab)
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
f679cd08d179645b5131d2cfdaa70fa42bb778c0 30-Jan-2014 Yu Ping Hu <yph@google.com> Delete unused functions from IEmailService.aidl.

Change-Id: I131d2d3436a50c94d664fc57c6514481d9afbc97
(cherry picked from commit 8ff6c107867bc2044ba50cad010dbf4a2e93436e)
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
a60550e0eb08e0239d1fcea261b37ba592a35ba4 25-Nov-2013 Yu Ping Hu <yph@google.com> Fix account deletion when removing security policies.

- Delete accounts, not just account data.
- Wait for PIM data to get deleted before proceeding.
- Reconcile after deleting an account.

Bug: 11856902
Change-Id: Ie52b7c583688bf48a33bcf6b4e555b8c055b476c
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
a5a28ffb63785eefe8602174316d9ba6233ac428 18-Oct-2013 Yu Ping Hu <yph@google.com> Do not require RPC for getCapabilities.

Bug: 11241892
Change-Id: I3da136c9035414c821ee2038da01134c551bb9dd
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
e4ac06080ba8b8e57531982ea290354b1a9a4305 28-Aug-2013 Paul Westbrook <pwestbro@google.com> Don't use implicit events

Bug: 10189773
Change-Id: I4579f2e465bd23b8ab4cdf291bfbe80cf6518328
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
2075c97f608a853923980865b72147a5c8ef71f0 30-Jul-2013 Yu Ping Hu <yph@google.com> Delete most of IEmailServiceCallback.

The old callback mechanism is deprecated, in favor of making
calls on the ContentProvider.

Bug: 9842867

Change-Id: I65f559e593cda24456c4ffb96f785e054626dd0b
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
9a1f00bee4c50c128df320a3795cfc8295d5e011 20-Jul-2013 Yu Ping Hu <yph@google.com> Change deleteAccountPIMData to take emailAddress, not id.

By the time the remote call actually runs, the account
may be deleted from the DB, so the account id is likely
useless.

Bug: 9021105
Change-Id: If28b4b8c4b5c52be35c6ff68b326c4ea28d7f7b4
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
d5acf0bbc00cbe9a2c075e1bd4825ccbd9851d8d 15-Jul-2013 Yu Ping Hu <yph@google.com> Explicitly pass a callback when loading attachments.

This is part of moving away from the explicit setCallback,
which either has race conditions or is very noisy, or both.
(Each IEmailService call that wants callbacks should just
pass the callback explicitly.)

I'm not yet changing how the services actually handle the
call. Each protocol will need to fix this on their own.

Bug: 9735207
Bug: 9842867
Change-Id: If8cf69ffe82f3544ace9e58b1db5a183f38d038a
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.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/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
c28347552e543b2fc04c922336ddca75221a1eef 24-May-2013 Yu Ping Hu <yph@google.com> Handle redirection during validation.

This allows the validator to tell the app that
it should use a different host.

Change-Id: Ie42c32aa7aea83e4d95d2b82b88225036b2407a9
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
0d5e21d0fcd337cecce929a3b1bdb0b8b5871b2c 18-May-2013 Yu Ping Hu <yph@google.com> Read protocol version from validation bundle.

Exchange used to just re-check version on first sync.
Version is known during validation so might as well use it.

Change-Id: I004fe671a1ad30a7cfe0a0659b74b20ee2136771
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
9e7f5a2a33a31ff392d3116f6432b2f93ffe8e71 25-Apr-2013 Yu Ping Hu <yph@google.com> Use system SyncManager for Exchange.

Change-Id: I77e4e75c94c532d22a28cf97e6f55f1259b8bdde
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
7dd26feaea3b6c30339ec10720ebc481fe843cc0 11-Apr-2013 Yu Ping Hu <yph@google.com> Merge "Improve mailbox sync and load more." into jb-ub-mail-ur9
17d5bbf768c27ac7782b155e2ab25bcd480f5dcf 05-Apr-2013 Yu Ping Hu <yph@google.com> Improve mailbox sync and load more.

- Update syncTime for IMAP and POP whenever we sync.
- Change load more to simply include the delta in the RPC
rather than using the visibleLimit column.
- Add a query to get the message count for a Mailbox.
- Refactor code for updating totalCount and determining
the new message count when syncing.
- Remove dead code from Mailbox.
- Remove uses of visibleLimit from code.

Note that visibleLimit and messageCount in Mailbox table are
no longer useful and will be removed in a later change.

Bug: 8579767
Bug: 8523146
Change-Id: Ieb67e3b6f1c82c3b21b972c5a1e557cd75dc21db
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
69ef2b22ff6c5dcce78423ef502d14f841b04fed 11-Apr-2013 Paul Westbrook <pwestbro@google.com> Fix TempDirectory initialization

The proxy for local services were not intializing the TempDirectory.

Also, move the TempDirectory initialization out of the try/catch block.
Otherwise if Device.getDeviceId threw an exception, the temp directory
wouldn't be initialized

Bug: 8531456
Change-Id: Iea34e0b03203d6c6fe6e5d1ae9902d081bd90c27
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
e714bb9d153cfe13a7f0932e7d67ea08fa5a1d98 23-Aug-2012 Marc Blank <mblank@google.com> Convert authorities, intents, and account manager types

* Tested ok on wiped Nexus
* Tested ok on S3
* Upgrade verified on Nexus

Change-Id: If5d4ce594f8a309cdb59589d10b1d33f3b79326c
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
0b5f15d61ebf7c0e8428100637bc479ed93a4cb2 25-Jul-2012 Marc Blank <mblank@google.com> Make sure account capabilities get set properly in UIProvider

* Change getCapabilities API to take an account, rather than
the id of the account
* getCapabilities() can therefore execute even before Exchange
is fully up and running

Change-Id: Id4c2a9942ea7a21e0c56401c50206b680274b43e
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
f419287f22ae44f25e1ba1f757ec33c7941bbfa8 28-Jun-2012 Marc Blank <mblank@google.com> DO NOT MERGE: Move emailcommon2 sources to emailcommon

Change-Id: I06df7e467cd2e0117df8b8db3ddc6ff9da13f1c7
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
03cd72805dab0379ed255d151f1c17cc60655fc3 25-Apr-2012 Marc Blank <mblank@google.com> Revert to old Email app

* These are the last sources in the ICS-MR1 tree

Change-Id: Ida4651bddd92a06a518d00f3e1f275ab3a80c8ae
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
4f813fb12937de74d3ccec730b8de0c9de7a87e0 14-Feb-2012 Marc Blank <mblank@google.com> Convert POP3 to service

* Remove MessagingController and (almost all of) MailService

Change-Id: I8953b58b237de6a71fda770f1727bd94081fec55
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
c84467afe1b5e0a657ed7d6a9fa1e3fe1ff259a0 09-Feb-2012 Marc Blank <mblank@google.com> Start of IMAP conversion to Service architecture

* Handle startSync and loadMore
* Use SyncManager rather than MailService for periodic sync
and upload sync
* First of many CL's to disentangle sync from UI
* Note that the large majority of this CL is a refactoring
of IMAP specific code out of MessagingController and into
ImapService; MessagingController will eventually be
removed entirely from the app, as will much of Controller

Change-Id: I13546d0694479b33cf93c25920dedc1d38227f6c
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
22409fcffae4c6e551fb3e6ead4cdc92e33fded1 14-Jun-2011 Ben Komalo <benkomalo@google.com> Pass HostAuth when validating an account.

Since HostAuth is fully Parcelable, no sense passing the individual
fields.

Change-Id: I4d8fd2bbe7b47e8f1e2ff00c8c0cad8429eec159
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
75a754660e33c5e18cacffff193983ba22a7b9b0 02-Jun-2011 Marc Blank <mblank@google.com> Update searchMessages API

* Store various search parameters in a new parcelable class

Change-Id: Iadec6a803b1bf17d89cd401c3fca1cb0ad3340d4
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
12b82d9374947c9268217f45befe8a74bd9b60d7 20-May-2011 Ben Komalo <benkomalo@google.com> Move HostAuth to top level class.

No other changes made.

Change-Id: I1c6497c98abc0f99443ea42d8aed6295b263c123
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
aeee10e57ef4d931e7708fde218d590453a82aea 28-Apr-2011 Marc Blank <mblank@google.com> Rework of security policy storage

* Replace crazy (and soon to be "full") bit fields stored in an account's
securityFlags with a row in a newly created Policy table (thus, fully
expandable)
* Update code from database version 17 to 18; adds Policy table, a
policyKey row in Account, and a revised trigger that deletes Policy
information for deleted Accounts
* Update old PolicySet unit tests to work against the new Policy class
* Add test for the conversion of securityFlags to Policy
* Tested in a variety of scenarios; appears to be functionally equivalent

Change-Id: I1505ee75230d6a0d3c2b62a46326f39c2c7f9eb5
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.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/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
265530723b8c008f6bc23b1723f4de706a3e9556 26-Apr-2011 Marc Blank <mblank@google.com> Expose unsupported policies in the UI (account setup)

Change-Id: I75b650af92c87bd990009e54072ac4b58ed0895b
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
c60b8d0529168edecf2376a6f421a0ae1e10fe29 31-Mar-2011 Marc Blank <mblank@google.com> Add searchMessages command to EmailService

* Also, document service methods in EmailServiceProxy

Change-Id: I46cc68c8c2aa870ea82474c70d944640bb66b0ef
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
19b2a7ebc9cc770baace1605ff5b44b3fcb46320 02-Mar-2011 Makoto Onuki <omakoto@google.com> New debug setting to enable strict mode logging.

For now it only enables it for the main process. I've added a flag
to EmailServiceProxy for EAS, but it's not used in the exchange side.

Bug 3500292

Change-Id: I5b27c69fe7cc995a430e9def54b2463076032c78
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
37f3385803de19d4b6fb4ef1b1ac9a6196dec98c 02-Mar-2011 Ying Wang <wangying@google.com> Split out emailcommon/Android.mk

Change-Id: I846ee2a4b541f4709e647aa537c61549db2bec2e
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
a07f2ae0b18964aa15e218e8b6be8be24e5c9f46 01-Mar-2011 Ying Wang <wangying@google.com> Revert "Split out emailcommon/Android.mk"

This reverts commit c28bf353190eb576072a8fd2f98821424144876e.
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
c28bf353190eb576072a8fd2f98821424144876e 01-Mar-2011 Ying Wang <wangying@google.com> Split out emailcommon/Android.mk

Change-Id: I90653e8601ee3ee6a8719d87ffb93222a11a22c0
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java