summaryrefslogtreecommitdiffstats
path: root/tests/CoreTests/android/content
Commit message (Collapse)AuthorAgeFilesLines
* More framework tests cleanup.Brett Chabot2010-04-011-164/+0
| | | | | | | | | | | | Move all tests for android.* classes from tests/AndroidTests and tests/CoreTests into framework/base/<core|graphics>/tests. Consolidate all tests for java.* classes to tests/CoreTests. Eventually hopefully these will be moved to dalvik/ somewhere. Remove tests/AndroidTests entirely. Change-Id: I86584d086ab7bd045bb38a10b699907805298a95
* add sync pollingFred Quintana2010-02-051-15/+15
| | | | | | | | | - 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
* Moving framework core tests closer to their source files.Neal Nguyen2010-01-272-158/+0
| | | | Phase 2 of test case cleanup; distributing CoreTests files closer to their respective sources under frameworks.
* enhance the sync manager backoff logic and add support for retry-afterFred Quintana2010-01-251-0/+164
| | | | | | | moved SyncQueue and SyncOperation into their own top-level classes to ease maintainability and testing6 removed some dead code
* merged 231cc608d06ffc31c24bf8aa8c8275bdd2636581Dianne Hackborn2009-05-061-2/+1
|\
| * Rewrite SyncStorageEngine to use flat files and in-memory data structures.Dianne Hackborn2009-05-051-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | change the sync framework and users to understand AccountFred Quintana2009-04-231-1/+2
|/
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-032-0/+158
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-032-158/+0
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-172-0/+158