Lines Matching full:download
4 <title>Download Provider</title>
9 <h1>Download Provider</h1>
37 <li> <a href="#ContentProvider_for_download_UI">ContentProvider for download UI</a>
81 …on_both_">Writing code that works on both the 1.0 and Cupcake versions of the download manager.</a>
138 <tr><td > DLMGR_A_1 </td><td > The Download Manager MUST satisfy the basic download needs of OTA Up…
139 <tr><td > DLMGR_A_2 </td><td > The Download Manager MUST satisfy the basic download needs of Market…
140 <tr><td > DLMGR_A_3 </td><td > The Download Manager MUST satisfy the basic download needs of Gmail.…
141 <tr><td > DLMGR_A_4 </td><td > The Download Manager MUST satisfy the basic download needs of the Br…
146 <tr><td > DLMGR_A_9 </td><td > The Download Manager SHOULD only download when using high-speed (3G/…
154 …d > DLMGR_C_1 </td><td > The Download Manager SHOULD resume downloads where the socket got cleanly…
155 <tr><td > DLMGR_C_2 </td><td > The Download Manager SHOULD retry/resume downloads instead of aborti…
156 <tr><td > DLMGR_C_3 </td><td > The Download Manager SHOULD randomize the retry delay </td><td > 200…
157 <tr><td > DLMGR_C_4 </td><td > The Download Manager SHOULD use the retry-after header (delta-second…
158 <tr><td > DLMGR_C_5 </td><td > The Download Manager MAY hide columns that aren't strictly necessary…
159 <tr><td > DLMGR_C_6 </td><td > The Download Manager SHOULD allow the initiating app to pause an ong…
160 <tr><td > DLMGR_C_7 </td><td > The Download Manager SHOULD not display multiple notification icons …
161 <tr><td > DLMGR_C_8 </td><td > The Download Manager SHOULD delete old files from /cache </td><td > …
162 <tr><td > DLMGR_C_9 </td><td > The Download Manager SHOULD handle redirects </td><td > 2009 </td><t…
188 operation of the download manager can't be removed.
202 …td><td > Extends <code>ContentObserver</code>, can be eliminated if the download manager can be re…
204 …</code> instead and merged into another class, can be eliminated if the download manager can be re…
205 …iminated as we will probably need one object that represents an ongoing download (unless the entir…
212 Security in the download provider is primarily enforced with two separate mechanisms:
215 <li> Column restrictions, such that only a small number of the download provider's columns can be r…
217 …s, such that only the application that initiated a download can access information about that down…
232 …y the icon matching the mime type. Intended to be visible by 3rd-party download UIs. <b>TODO</b> …
234 …ions and wants to distinguish between them. Also used internally by the download manager. No obvio…
239 …ress bar. No obvious security concern. Intended to be visible by 3rd-party download UIs. </td></tr>
241 <tr><td > <code>TITLE</code> </td><td > Intended to be visible by 3rd-party download UIs. <b>TODO</…
247 … mechanism relies on it to check duplicate downloads and to display the download that's currently …
264 <h3><a name="ContentProvider_for_download_UI"> </a> ContentProvider for download UI </h3>
266 …download control and for UI purposes (distinguishing them based on the permissions of the caller) …
268 …I channel), they just need to be duplicated for the case of the UI. The download provider also kno…
272 … at least because it touches a part of the code that is critical to the download manager security …
274 Getting rid of <code>OTHER_UID</code> would be beneficial for the download manager, but the existin…
278 It'd be good if the download manager could be built against the SDK as much as possible.
280 …s as of Nov 5 2008 that aren't in the current public API but that are used by the download manager:
299 …o perform reliable background downloads that implementing a centralized download manager is more c…
318 …/td><td > 1.0 <b>YES</b> </td><td > </td><td > Download Manager API </td><td > The download…
319 …nbsp; </td><td > Cookies </td><td > The download manager API allows applications to pass cookies t…
320 …d > 1.0 <b>YES</b> </td><td > </td><td > Security </td><td > The download manager provides …
321 …o Initiator </td><td > The download manager allows the application initiating a download to query …
322 …ancel by Initiator </td><td > The download manager allows the application initiating a download to…
323 …d > Notify Initiator </td><td > The download manager notifies the application initiating a downloa…
324 … <b>YES</b> </td><td > </td><td > Fire and Forget </td><td > The download manager does not …
325 …</td><td > The download manager allows the initiating application to optionally provide a user-rea…
326 … </td><td > The download manager allows the initiating application to optionally provide a user-re…
327 …Cupcake P3 <b>YES</b> </td><td > Restrict column access </td><td > The download provider doesn't …
328 … > Pause downloads </td><td > The download provider allows the application initiating a download t…
330 …1.0 <b>YES</b> </td><td > </td><td > HTTP Support </td><td > The download manager supports …
331 …<b>YES</b> </td><td > </td><td > Resume Downloads </td><td > The download manager resumes d…
332 … <b>YES</b> </td><td > </td><td > Flaky Downloads </td><td > The download manager has mecha…
333 …YES</b> </td><td > </td><td > Resume after Reboot </td><td > The download manager resumes d…
334 …download manager resumes incomplete downloads after the socket gets cleanly closed </td><td > This…
335 …<td > Cupcake P2 <b>YES</b> </td><td > Resume after 503 </td><td > The download manager resumes o…
336 …d > Cupcake P2 <b>YES</b> </td><td > Random retry delay </td><td > The download manager uses part…
337 …cake P2 <b>YES</b> </td><td > Retry-after delta-seconds </td><td > The download manager uses the …
338 …> </td><td > Cupcake P2 <b>YES</b> </td><td > Redirects </td><td > The download manager handles c…
341 …1.0 <b>YES</b> </td><td > </td><td > File Storage </td><td > The download manager stores th…
342 ….0 <b>YES</b> </td><td > </td><td > Max File Size </td><td > The download manager is able t…
343 …/td><td > </td><td > Destination File Permissions </td><td > The download manager restricts…
344 …S</b> </td><td > </td><td > Initiator File Access </td><td > The download manager allows th…
345 …> 1.0 <b>YES</b> </td><td > </td><td > File Types </td><td > The download manager does not …
346 …d > Cupcake P3 <b>NO</b> </td><td > Old Files in /cache </td><td > The download manager deletes o…
349 … </td><td > 1.0 <b>NO</b> </td><td > </td><td > Download Manager UI </td><td > The download…
350 …upcake P2 <b>NO</b> </td><td > Single Notification Icon </td><td > The download manager displays …
353 <tr><td > 5201 </td><td > 1.0 <b>YES</b> </td><td > </td><td > DRM </td><td > The download m…
365 | Download Manager | | Browser / Gmail / Market / Updater | | Viewer App |
387 Application Download Manager Viewer App
389 | initiate download | |
397 | query download | |
417 | intent "download complete" | |
429 | update download | |
443 | delete download | |
455 <li> <em>[reverse dependency]</em> GMail depends on the download manager to download attachments.
457 <li> <em>[reverse dependency]</em> OTA Update depends on the download manager to download system im…
459 <li> <em>[reverse dependency]</em> Vending Machine depends on the download manager to download cont…
461 <li> <em>[reverse dependency]</em> Browser depends on the download manager to download non-browsabl…
463 <li> Download Manager depends on a notification system to let the user know when downloads complete…
465 <li> Download Manager depends on a mechanism to share files with another app (letting apps access i…
467 <li> Download Manager depends on the ability to associate individual downloads with separate applic…
469 <li> Download Manager depends on an HTTP stack that predictably processes all relevant kinds of HTT…
471 <li> Download Manager depends on a connectivity manager that reports accurate information about the…
486 …d > Signature or System </td><td > Applications that want to access the Download Manager MUST have…
489 …_DOWNLOAD_COMPLETED_INTENTS"</code> </td><td > Signature </td><td > The download manager holds thi…
494 The primary interface that applications use to communicate with the download manager is exposed as …
502 …oads.CONTENT_URI</code> </td><td > <code>Uri.parse("content://downloads/download")</code> </td><td…
503 …code> </td><td > The URI of an individual download. <code><id></code> is the value of the <c…
543 …e to the internal cache partition. </td><td > The download can get deleted at any time by the down…
550 …<code>0</code> </td><td > The download is visible in download UIs, and it shows up in the notifica…
551 …<code>1</code> </td><td > The download is visible in download UIs, and it shows up in the notifica…
552 …LITY_HIDDEN</code> </td><td > <code>2</code> </td><td > The download is hidden from download UIs a…
559 <tr><td > <code>Downloads.CONTROL_RUN</code> </td><td > <code>0</code> </td><td > The download is a…
560 <tr><td > <code>Downloads.CONTROL_PAUSED</code> </td><td > <code>0</code> </td><td > The download i…
567 <tr><td > <code>Downloads.STATUS_PENDING</code> </td><td > <code>190</code> </td><td > Download has…
568 …ads.STATUS_PENDING_PAUSED</code> </td><td > <code>191</code> </td><td > Download hasn't started an…
569 <tr><td > <code>Downloads.STATUS_RUNNING</code> </td><td > <code>192</code> </td><td > Download has…
570 …ads.STATUS_RUNNING_PAUSED</code> </td><td > <code>193</code> </td><td > Download has started, but …
571 <tr><td > <code>Downloads.STATUS_SUCCESS</code> </td><td > <code>200</code> </td><td > Download com…
574 …download manager can't know the length of the download. </td><td > Because of the unreliability of…
575 …/code> </td><td > <code>412</code> </td><td > The download manager can't resume an interrupted dow…
576 …/code> </td><td > <code>490</code> </td><td > The download was canceled by a cause outside the Dow…
577 ….STATUS_UNKNOWN_ERROR</code> </td><td > <code>491</code> </td><td > The download was aborted becau…
578 …ads.STATUS_FILE_ERROR</code> </td><td > <code>492</code> </td><td > The download was aborted becau…
579 …td > The download was aborted because the server returned a redirect code 3xx that the download ma…
580 …RECTS</code> </td><td > <code>494</code> </td><td > The download was aborted because the download …
581 …d > <code>495</code> </td><td > The download was aborted because the server returned a status code…
582 …download was aborted because of an unrecoverable error trying to get data over the network. </td><…
583 …ng passed through, especially the higher values that would collide with download manager codes. </…
591 …int status)</code> </td><td > Returns whether the status code matches a download that hasn't compl…
592 …ads.isStatusSuspended(int status)</code> </td><td > Returns whether the download hasn't completed …
593 …loads.isStatusSuccess(int status)</code> </td><td > Returns whether the download successfully comp…
594 …wnloads.isStatusError(int status)</code> </td><td > Returns whether the download failed. </td></tr>
595 …s.isStatusClientError(int status)</code> </td><td > Returns whether the download failed because of…
596 …s.isStatusServerError(int status)</code> </td><td > Returns whether the download failed because of…
597 …ads.isStatusCompleted(int status)</code> </td><td > Returns whether the download completed (with n…
602 The download manager sends an intent broadcast <code>Downloads.DOWNLOAD_COMPLETED_ACTION</code> whe…
604 …download manager sends an intent broadcast <code>Downloads.NOTIFICATION_CLICKED_ACTION</code> when…
606 The download manager starts an activity with <code>Intent.ACTION_VIEW</code> when the user clicks a…
631 … CONTROL column. <code>Downloads.CONTROL_RUN</code> (Default) makes the download go, <code>Downloa…
633 <li> New column APP_DATA that is untouched by the download manager, used to store app-specific info…
647 …"> </a> Writing code that works on both the 1.0 and Cupcake versions of the download manager. </h4>
677 …the download manager APIs weren't meant to be backward compatible yet. As such it's impossible to …
681 …ames and content URIs, exposing separate columns for situations where a download can be accessed b…
742 …download manager is built primarily around a ContentProvider and a Service. The ContentProvider pa…
744 … database. The biggest difference between the download provider and a "plain" provider is that the…
746 …e object exists strictly so that the system knows how to prioritize the download manager's process…
748 …download manager starts the service whenever a change is made that can start or restart a download…
753 …download manager can resume downloads that were interrupted when the system was turned off) or whe…
771 …download (or, more precisely, for a single HTTP transaction). Each DownloadThread is backed by a D…
834 <li> Expose Download Manager to 3rd party apps - security, robustness .
846 <li> Download files to app-provided content provider .
856 <li> Clicking the notification for a completed download should go through the initiating app instea…
858 …erence between pending_network (waiting for network) and running_paused (user paused the download).
874 <li> Give applications the ability to download multiple files into multiple set locations as if the…
876 <li> Give applications the ability to download files only if they haven't been already downloaded.
878 <li> Give applications the ability to download files that have already been downloaded only if ther…
896 <li> Allow app to specify length of download (full trust, or trust-and-verify).
902 <li> Support plugins for additional protocols and download descriptors.
911 <li> Fail download immediately on authoritative unresolved hostnames .
913 <li> The download manager should use the browser's user-agent by default.
915 <li> Redirect with HTTP Refresh headers (download current and target content with non-zero refresh).
984 <li> Download anything if an app supports application/octet-stream.
986 <li> Download any text/* if an application supports text/plain.
1009 <li> Fall back to cell when wifi is available but download doesn't proceed
1033 <li> Download files at night when the user is not explicitly waiting.
1065 <li> <em>[DownloadThread.java]</em> When download is restarted and MIME type wasn't provided by app…
1067 …tched file data sizes (between database and filesystem) when resuming a download, or with missing …
1079 <li> Wait until file scanned to notify that download is completed.
1085 <li> Pulling the battery during a download corrupts files (lots of zeros written) .
1087 <li> Should keep a bit of "emergency" database storage to initiate the download of an OTA update, i…
1091 <li> Use the event log to log download progress.
1120 <li> <em>[DownloadProvider.java]</em> Investigate whether the download provider should aggressively…
1130 <li> <em>[DownloadService.java]</em> Check for errors when spawning download threads.
1132 <li> <em>[DownloadService.java]</em> Potential race condition when a download completes at the same…
1156 <li> Use a single HTTP client for the entire download manager.
1172 <li> Explicitly specify which interface to use for a given download (to get better sync with the co…
1198 <li> Move download UI outside of browser, so that browser doesn't need to access the provider.
1202 … handoff of browser-initiated downloads (download in browser, browser update download UI, hand ove…