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/tests/coretests/src/android/content/SyncStorageEngineTest.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/tests/coretests/src/android/content/SyncStorageEngineTest.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/tests/coretests/src/android/content/SyncStorageEngineTest.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/tests/coretests/src/android/content/SyncStorageEngineTest.java
|
22e31e5b609136d5bf7d77b1dccd6b042b83ebdf |
|
07-Jan-2010 |
Neal Nguyen <tommyn@google.com> |
Moving framework core tests closer to their source files. Phase 2 of test case cleanup; distributing CoreTests files closer to their respective sources under frameworks.
/frameworks/base/core/tests/coretests/src/android/content/SyncStorageEngineTest.java
|