Home
last modified time | relevance | path

Searched full:download (Results 1 – 25 of 9512) sorted by relevance

12345678910>>...381

/aosp_15_r20/out/soong/.intermediates/external/mobile-data-download/mobile_data_downloader_lib/android_common_apex30/javac/
Dmobile_data_downloader_lib.jar.rsp1download/java/com/google/android/libraries/mobiledatadownload/AccountSource.java external/mobile-d…
/aosp_15_r20/out/soong/.intermediates/external/mobile-data-download/mobile_data_downloader_lib/android_common_apex33/javac/
Dmobile_data_downloader_lib.jar.rsp1download/java/com/google/android/libraries/mobiledatadownload/AccountSource.java external/mobile-d…
/aosp_15_r20/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/main/java/com/google/android/exoplayer2/offline/
H A DDownloadManager.java18 import static com.google.android.exoplayer2.offline.Download.FAILURE_REASON_NONE;
19 import static com.google.android.exoplayer2.offline.Download.FAILURE_REASON_UNKNOWN;
20 import static com.google.android.exoplayer2.offline.Download.STATE_COMPLETED;
21 import static com.google.android.exoplayer2.offline.Download.STATE_DOWNLOADING;
22 import static com.google.android.exoplayer2.offline.Download.STATE_FAILED;
23 import static com.google.android.exoplayer2.offline.Download.STATE_QUEUED;
24 import static com.google.android.exoplayer2.offline.Download.STATE_REMOVING;
25 import static com.google.android.exoplayer2.offline.Download.STATE_RESTARTING;
26 import static com.google.android.exoplayer2.offline.Download.STATE_STOPPED;
27 import static com.google.android.exoplayer2.offline.Download.STOP_REASON_NONE;
[all …]
H A DDefaultDownloadIndex.java33 import com.google.android.exoplayer2.offline.Download.FailureReason;
34 import com.google.android.exoplayer2.offline.Download.State;
41 /** A {@link DownloadIndex} that uses SQLite to persist {@link Download Downloads}. */
82 COLUMN_STATE + " = " + Download.STATE_DOWNLOADING;
84 getStateQuery(Download.STATE_COMPLETED, Download.STATE_FAILED);
149 * Creates an instance that stores the {@link Download Downloads} in an SQLite database provided
155 * <p>Applications that only have one download index may use this constructor. Applications that
156 * have multiple download indices should call {@link #DefaultDownloadIndex(DatabaseProvider,
166 * Creates an instance that stores the {@link Download Downloads} in an SQLite database provided
182 public Download getDownload(String id) throws DatabaseIOException { in getDownload()
[all …]
/aosp_15_r20/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/offline/
H A DDownloadManager.java18 import static com.google.android.exoplayer2.offline.Download.FAILURE_REASON_NONE;
19 import static com.google.android.exoplayer2.offline.Download.FAILURE_REASON_UNKNOWN;
20 import static com.google.android.exoplayer2.offline.Download.STATE_COMPLETED;
21 import static com.google.android.exoplayer2.offline.Download.STATE_DOWNLOADING;
22 import static com.google.android.exoplayer2.offline.Download.STATE_FAILED;
23 import static com.google.android.exoplayer2.offline.Download.STATE_QUEUED;
24 import static com.google.android.exoplayer2.offline.Download.STATE_REMOVING;
25 import static com.google.android.exoplayer2.offline.Download.STATE_RESTARTING;
26 import static com.google.android.exoplayer2.offline.Download.STATE_STOPPED;
27 import static com.google.android.exoplayer2.offline.Download.STOP_REASON_NONE;
[all …]
H A DDefaultDownloadIndex.java33 import com.google.android.exoplayer2.offline.Download.FailureReason;
34 import com.google.android.exoplayer2.offline.Download.State;
41 /** A {@link DownloadIndex} that uses SQLite to persist {@link Download Downloads}. */
82 COLUMN_STATE + " = " + Download.STATE_DOWNLOADING;
84 getStateQuery(Download.STATE_COMPLETED, Download.STATE_FAILED);
149 * Creates an instance that stores the {@link Download Downloads} in an SQLite database provided
155 * <p>Applications that only have one download index may use this constructor. Applications that
156 * have multiple download indices should call {@link #DefaultDownloadIndex(DatabaseProvider,
166 * Creates an instance that stores the {@link Download Downloads} in an SQLite database provided
182 public Download getDownload(String id) throws DatabaseIOException { in getDownload()
[all …]
/aosp_15_r20/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DPublicApiFunctionalTest.java112 Download download = enqueueRequest(getRequest()); in testBasicRequest() local
114 download.getLongField(DownloadManager.COLUMN_STATUS)); in testBasicRequest()
116 download.getStringField(DownloadManager.COLUMN_URI)); in testBasicRequest()
117 assertEquals(download.mId, download.getLongField(DownloadManager.COLUMN_ID)); in testBasicRequest()
119 download.getLongField(DownloadManager.COLUMN_LAST_MODIFIED_TIMESTAMP)); in testBasicRequest()
122 download.runUntilStatus(DownloadManager.STATUS_SUCCESSFUL); in testBasicRequest()
127 Uri localUri = Uri.parse(download.getStringField(DownloadManager.COLUMN_LOCAL_URI)); in testBasicRequest()
130 assertEquals("text/plain", download.getStringField(DownloadManager.COLUMN_MEDIA_TYPE)); in testBasicRequest()
133 assertEquals(size, download.getLongField(DownloadManager.COLUMN_TOTAL_SIZE_BYTES)); in testBasicRequest()
134 assertEquals(size, download.getLongField(DownloadManager.COLUMN_BYTES_DOWNLOADED_SO_FAR)); in testBasicRequest()
[all …]
/aosp_15_r20/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/test/java/com/google/android/exoplayer2/offline/
H A DDefaultDownloadIndexTest.java18 import static com.google.android.exoplayer2.offline.Download.FAILURE_REASON_NONE;
19 import static com.google.android.exoplayer2.offline.Download.FAILURE_REASON_UNKNOWN;
20 import static com.google.android.exoplayer2.offline.Download.STATE_DOWNLOADING;
21 import static com.google.android.exoplayer2.offline.Download.STATE_STOPPED;
22 import static com.google.android.exoplayer2.offline.Download.STOP_REASON_NONE;
76 Download download = new DownloadBuilder(id).build(); in addAndGetDownload_nonExistingId_returnsTheSameDownload() local
78 downloadIndex.putDownload(download); in addAndGetDownload_nonExistingId_returnsTheSameDownload()
79 Download readDownload = downloadIndex.getDownload(id); in addAndGetDownload_nonExistingId_returnsTheSameDownload()
81 assertEqual(readDownload, download); in addAndGetDownload_nonExistingId_returnsTheSameDownload()
90 Download download = in addAndGetDownload_existingId_returnsUpdatedDownload() local
[all …]
H A DDownloadManagerTest.java55 /** The minimum number of times a download must be retried before failing. */
110 // The download will be canceled by the remove request. in removeRequest_cancelsAndRemovesDownload()
115 // The download will be removed. in removeRequest_cancelsAndRemovesDownload()
178 // should be able to fail (MIN_RETRY_COUNT - 1) more times and then still complete the download in download_retryMakesProgress_resetsRetryCount()
233 // The download should then start and complete. in download_WhenRemovalInProgress_doesNotCancelRemoval()
269 // Finish one download. in removeAllDownloads_removesAllDownloads()
277 // Start a second download. in removeAllDownloads_removesAllDownloads()
359 // The second download should be queued and the first one should be able to complete. in downloads_withDifferentIds_maxDownloadsIsOne_executedSequentially()
365 // The second download can start once the first one has completed. in downloads_withDifferentIds_maxDownloadsIsOne_executedSequentially()
383 // Complete a download so that we can remove it. in downloadAndRemove_withDifferentIds_maxDownloadsIsOne_executeInParallel()
[all …]
/aosp_15_r20/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/test/java/com/google/android/exoplayer2/offline/
H A DDefaultDownloadIndexTest.java18 import static com.google.android.exoplayer2.offline.Download.FAILURE_REASON_NONE;
19 import static com.google.android.exoplayer2.offline.Download.FAILURE_REASON_UNKNOWN;
20 import static com.google.android.exoplayer2.offline.Download.STATE_DOWNLOADING;
21 import static com.google.android.exoplayer2.offline.Download.STATE_STOPPED;
22 import static com.google.android.exoplayer2.offline.Download.STOP_REASON_NONE;
76 Download download = new DownloadBuilder(id).build(); in addAndGetDownload_nonExistingId_returnsTheSameDownload() local
78 downloadIndex.putDownload(download); in addAndGetDownload_nonExistingId_returnsTheSameDownload()
79 Download readDownload = downloadIndex.getDownload(id); in addAndGetDownload_nonExistingId_returnsTheSameDownload()
81 assertEqual(readDownload, download); in addAndGetDownload_nonExistingId_returnsTheSameDownload()
90 Download download = in addAndGetDownload_existingId_returnsUpdatedDownload() local
[all …]
H A DDownloadManagerTest.java55 /** The minimum number of times a download must be retried before failing. */
110 // The download will be canceled by the remove request. in removeRequest_cancelsAndRemovesDownload()
115 // The download will be removed. in removeRequest_cancelsAndRemovesDownload()
178 // should be able to fail (MIN_RETRY_COUNT - 1) more times and then still complete the download in download_retryMakesProgress_resetsRetryCount()
233 // The download should then start and complete. in download_WhenRemovalInProgress_doesNotCancelRemoval()
269 // Finish one download. in removeAllDownloads_removesAllDownloads()
277 // Start a second download. in removeAllDownloads_removesAllDownloads()
359 // The second download should be queued and the first one should be able to complete. in downloads_withDifferentIds_maxDownloadsIsOne_executedSequentially()
365 // The second download can start once the first one has completed. in downloads_withDifferentIds_maxDownloadsIsOne_executedSequentially()
383 // Complete a download so that we can remove it. in downloadAndRemove_withDifferentIds_maxDownloadsIsOne_executeInParallel()
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/go/testdata/script/
Dmod_download.txt3 # download with version should print nothing.
5 go mod download rsc.io/[email protected]
8 exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.0.info
9 exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.0.mod
10 exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.0.zip
11 ! exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.2.info
12 ! exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.2.mod
14 # download of an invalid path should report the error
16 ! go mod download this.domain.is.invalid/[email protected]
18 ! go mod download -json this.domain.is.invalid/[email protected]
[all …]
Dreuse_git.txt8 # go mod download with the pseudo-version should invoke git but not have a TagSum or Ref.
9 go mod download -x -json vcs-test.golang.org/git/[email protected]
19 # go mod download vcstest/hello should invoke git, print origin info
20 go mod download -x -json vcs-test.golang.org/git/hello.git@latest
35 go mod download -x -json vcs-test.golang.org/git/[email protected]
40 # go mod download vcstest/hello@hash needs to check TagSum to find pseudoversion base.
41 go mod download -x -json vcs-test.golang.org/git/hello.git@fc3a09f3dc5c
51 # go mod download vcstest/hello/v9 should fail, still print origin info
52 ! go mod download -x -json vcs-test.golang.org/git/hello.git/v9@latest
62 # go mod download vcstest/hello/sub/v9 should also fail, print origin info with TagPrefix
[all …]
/aosp_15_r20/packages/providers/DownloadProvider/res/values/
Dstrings.xml18 <!-- This is the name of the Download Manager application. -->
19 <string name="app_label">Download Manager</string>
25 Android Download Manager. It is displayed as part of the description
27 This specific permission controls access to the Download Manager by
29 <string name="permlab_downloadManager">Access download manager.</string>
31 Android Download Manager. It is displayed as part of the description
33 This specific permission controls access to the Download Manager by
36 access the download manager and to use it to download files.
41 Android Download Manager. It is displayed as part of the description
44 dangerous) features from the Download Manager that are needed by
[all …]
/aosp_15_r20/packages/apps/Messaging/src/com/android/messaging/mmslib/
DDownloads.java25 * The Download Manager
35 * Exposes constants used to interact with the download manager's
45 * The permission to access the download manager
50 * The permission to access the download manager's advanced functions
62 * The permission to directly access the download manager's cache
68 * The permission to send broadcasts on download completion
74 * The permission to download files to the cache partition that won't be automatically
81 * The permission to download files without any system notification being shown.
110 * Broadcast Action: this is sent by the download manager to the app
111 * that had initiated a download when that download completes. The
[all …]
/aosp_15_r20/frameworks/base/core/java/android/provider/
H A DDownloads.java27 * The Download Manager
37 * Exposes constants used to interact with the download manager's
49 * The permission to access the download manager
54 * The permission to access the download manager's advanced functions
66 * The permission to directly access the download manager's cache
72 * The permission to send broadcasts on download completion
78 * The permission to download files to the cache partition that won't be automatically
85 * The permission to download files without any system notification being shown.
117 * Broadcast Action: this is sent by the download manager to the app
118 * that had initiated a download when that download completes. The
[all …]
/aosp_15_r20/packages/providers/DownloadProvider/docs/
Dindex.html4 <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…
[all …]
/aosp_15_r20/external/bazelbuild-rules_rust/crate_universe/3rdparty/crates/
H A Ddefs.bzl547 urls = ["https://static.crates.io/crates/adler/1.0.2/download"],
557 urls = ["https://static.crates.io/crates/aho-corasick/1.0.2/download"],
567 urls = ["https://static.crates.io/crates/android-tzdata/0.1.1/download"],
577 urls = ["https://static.crates.io/crates/android_system_properties/0.1.5/download"],
587 urls = ["https://static.crates.io/crates/anstream/0.3.2/download"],
597 urls = ["https://static.crates.io/crates/anstyle/1.0.1/download"],
607 urls = ["https://static.crates.io/crates/anstyle-parse/0.2.1/download"],
617 urls = ["https://static.crates.io/crates/anstyle-query/1.0.0/download"],
627 urls = ["https://static.crates.io/crates/anstyle-wincon/1.0.1/download"],
637 urls = ["https://static.crates.io/crates/anyhow/1.0.75/download"],
[all …]
/aosp_15_r20/external/bazelbuild-rules_rust/wasm_bindgen/3rdparty/crates/
H A Ddefs.bzl467 urls = ["https://static.crates.io/crates/adler/1.0.2/download"],
477 urls = ["https://static.crates.io/crates/aho-corasick/1.0.2/download"],
487 urls = ["https://static.crates.io/crates/alloc-no-stdlib/2.0.4/download"],
497 urls = ["https://static.crates.io/crates/alloc-stdlib/0.2.2/download"],
507 urls = ["https://static.crates.io/crates/android-tzdata/0.1.1/download"],
517 urls = ["https://static.crates.io/crates/android_system_properties/0.1.5/download"],
527 urls = ["https://static.crates.io/crates/anyhow/1.0.71/download"],
537 urls = ["https://static.crates.io/crates/ascii/1.1.0/download"],
547 urls = ["https://static.crates.io/crates/assert_cmd/1.0.8/download"],
557 urls = ["https://static.crates.io/crates/atty/0.2.14/download"],
[all …]
/aosp_15_r20/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/docs/
H A Ddownloading-media.md5 ExoPlayer provides functionality to download media for offline playback. In most
20 on requirements such as network connectivity, and so on. To download the
68 // A download cache should not evict media, so should use a NoopCacheEvictor.
77 // Choose an executor for downloading data. Using Runnable::run will cause each download task to
78 // download data on its own thread. Passing an executor that uses multiple threads will speed up
79 // download tasks that can be split into smaller parts for parallel execution. Applications that
83 // Create the download manager.
91 // Optionally, setters can be called to configure the download manager.
99 The example in the demo app also imports download state from legacy `ActionFile`
104 ## Adding a download ##
[all …]
/aosp_15_r20/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/docs/
H A Ddownloading-media.md5 ExoPlayer provides functionality to download media for offline playback. In most
20 on requirements such as network connectivity, and so on. To download the
68 // A download cache should not evict media, so should use a NoopCacheEvictor.
77 // Choose an executor for downloading data. Using Runnable::run will cause each download task to
78 // download data on its own thread. Passing an executor that uses multiple threads will speed up
79 // download tasks that can be split into smaller parts for parallel execution. Applications that
83 // Create the download manager.
91 // Optionally, setters can be called to configure the download manager.
99 ## Adding a download ##
101 To add a download you need to create a `DownloadRequest` and send it to your
[all …]
/aosp_15_r20/packages/providers/DownloadProvider/ui/res/values/
Dstrings.xml28 <!-- Default title for an item in the download list for which no title was provided by the app.
39 <!-- Status indicating that the download has been queued to start in the future. Appears for an
40 individual item in the download list. [CHAR LIMIT=11] -->
43 individual item in the download list. [CHAR LIMIT=11] -->
45 <!-- Status indicating that the download has completed successfully. Appears for an individual
46 item in the download list. [CHAR LIMIT=11] -->
48 <!-- Status indicating that the download has ended without completing successfully. Appears for
49 an individual item in the download list. [CHAR LIMIT=11] -->
54 <!-- Title of dialog that is shown when the user clicks a download for which no file is
55 available, either because the download hasn't started or because the download failed
[all …]
/aosp_15_r20/external/bazelbuild-rules_rust/examples/crate_universe_unnamed/vendor_remote_pkgs/crates/
H A Ddefs.bzl441 urls = ["https://static.crates.io/crates/addr2line/0.22.0/download"],
451 urls = ["https://static.crates.io/crates/adler/1.0.2/download"],
461 urls = ["https://static.crates.io/crates/async-trait/0.1.80/download"],
471 urls = ["https://static.crates.io/crates/autocfg/1.3.0/download"],
481 urls = ["https://static.crates.io/crates/axum/0.4.8/download"],
491 urls = ["https://static.crates.io/crates/axum-core/0.1.2/download"],
501 urls = ["https://static.crates.io/crates/backtrace/0.3.73/download"],
511 urls = ["https://static.crates.io/crates/bitflags/1.3.2/download"],
521 urls = ["https://static.crates.io/crates/bitflags/2.6.0/download"],
531 urls = ["https://static.crates.io/crates/bytes/1.6.0/download"],
[all …]
/aosp_15_r20/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
H A DDownloadManagerTestApp.java43 // Wait until download manager actually start downloading something
63 assertNotNull("download url is null", externalDownloadUriValue); in setUp()
66 assertNotNull("large download url is null", externalLargeDownloadUriValue); in setUp()
83 * Gets the external URL of the file to download
85 * @return the Uri of the external file to download
92 * Gets the path to the file that flags that a download has started. The file contains the
93 * DownloadManager id of the download being trackted between reboot sessions.
95 * @return The path of the file tracking that a download has started
118 * Initiates a download.
120 * Queues up a download to the download manager, and saves the DownloadManager's assigned
[all …]
/aosp_15_r20/external/bazelbuild-rules_rust/examples/crate_universe/vendor_remote_pkgs/crates/
H A Ddefs.bzl438 urls = ["https://static.crates.io/crates/addr2line/0.22.0/download"],
448 urls = ["https://static.crates.io/crates/adler/1.0.2/download"],
458 urls = ["https://static.crates.io/crates/async-trait/0.1.81/download"],
468 urls = ["https://static.crates.io/crates/autocfg/1.3.0/download"],
478 urls = ["https://static.crates.io/crates/axum/0.4.8/download"],
488 urls = ["https://static.crates.io/crates/axum-core/0.1.2/download"],
498 urls = ["https://static.crates.io/crates/backtrace/0.3.73/download"],
508 urls = ["https://static.crates.io/crates/bitflags/1.3.2/download"],
518 urls = ["https://static.crates.io/crates/bitflags/2.6.0/download"],
528 urls = ["https://static.crates.io/crates/bytes/1.7.1/download"],
[all …]

12345678910>>...381