| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Bug 8765951
Change-Id: Id2ec25b90e5d08595af282969395450ca5496742
|
|
|
|
| |
Change-Id: I569e168267305939197e9af86f9598b17283a2c6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Ic57f0b66dd81da1b6acc7132f792b024e974f74c
|
|
|
|
|
|
| |
Bug 2562721
Change-Id: I7dfd73d4e30fcc5dc80c9ed024432c0b833a011a
|
| |
|
| |
|
| |
|
| |
|
|
|