path: root/
Commit message (Collapse)AuthorAgeFilesLines
* Fix DownloadProvider makefile to correctly include sub-makefilesSteve Howard2010-09-201-5/+2
| | | | Change-Id: I569e168267305939197e9af86f9598b17283a2c6
* First pass at new system UI for download manager.Steve Howard2010-09-081-2/+5
| | | | | | | | | | | | | | | | | This is the initial checkin for a new system UI for the download manager. This UI shows all entries present in the Download Manager database, sorted by either date or size. It allows the user to monitor status, open files, and delete/cancel entries. The code was initially copied from the "Downloads" page of packages/apps/Browser, since the design is based on that UI. Much of the code is changed, although DateSortedExpandableListAdapter is nearly identical. The code is not quite finished, but this is very much a working first pass. Change-Id: I7fe102e9f2998e57d893cc3c0f5f6da1cf2db549
* Stub out the system clock in the download manager, add testsSteve Howard2010-07-011-0/+1
| | | | | | | | | | | | | | Introduce SystemFacade, an interface that allows us to stub out the system clock for testing the download manager. This allows us to test retrying a failed download without having the test wait 60 seconds. This interface can include other dependencies in the future as well. I've also used this to add tests for 503 (retry-after) and 301 (redirect), and I've added a test for download to the cache partition. Other changes: * made MockWebServer capable of checking + rethrowing exceptions from child threads * refactoring + cleanup of DownloadManagerFunctionalTest
* Don't inadvertantly include tests in the build.Steve Howard2010-06-211-1/+2
| | | | Change-Id: Ic57f0b66dd81da1b6acc7132f792b024e974f74c
* Adjust DownloadProvider's makefile so its tests get built.Brett Chabot2010-04-051-0/+3
| | | | | | Bug 2562721 Change-Id: I7dfd73d4e30fcc5dc80c9ed024432c0b833a011a
* explicit set an "optional" tagJean-Baptiste Queru2010-01-051-0/+2
* auto import from //branches/cupcake/...@137197The Android Open Source Project2009-03-091-2/+0
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+11
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-11/+0
* Initial ContributionThe Android Open Source Project2008-10-211-0/+11