40e9f2922cae76ffcbc521481e5be8e80e8744ef |
|
28-Nov-2012 |
Dianne Hackborn <hackbod@google.com> |
Quiet down a lot of logging. Also fix a little problem where the USER_STARTED broadcasts were not being sent as ordered broadcasts(!). Change-Id: I3aa3e0a9b3900967cdd2d115ee103371b0a50c41
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
8b2c3a14603d163d7564e6f60286995079687690 |
|
12-Nov-2012 |
Jeff Sharkey <jsharkey@android.com> |
Useful annotations for code documentation. Bug: 6537978 Change-Id: I806c3c09e3255f8789455f13bf37c1dde2a93f1f
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
a706e2fd0059b1bb86c487722dbc9fc0fda9c980 |
|
16-Oct-2012 |
Jeff Sharkey <jsharkey@android.com> |
Lock SyncQueue when user starting, copy RSC list. Document SyncQueue locking policy and protect in onUserStarting() and clearAllBackoffs(). Return copy of ServiceInfo list from RegisteredServicesCache instead of exposing locking externally. Bug: 7357776, 7352537 Change-Id: I6a32ca98a355b639d4207a88bde572179beae359
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
f389f2820c731b2b938a7057cde9dc11d87bcbe3 |
|
05-Sep-2012 |
Jean-Baptiste Queru <jbq@google.com> |
resolved conflicts for merge of 7749a1c5 to jb-mr1-dev Change-Id: If30a6a4ded996749b34f6a975481a97006cbcf97
|
2b5d0ea5e90bd5b9a1b3afdd230e8907315e65e2 |
|
11-Jan-2011 |
Yameng Huang <yameng.huang@sonyericsson.com> |
Make default value of auto-sync in SyncStorageEngine configurable This will make the default value of the automatic synchronization in the SyncStorageEngine configurable with overlays for use by vendors who want or have legal requirements to have the synchronization off by default. Change-Id: Iabdb355c4a1169fe8e254e91c43e162c5913d5e0
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
39606a007a5b1309dd000234f2b8cf156c49fd0f |
|
01-Aug-2012 |
Dianne Hackborn <hackbod@google.com> |
Make AtomicFile a public API. It's about time! Change-Id: Ib34e294747405b7ab709cb0bbb2d9a0cc80ce86a
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
3aca7d7bec4b48bc68480b9d6b0ccdabf6903dfb |
|
08-May-2012 |
Carlos Valdivia <carlosvaldivia@google.com> |
Fix a race condition with respect to clients of SyncStorageEngine. GetAuthorities will now return a better copy of AuthorityInfos. Bug: 6388370 Change-Id: Iac532e6e40079dbafa6e1c8345bd74902d68cf85
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
dc47556cb37b6f25faceb5eb97cef60d384b55fb |
|
05-May-2012 |
Fred Quintana <fredq@google.com> |
fix expedited syncs. there were times when an expedited sync wouldn't correctly preempt non-expedited syncs Change-Id: Ia88ce6504c06d7c8e50e40362e8bf2b85bd0934b
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
9766937ba57ca80977a68c681fdd4e46b6e1fd81 |
|
12-Apr-2012 |
Ashish Sharma <ashishsharma@google.com> |
Merge "Synchronize/align periodic sync alarms based on a random per device seed value."
|
69d95de53bc82e6c23c64ad566e428fbefae0543 |
|
12-Apr-2012 |
Ashish Sharma <ashishsharma@google.com> |
Synchronize/align periodic sync alarms based on a random per device seed value. Removes duplicates SyncHandler.MESSAGE_CHECK_ALARM messages from the queue. Change-Id: Ib29a06da904cebdd45ee05c9d9a6bf00b72100eb
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
f29f2369cf4e1de090c985ed53d3f5e59535986a |
|
06-Apr-2012 |
Amith Yamasani <yamasani@google.com> |
Fix a race condition in SyncManager.onAccountsUpdated() Get the full list of accounts from AccountManagerService in one shot instead of getting them per user. Bug: 6263091 Change-Id: I488f24749a96281ef1e2a620820399c97f471024
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
1b6ae002a5ccb4f1e06b8a2971edef2140a35a3c |
|
14-Mar-2012 |
Amith Yamasani <yamasani@google.com> |
Fix sync tests failure. Bug: 6156819 Contacts initial sync test fails Earlier commit was incorrectly cloning the currentSyncs list, so it wasn't being updated. Change-Id: I23cea8a190127746e9a1218e7bfda630599cef17
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
04e0d265e3385e9d1fbc35e43c4e8caffbbe3290 |
|
14-Feb-2012 |
Amith Yamasani <yamasani@google.com> |
Make SyncManager and AccountManagerService multi-user aware. AccountManagerService - Maintain multiple account lists, one per user - Keep multiple databases of accounts - Account db moved to /data/system/users/<userid>/ SyncManager - SyncStorageEngine keeps track of multiple users' accounts. - SyncQueue maintained as a single instance, queueing requests from multiple users. - Changed some methods to take userId arguments - Removed some deadc0de - Store the userId in the SyncOperation, so we know which provider instance to bind to when queued operations are processed. ContentService - Pass along the userid to sync manager calls. ActivityManagerService: - Fixed a bug in cancelIntentSender - Don't bring other user's task forward when resetting tasks. Updated tests Change-Id: If317340ef68e902787aa3f5ceb4cf96f14aea695
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
ed1d253573a238fd53d27def24d298314f24d425 |
|
15-Feb-2011 |
Alon Albert <aalbert@google.com> |
Bring back auto clear backoff on reconnect Also, make sure it works this time by calling onBackoffChanged() Bug: 3460736 Change-Id: I0470d6cb0aabd798dab4116d5d135c7a2364ed28
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
a3cdaa5337fa573c4c61770195d6232c2e587090 |
|
13-Jan-2011 |
Jason parks <jparks@google.com> |
Revert "Remove the APIs for the old encryption scheme." This reverts commit 1125d780a8b61703b8eb28c5c77dac5f3f0022dd.
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
1125d780a8b61703b8eb28c5c77dac5f3f0022dd |
|
12-Jan-2011 |
Jason parks <jparks@google.com> |
Remove the APIs for the old encryption scheme. Change-Id: I55116a5b29b10dfd50015805ec019b485257f68b
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
744e310f6635026396e32ab0a2c009e464c2be3c |
|
14-Dec-2010 |
Alon Albert <aalbert@google.com> |
Clear all pending backoffs on a reconnect event Change-Id: I509e2c6c9d95922d196ac805eded523b674ad805
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
5695c7b4e5bedb692c78a92b95b26e22ae33316b |
|
07-Dec-2010 |
Fred Quintana <fredq@google.com> |
make sure that pending operation reconstituted from disk always have an extras bundle Bug:3226463 Change-Id: I16db632e0be1e75a77853394f716d4c47c08359e
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
1b422d8cd8ed83b79e977a3afb99969cea4a6700 |
|
14-Oct-2010 |
Wink Saville <wink@google.com> |
am 090ac9f7: am a3100314: Merge "Remove some PII." into gingerbread Merge commit '090ac9f7dd883aa75c899745182471d409a2b762' * commit '090ac9f7dd883aa75c899745182471d409a2b762': Remove some PII.
|
a42880749b368e60caee77dd682d434e48ca96bd |
|
12-Oct-2010 |
Wink Saville <wink@google.com> |
Remove some PII. Change-Id: I4df27119b6bbd28bf950516fd6f44676a8e04f06
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
fa9921e4bca92025810b946955910fbdfe6c8482 |
|
09-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
am e89bf502: am ef083ec0: Merge "Work on issue #3062691: GPS enable bypass via com.android.settings.widget.SettingsAppWidgetProvider" into gingerbread Merge commit 'e89bf50261902bf263887923bf95595ec8eae069' * commit 'e89bf50261902bf263887923bf95595ec8eae069': Work on issue #3062691: GPS enable bypass via com.android.settings.widget.SettingsAppWidgetProvider
|
c6a69559cb62bd20166c0c9684e64c60d779da38 |
|
28-Sep-2010 |
Fred Quintana <fredq@google.com> |
Add getCurrentSyncs() to the SDK, which replaces the deprecated getCurrentSync(). Change-Id: I1112df41e48ed93ff4c0c5af4825dbdce0c4cccc
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
043fcd9847a804bc6394728e5785aecc495e6347 |
|
06-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
Work on issue #3062691: GPS enable bypass via com.android.settings.widget.SettingsAppWidgetProvider Exposes an Intent I need (okay it fixes an unrelated thing in the power widget), and fixes some dump output. Change-Id: I51d6c93a6ac879bab64e9d5aa21129e2bbcd461b
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
918339ab8255f8e1d03d8448ab1d9036c7c15173 |
|
05-Oct-2010 |
Fred Quintana <fredq@google.com> |
Make a separate active sync queue for initialization and regular syncs. This entails allowing multiple syncs to happen in parallel, with different limits for regular and initialization syncs. Change-Id: I0e47c6515af5c98faf899f91855b342b0d0c708c
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
7aed1e14b53778ea4044362b001fb5bf5cac09c0 |
|
07-Apr-2010 |
Dianne Hackborn <hackbod@google.com> |
am d66e2b23: am 4e7cacd3: Merge "Maybe fix issue #2568615: System server crashed in SyncStorageEngine" into froyo Merge commit 'd66e2b23a5c6b4b2b6586015c1a6951b4d6d1bfa' into kraken * commit 'd66e2b23a5c6b4b2b6586015c1a6951b4d6d1bfa': Maybe fix issue #2568615: System server crashed in SyncStorageEngine
|
4e80820ab54f3985220ff06b2fcd381565e9f19d |
|
07-Apr-2010 |
Dianne Hackborn <hackbod@google.com> |
Maybe fix issue #2568615: System server crashed in SyncStorageEngine Ack, we were acquiring the wrong lock at some points when accessing the data structure! Change-Id: I8bbc8e1ffa2e3e8a94bf7625e3d7f020c458eea2
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
6669a7b4b5d14c16a08983d25354dd2ae106f62c |
|
31-Mar-2010 |
Fred Quintana <fredq@google.com> |
am 4a2f285d: am 77c560f3: - changed periodic sync scheduling to just creating pending and changed the "get next operation to sync" logic just look at pending syncs, rather than them and periodic syncs - made syncoperation dup-detection ignore the initialization Merge commit '4a2f285deafc996435ac20162abaeb21838c1c40' into kraken * commit '4a2f285deafc996435ac20162abaeb21838c1c40': - changed periodic sync scheduling to just creating pending
|
77c560f3d7891d9ae1ad714b5f65a22ff4f4c06b |
|
30-Mar-2010 |
Fred Quintana <fredq@google.com> |
- changed periodic sync scheduling to just creating pending and changed the "get next operation to sync" logic just look at pending syncs, rather than them and periodic syncs - made syncoperation dup-detection ignore the initialization sync extra - made the sync dispatcher treat initialization syncs as just a regular sync request and also made it explicitly set or clear the initialization extra based on whether the sync adapter was in the syncable or unknown state - change the getNextSync logic to prioritize syncable "unknown" syncs above everything else (since they should be fast and are important) - make it reschedule completed initialization syncs if the sync adapter is now marked syncable - fix some logging in SyncStorageEngine - change SyncStorageEngine to not reuse authority ids when one is removed http://b/issue?id=2531359 http://b/issue?id=2429638 Change-Id: I79805b582da74f4f0b6193eafaff24c2371d51e8
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
010fbfc9842ee3b86eafb1b3fc6bccd83be99b9e |
|
31-Mar-2010 |
Fred Quintana <fredq@google.com> |
am 344ba661: am d5e4fdc8: some changes due to an API review - make EntityIterator extend Iterator and thus not throw a RemoteException, instead converting it into a RuntimeException. - rename ActiveSyncInfo to SyncInfo - change getActiveSync to getCurrentSync - Merge commit '344ba661ab406759a91ecaba1378a4907971b119' into kraken * commit '344ba661ab406759a91ecaba1378a4907971b119': some changes due to an API review
|
d5e4fdc8a4743abc0d9fe3cb952a78f9ad078c6b |
|
31-Mar-2010 |
Fred Quintana <fredq@google.com> |
some changes due to an API review - make EntityIterator extend Iterator and thus not throw a RemoteException, instead converting it into a RuntimeException. - rename ActiveSyncInfo to SyncInfo - change getActiveSync to getCurrentSync - remove the accessors in SyncInfo and instead make the final fields publicly accessible - made AbstractThreadedSyncAdapter.cancelSync not take a thread Change-Id: I99fde5585bc5f1e95f4873ffbba189074a8d6372 http://b/issue?id=2553539 http://b/issue?id=2553541 http://b/issue?id=2553550
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
1f4df90bfab8ca42eabe95f19eadff3432eee7fd |
|
27-Mar-2010 |
Oscar Montemayor <oam@google.com> |
DO NOT MERGE Removing unused features from source tree. Please refer to Bug#2502219. Change-Id: I879c29bfd5ffe933f64bb1082aaae7c956450a5a
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
fb084400d6afa6443a421117fbcaee0265d38fb6 |
|
24-Mar-2010 |
Fred Quintana <fredq@google.com> |
fix bug where sync settings set lost upon upgrade from donut and eclair to froyo - intepret a missing syncavble attribute from donut as "unsynced" rather than the traditional "true" - copy the sync settings from the authorities "contacts" and "calendar" to "com.android.contacts" and "com.android.calendar" if the latter don't already have settings - delay the database cleanup until after boot completed, which will give the GoogleLoginService accounts migration code a chance to run; this was causing all the settings to get removed upon a donut to froyo upgrade Change-Id: I8795e97ba0c9b930d1a50784229ca9ab15dff9d2 http://b/issue?id=2531359
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
7620f1ae498e01bf2df58eaa1b9b20ef1eb47fa1 |
|
16-Mar-2010 |
Fred Quintana <fredq@google.com> |
Clean the settings for the account/authority when trying to sync an adapter that is not installed. Change-Id: Id4a804615b9546155948797f9dd9a0f03fbe4b2f http://b/issue?id=2520175
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
c2e4691d788088b22eadc9b2d35e9bdf0b6a0ffc |
|
16-Mar-2010 |
Fred Quintana <fredq@google.com> |
- make the SyncManager add periodic syncs when it upgrades from a version of the accounts.xml file that pre-dated periodic syncs, e.g. eclair or early froyo. http://b/2515823 - make the AccountManagerService dump() use a getAccounts call that doesn't check the GET_ACCOUNTS permission to make it useful in "adb bugreport" - add some logging to SyncManager to help track down a problem Change-Id: Icb646909074e2d327d71f6bb39cf06b6fac29e77
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
1b487ec44b6b5594914d52fa427bec4f29a60541 |
|
26-Feb-2010 |
Fred Quintana <fredq@google.com> |
expose some sync control methods - ActiveSyncInfo - ContentResolver.addStatusChangeListener - SYNC_OBSERVER_TYPE_SETTINGS - SYNC_OBSERVER_TYPE_PENDING - SYNC_OBSERVER_TYPE_ACTIVE - make the ContentService resilient to nulls passed in to the status change listener registration and unregistration calls bug http://b/issue?id=2337197
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
2269d1572e5fcfb725ea55f5764d8c3280d69f6d |
|
25-Feb-2010 |
Dianne Hackborn <hackbod@google.com> |
Re-arrange android-common so framework no longer links with it. This is the framework part, moving classes around so the framework no longer needs to link to android-common. Makes some APIs public, others that didn't need to be public are private in the framework, some small things are copied.
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
1bbcd105a164ebbd69ee3fd1fe8fb75cd8a8c0cb |
|
10-Feb-2010 |
Fred Quintana <fredq@google.com> |
fix an NPE in SyncManager's dump where it can get a null AuthorityInfo; instead create one if one doesn't exist yet
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
c5d1c6db61f208b206b260f897bb5bbc64be4d97 |
|
27-Jan-2010 |
Fred Quintana <fredq@google.com> |
add sync polling - added the ability to specify that a sync (of account/authority/extras) should occur at a given frequency - the existing daily poll code was replaced with seeding each account/authority with a 24 hour periodic sync - enhanced the "adb shell dumpsys content" output to show the periodic syncs and when they will next run
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
307da1a46b4c9b711bafe8fbaaa6b98e8868c18e |
|
21-Jan-2010 |
Fred Quintana <fredq@google.com> |
enhance the sync manager backoff logic and add support for retry-after moved SyncQueue and SyncOperation into their own top-level classes to ease maintainability and testing6 removed some dead code
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
f0108cda21bec61418b24aa6217406072780b5d5 |
|
22-Dec-2009 |
Tom Taylor <tomtaylor@google.com> |
resolved conflicts for merge of ad2fa35d to master Change-Id: Ia4362cd48ac0689b91003943a4cd9660da72ff90
|
d4a4729c0cac582a2dcec7c8cfb316b81885a0f0 |
|
21-Dec-2009 |
Tom Taylor <tomtaylor@google.com> |
Update imports to android-common Several files were moved to android-common. Update all the references to import those files from the new location.
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
a8529f68671a8a118751cb6ad577f44eaf076b96 |
|
18-Nov-2009 |
Oscar Montemayor <oam@google.com> |
Encrypted File Systems Project. Installer modifications. Started to modify isntaller for data redirection to a secure location.
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
bd0a81ff1c0e92e80e05e2f12bb1805c7d081e94 |
|
04-Oct-2009 |
Dianne Hackborn <hackbod@google.com> |
Work on issue #2163789: Way too much logging Dr.No from mcleron. Change-Id: Iaca2268684f83fe8757e64db0b0e047a19755311
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
a33e3f79259b56b03c7912af35944f34ad190e3c |
|
30-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #2154794: Force close when start facebook application. I think when we were scanning the updated app in the system image, from an older version on the data partition, we were not setting the existing package to have the system flag, so not auto-granting any new permissions. This also includes some other cleanup in the package manager to remove old files in various places, and tighten up logging. Also similar logging cleanup elsewhere. Change-Id: I6d113c7cf7e736ab9be512d6d7c94c806a24199a
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
3348f14b3d46b172a5b557f81aac526b7e8bf5fb |
|
30-Sep-2009 |
Costin Manolache <costin@google.com> |
Remove GAIA string
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
5ed64cd06ce308e91a5ab74e51bcea5fba9a3860 |
|
22-Sep-2009 |
Costin Manolache <costin@google.com> |
Keep track of 'initial' sync state in SyncStatusInfo
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
a286f419084d56217f05a64f1d24c9e07917212e |
|
19-Sep-2009 |
Christopher Tate <ctate@android.com> |
Don't back up / restore certain sync-related settings In particular, this no longer attempts to back up the on/off state of specific backend syncing [gmail/contacts/calendar], nor the "background data" toggle. The former was causing a great deal of spurious trips through backup as the notification was being tickled during general sync operation, and the latter makes little sense at restore time. Fixes these issues: b/2097613 - frequent "backup_data_changed" messages in event log b/2131662 - should not backup background data, master sync settings
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
b752098e8d12d6e7925d97458078dbb896ca8a05 |
|
03-Sep-2009 |
Costin Manolache <costin@google.com> |
Sync status was ignoring account - the new UI has specific sync status for each account, so we need to use it.
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
360e454b2b2f911e9e29268519017cc94ae9d4f4 |
|
04-Sep-2009 |
Costin Manolache <costin@google.com> |
Fix SparseArray accesses
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
b763ab265130b5aa59e4de561ba3836ac294fe62 |
|
19-Aug-2009 |
Fred Quintana <fredq@google.com> |
clean up some logs and clamp the syncable value
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
4a6679b97e0285c5b65ec5c0d9080ff90d3e9e81 |
|
17-Aug-2009 |
Fred Quintana <fredq@google.com> |
make syncadapter set whether the account is syncable
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
5e787c42f2a6b3afc8ec8320a08d51b2d44b8614 |
|
17-Aug-2009 |
Fred Quintana <fredq@google.com> |
- add a "isSyncable" flag to a given account/authority pair that indicates whether or not syncs should be attempted for it. - add public methods to get and set this parameter
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
ffd0cb04f97e62d286d185c520580d81a9c328b1 |
|
16-Aug-2009 |
Fred Quintana <fredq@google.com> |
do not merge: cherrypicked 3710f390968e683a0ad3adf0b517dfcade3564ce from master branch
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
8294fadb155a33da8a40d8412afb35e6b424afcb |
|
16-Jul-2009 |
Joe Onorato <joeo@android.com> |
Make sync not start until setup wizard is done.
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
dace230043314d6fab1c5ced4b031eaccd814c25 |
|
14-Jul-2009 |
Dianne Hackborn <hackbod@google.com> |
resolved conflicts for merge of b06ea706 to master
|
b06ea706530e6d19eb2a1a9a7ae6c5dd77d80af0 |
|
13-Jul-2009 |
Dianne Hackborn <hackbod@google.com> |
Add reporting of activity movement for search manager. This adds a new API with the activity manager to find out about movement between activities. For my sanity, the old IActivityWatcher is now renamed to IActivityController, and the new activity movement interface is named IActivityWatcher. This changes the search manager itself to use the new API to manage its state. Note that there are still problems when going back to the search dialog after it was hidden -- the suggestions window no longer appears until you explicitly dismiss and re-show it.
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
f6a34dd6ab7f4803a2bbfed1cc8910e879e6a79d |
|
07-Jul-2009 |
-b master <yamasani@google.com> |
resolved conflicts for merge of b7195159 to master
|
70c874ba20b586712a7550b6c5efeb6dc0fdf9fa |
|
06-Jul-2009 |
Amith Yamasani <yamasani@google.com> |
Restore GPS state and ringer/vibrate toggles. Inform backup manager when sync flags change. Set ringer/vibrate mode.
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
ac9385ef3105fb7464e1f46049c62755a8b7f0e9 |
|
23-Jun-2009 |
Fred Quintana <fredq@google.com> |
- clean up the sync settings names to: (get|set)SyncAutomatically (get|set)MasterSyncAutomatically - change SYNC_EXTRAS_FORCE to SYNC_EXTRAS_MANUAL to mace clear that this overrides the .*SyncAutomatically settings - make ContentResolver methods that call the sync controls methods in IContentService so that SDK users can use them - rename startSync to requestSync to reinforce the fact that a sync is not immediately or always started when this method is called - add an Account parameter to all the sync settings and control methods - change the sync control methods to take a String authority rather than a Uri uri
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
5369ad6f5e4e9f972b30fb8f16e90557ef8431b0 |
|
14-May-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 541ff5d: Merge change 1566 into donut Merge commit '541ff5df00984580e0245b3ae2c89b93e76b7c08' * commit '541ff5df00984580e0245b3ae2c89b93e76b7c08': Fix issue #1838944: Application sync settings cant be changed with auto sync on
|
271cee6de82749b362c91406d9ad6dbc2fa09d5a |
|
13-May-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #1838944: Application sync settings cant be changed with auto sync on
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
3531fdb1d9a0ca536bd7a7a27d35b3e62c318ad9 |
|
08-May-2009 |
The Android Open Source Project <initial-contribution@android.com> |
merge 55280a9 Merge commit '55280a9'
|
55280a91884b9256e8db6af6a09f28b3feeaa9d8 |
|
08-May-2009 |
Dianne Hackborn <hackbod@google.com> |
Improve shutdown process to send broadcast for applications. This introduces a new class in the base platform for performing a clean shutdown (which was copied from the classes in the policies). It includes new features to send a shutdown broadcast for applications to do cleanup, and ot have the activity manager pause the current activity before proceeding with the shutdown. These facilities are also use to write at the most recent stat files for sync, battery and user activity.
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
2d5ed1fa3d29cdf1afb3bdfc3fc6a061f9f3feb3 |
|
07-May-2009 |
Dianne Hackborn <hackbod@google.com> |
Another fix: look at db version to determine if there is a type column.
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
534032610c6701b63ab94f0336beeb9f4a830f2d |
|
06-May-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix [Issue 1835218] IllegalStateException already initialized in SyncStorageEngine.init I used the wrong column name for the new account type.
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
7a1355950172b7a549820e9a2cd4a9b2099ec32f |
|
06-May-2009 |
Dianne Hackborn <hackbod@google.com> |
merged 231cc608d06ffc31c24bf8aa8c8275bdd2636581
|
231cc608d06ffc31c24bf8aa8c8275bdd2636581 |
|
28-Apr-2009 |
Dianne Hackborn <hackbod@google.com> |
Rewrite SyncStorageEngine to use flat files and in-memory data structures. The previous implementation used a database for storing all of its state, which could cause a significant amount of IO activity as its tables were updated through the stages of a sync. This new implementation replaces that in-memory data structures, with hand-written code for writing them to persistent storage. There are now 4 files associated with this class, holding various pieces of its state that should be consistent. These are everything from a main XML file of account information that must always be retained, to a binary file of per-day statistics that can be thrown away at any time. Writes of these files as scheduled at various times based on their importance of the frequency at which they change. Because the database no longer exists, there needs to be a new explicit interface for interacting with the sync manager database. This is provided by new APIs on IContentService, with a hidden method on ContentResolver to retrieve the IContentService so that various system entities can use it. Other changes in other projects are required to update to the new API. The goal here is to have as little an impact on the code and functionality outside of SyncStorageEngine, though due to the necessary change in API it is still somewhat extensive.
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
d9d2f1140b52fd0c014e9deac59f6000564b7e84 |
|
23-Apr-2009 |
Fred Quintana <fredq@google.com> |
change the sync framework and users to understand Account
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/java/android/content/SyncStorageEngine.java
|