Home
last modified time | relevance | path

Searched refs:download (Results 1 – 25 of 1262) sorted by relevance

12345678910>>...51

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/
DDownloadManager.java95 default void onDownloadChanged(DownloadManager downloadManager, Download download) {} in onDownloadChanged() argument
103 default void onDownloadRemoved(DownloadManager downloadManager, Download download) {} in onDownloadRemoved() argument
599 Download updatedDownload = update.download; in onDownloadUpdate()
626 Download download, DownloadRequest request, int stopReason, long nowMs) { in mergeRequest() argument
627 @Download.State int state = download.state; in mergeRequest()
632 state == STATE_REMOVING || download.isTerminalState() ? nowMs : download.startTimeMs; in mergeRequest()
641 download.request.copyWithMergedRequest(request), in mergeRequest()
799 @Nullable Download download = getDownload(id, /* loadFromIndex= */ false); in setStopReason() local
800 if (download != null) { in setStopReason()
801 setStopReason(download, stopReason); in setStopReason()
[all …]
DActionFileUpgradeUtil.java104 @Nullable Download download = downloadIndex.getDownload(request.id); in mergeRequest() local
105 if (download != null) { in mergeRequest()
106 download = DownloadManager.mergeRequest(download, request, download.stopReason, nowMs); in mergeRequest()
108 download = in mergeRequest()
118 downloadIndex.putDownload(download); in mergeRequest()
DDefaultDownloadIndex.java190 public void putDownload(Download download) throws DatabaseIOException { in putDownload() argument
193 values.put(COLUMN_ID, download.request.id); in putDownload()
194 values.put(COLUMN_TYPE, download.request.type); in putDownload()
195 values.put(COLUMN_URI, download.request.uri.toString()); in putDownload()
196 values.put(COLUMN_STREAM_KEYS, encodeStreamKeys(download.request.streamKeys)); in putDownload()
197 values.put(COLUMN_CUSTOM_CACHE_KEY, download.request.customCacheKey); in putDownload()
198 values.put(COLUMN_DATA, download.request.data); in putDownload()
199 values.put(COLUMN_STATE, download.state); in putDownload()
200 values.put(COLUMN_START_TIME_MS, download.startTimeMs); in putDownload()
201 values.put(COLUMN_UPDATE_TIME_MS, download.updateTimeMs); in putDownload()
[all …]
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/offline/
DDefaultDownloadIndexTest.java60 Download download = new DownloadBuilder(id).build(); in addAndGetDownload_nonExistingId_returnsTheSameDownload() local
62 downloadIndex.putDownload(download); in addAndGetDownload_nonExistingId_returnsTheSameDownload()
65 assertEqual(readDownload, download); in addAndGetDownload_nonExistingId_returnsTheSameDownload()
74 Download download = in addAndGetDownload_existingId_returnsUpdatedDownload() local
92 downloadIndex.putDownload(download); in addAndGetDownload_existingId_returnsUpdatedDownload()
96 assertEqual(readDownload, download); in addAndGetDownload_existingId_returnsUpdatedDownload()
102 Download download = new DownloadBuilder(id).build(); in releaseAndRecreateDownloadIndex_returnsTheSameDownload() local
103 downloadIndex.putDownload(download); in releaseAndRecreateDownloadIndex_returnsTheSameDownload()
108 assertEqual(readDownload, download); in releaseAndRecreateDownloadIndex_returnsTheSameDownload()
119 Download download = new DownloadBuilder(id).build(); in removeDownload_existingId_getDownloadReturnsNull() local
[all …]
DActionFileUpgradeUtilTest.java150 Download download = downloadIndex.getDownload(request2.id); in mergeRequest_existingDownload_createsMergedDownload() local
151 assertThat(download).isNotNull(); in mergeRequest_existingDownload_createsMergedDownload()
152 assertThat(download.request.type).isEqualTo(request2.type); in mergeRequest_existingDownload_createsMergedDownload()
153 assertThat(download.request.customCacheKey).isEqualTo(request2.customCacheKey); in mergeRequest_existingDownload_createsMergedDownload()
154 assertThat(download.request.data).isEqualTo(request2.data); in mergeRequest_existingDownload_createsMergedDownload()
155 assertThat(download.request.uri).isEqualTo(request2.uri); in mergeRequest_existingDownload_createsMergedDownload()
156 assertThat(download.request.streamKeys).containsExactly(streamKey1, streamKey2); in mergeRequest_existingDownload_createsMergedDownload()
157 assertThat(download.state).isEqualTo(Download.STATE_QUEUED); in mergeRequest_existingDownload_createsMergedDownload()
198 Download download = downloadIndex.getDownload(request.id); in assertDownloadIndexContainsRequest() local
199 assertThat(download.request).isEqualTo(request); in assertDownloadIndexContainsRequest()
[all …]
DDownloadManagerTest.java489 Download download = downloadBuilder.build(); in mergeRequest_removing_becomesRestarting() local
492 DownloadManager.mergeRequest(download, downloadRequest, download.stopReason, NOW_MS); in mergeRequest_removing_becomesRestarting()
506 Download download = downloadBuilder.build(); in mergeRequest_failed_becomesQueued() local
509 DownloadManager.mergeRequest(download, downloadRequest, download.stopReason, NOW_MS); in mergeRequest_failed_becomesQueued()
527 Download download = downloadBuilder.build(); in mergeRequest_stopped_staysStopped() local
530 DownloadManager.mergeRequest(download, downloadRequest, download.stopReason, NOW_MS); in mergeRequest_stopped_staysStopped()
532 assertEqualIgnoringUpdateTime(mergedDownload, download); in mergeRequest_stopped_staysStopped()
542 Download download = downloadBuilder.build(); in mergeRequest_completedWithStopReason_becomesStopped() local
545 DownloadManager.mergeRequest(download, downloadRequest, download.stopReason, NOW_MS); in mergeRequest_completedWithStopReason_becomesStopped()
587 private static void assertEqualIgnoringUpdateTime(Download download, Download that) { in assertEqualIgnoringUpdateTime() argument
[all …]
/external/rust/crates/grpcio-sys/grpc/bazel/
Dupdate_mirror.sh55 upload github.com/bazelbuild/bazel/releases/download/1.0.0/bazel-1.0.0-linux-x86_64
56 upload github.com/bazelbuild/bazel/releases/download/1.0.0/bazel-1.0.0-darwin-x86_64
57 upload github.com/bazelbuild/bazel/releases/download/1.0.0/bazel-1.0.0-windows-x86_64.exe
59 upload github.com/bazelbuild/bazel/releases/download/2.2.0/bazel-2.2.0-linux-x86_64
60 upload github.com/bazelbuild/bazel/releases/download/2.2.0/bazel-2.2.0-darwin-x86_64
61 upload github.com/bazelbuild/bazel/releases/download/2.2.0/bazel-2.2.0-windows-x86_64.exe
63 upload github.com/bazelbuild/bazel/releases/download/3.7.1/bazel-3.7.1-linux-x86_64
64 upload github.com/bazelbuild/bazel/releases/download/3.7.1/bazel-3.7.1-darwin-x86_64
65 upload github.com/bazelbuild/bazel/releases/download/3.7.1/bazel-3.7.1-windows-x86_64.exe
/external/tensorflow/tensorflow/lite/g3doc/guide/
Dhosted_models.md36 …xiv.org/pdf/1712.05877.pdf), [tflite&pb](https://storage.googleapis.com/download.tensorflow.org/mo…
37 …xiv.org/pdf/1712.05877.pdf), [tflite&pb](https://storage.googleapis.com/download.tensorflow.org/mo…
38 …xiv.org/pdf/1712.05877.pdf), [tflite&pb](https://storage.googleapis.com/download.tensorflow.org/mo…
39 …xiv.org/pdf/1712.05877.pdf), [tflite&pb](https://storage.googleapis.com/download.tensorflow.org/mo…
40 …xiv.org/pdf/1712.05877.pdf), [tflite&pb](https://storage.googleapis.com/download.tensorflow.org/mo…
41 …xiv.org/pdf/1712.05877.pdf), [tflite&pb](https://storage.googleapis.com/download.tensorflow.org/mo…
42 …xiv.org/pdf/1712.05877.pdf), [tflite&pb](https://storage.googleapis.com/download.tensorflow.org/mo…
43 …xiv.org/pdf/1712.05877.pdf), [tflite&pb](https://storage.googleapis.com/download.tensorflow.org/mo…
44 …xiv.org/pdf/1712.05877.pdf), [tflite&pb](https://storage.googleapis.com/download.tensorflow.org/mo…
45 …xiv.org/pdf/1712.05877.pdf), [tflite&pb](https://storage.googleapis.com/download.tensorflow.org/mo…
[all …]
/external/exoplayer/tree/demos/main/src/main/java/com/google/android/exoplayer2/demo/
DDownloadTracker.java88 Download download = downloads.get(checkNotNull(mediaItem.playbackProperties).sourceUri); in isDownloaded() local
89 return download != null && download.state != Download.STATE_FAILED; in isDownloaded()
93 Download download = downloads.get(uri); in getDownloadRequest() local
94 return download != null && download.state != Download.STATE_FAILED ? download.request : null; in getDownloadRequest()
99 Download download = downloads.get(checkNotNull(mediaItem.playbackProperties).sourceUri); in toggleDownload() local
100 if (download != null) { in toggleDownload()
102 context, DemoDownloadService.class, download.request.id, /* foreground= */ false); in toggleDownload()
116 Download download = loadedDownloads.getDownload(); in loadDownloads() local
117 downloads.put(download.request.uri, download); in loadDownloads()
151 @NonNull DownloadManager downloadManager, @NonNull Download download) { in onDownloadChanged() argument
[all …]
DDemoDownloadService.java97 public void onDownloadChanged(@NonNull DownloadManager manager, @NonNull Download download) { in onDownloadChanged() argument
99 if (download.state == Download.STATE_COMPLETED) { in onDownloadChanged()
104 Util.fromUtf8Bytes(download.request.data)); in onDownloadChanged()
105 } else if (download.state == Download.STATE_FAILED) { in onDownloadChanged()
110 Util.fromUtf8Bytes(download.request.data)); in onDownloadChanged()
/external/python/apitools/apitools/base/py/
Dtransfer_test.py56 download = transfer.Download.FromStream(
59 download._Download__ComputeEndByte(0, end=50))
62 download = transfer.Download.FromStream(six.StringIO())
64 download._Download__ComputeEndByte(0, use_chunks=False))
68 download = transfer.Download.FromStream(
73 download._Download__ComputeEndByte(0, end=end,
78 download = transfer.Download.FromStream(six.StringIO())
79 default_chunksize = download.chunksize
81 download.chunksize = chunksize
84 download.chunksize + start - 1,
[all …]
/external/python/google-api-python-client/tests/
Dtest_http.py463 download = MediaIoBaseDownload(fd=self.fd, request=self.request, chunksize=3)
465 self.assertEqual(self.fd, download._fd)
466 self.assertEqual(3, download._chunksize)
467 self.assertEqual(0, download._progress)
468 self.assertEqual(None, download._total_size)
469 self.assertEqual(False, download._done)
470 self.assertEqual(self.request.uri, download._uri)
472 status, done = download.next_chunk()
476 self.assertEqual(3, download._progress)
477 self.assertEqual(5, download._total_size)
[all …]
/external/libtextclassifier/native/models/
Dupdate.sh10 download() { function
20 download $ANNOTATOR_BASE_URL
21 download $ACTIONS_BASE_URL
22 download $LANGID_BASE_URL
/external/grpc-grpc/tools/interop_matrix/patches/csharp_v1.0.1/
Dgit_repo.patch45 -RUN echo "deb http://download.mono-project.com/repo/debian wheezy main" | tee /etc/apt/sources.lis…
47 +RUN echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.6 main" | tee /etc/a…
48 …RUN echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" | tee -a /…
49 …RUN echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main" | tee -a …
50 -RUN echo "deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | tee -a /e…
63 -RUN echo "deb http://download.mono-project.com/repo/debian wheezy main" | tee /etc/apt/sources.lis…
65 +RUN echo "deb http://download.mono-project.com/repo/debian jessie main" | tee /etc/apt/sources.lis…
66 …RUN echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" | tee -a /…
67 …RUN echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main" | tee -a …
68 -RUN echo "deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | tee -a /e…
[all …]
/external/rust/crates/grpcio-sys/grpc/tools/interop_matrix/patches/csharp_v1.0.1/
Dgit_repo.patch45 -RUN echo "deb http://download.mono-project.com/repo/debian wheezy main" | tee /etc/apt/sources.lis…
47 +RUN echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.6 main" | tee /etc/a…
48 …RUN echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" | tee -a /…
49 …RUN echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main" | tee -a …
50 -RUN echo "deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | tee -a /e…
63 -RUN echo "deb http://download.mono-project.com/repo/debian wheezy main" | tee /etc/apt/sources.lis…
65 +RUN echo "deb http://download.mono-project.com/repo/debian jessie main" | tee /etc/apt/sources.lis…
66 …RUN echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" | tee -a /…
67 …RUN echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main" | tee -a …
68 -RUN echo "deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | tee -a /e…
[all …]
/external/ImageMagick/
DQuickStart.txt3 of ImageMagick download sites. Those who want to build ImageMagick from source
10 https://download.imagemagick.org/ImageMagick/download/binaries
110 …https://download.imagemagick.org/download/ImageMagick/binaries/ImageMagick-7.0.11-15-Q16-windows-d…
111 …https://download.imagemagick.org/download/ImageMagick/binaries/ImageMagick-7.0.11-15-Q16-windows-s…
112 …https://download.imagemagick.org/download/ImageMagick/binaries/ImageMagick-7.0.11-15-Q8-windows-dl…
113 …https://download.imagemagick.org/download/ImageMagick/binaries/ImageMagick-7.0.11-15-Q8-windows-st…
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DTestDownloadManagerListener.java81 public void onDownloadChanged(DownloadManager downloadManager, Download download) { in onDownloadChanged() argument
82 if (download.state == Download.STATE_FAILED) { in onDownloadChanged()
83 failureReason = download.failureReason; in onDownloadChanged()
85 getStateQueue(download.request.id).add(download.state); in onDownloadChanged()
89 public void onDownloadRemoved(DownloadManager downloadManager, Download download) { in onDownloadRemoved() argument
90 getStateQueue(download.request.id).add(STATE_REMOVED); in onDownloadRemoved()
/external/ltp/runtest/
Dnet_stress.appl14 ftp4-download-stress ftp-download-stress.sh
15 ftp6-download-stress ftp-download-stress.sh -6
/external/geonames/
DMETADATA14 …value: "Downloaded from https://download.geonames.org/export/dump/cities1000.zip on 2020-11-10, SH…
18 …value: "Downloaded from https://download.geonames.org/export/dump/cities15000.zip on 2020-11-10, S…
22 …value: "Downloaded from https://download.geonames.org/export/dump/cities500.zip on 2020-11-10, SHA…
26 …value: "Downloaded from https://download.geonames.org/export/dump/cities5000.zip on 2020-11-10, SH…
30 …value: "Downloaded from https://download.geonames.org/export/dump/readme.txt on 2020-11-10, SHA1=7…
/external/tensorflow/tensorflow/
Dworkspace0.bzl17 "https://storage.googleapis.com/download.tensorflow.org/models/inception_v1.zip",
26 …"https://storage.googleapis.com/download.tensorflow.org/models/object_detection/ssd_mobilenet_v1_a…
35 "https://storage.googleapis.com/download.tensorflow.org/models/mobile_multibox_v1a.zip",
44 "https://storage.googleapis.com/download.tensorflow.org/models/stylize_v1.zip",
53 … "https://storage.googleapis.com/download.tensorflow.org/models/speech_commands_v0.01.zip",
61 …"https://storage.googleapis.com/download.tensorflow.org/data/tf_lite_micro_person_data_grayscale_2…
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DDownloadNotificationHelper.java68 Download download = downloads.get(i); in buildProgressNotification() local
69 if (download.state == Download.STATE_REMOVING) { in buildProgressNotification()
73 if (download.state != Download.STATE_RESTARTING in buildProgressNotification()
74 && download.state != Download.STATE_DOWNLOADING) { in buildProgressNotification()
78 float downloadPercentage = download.getPercentDownloaded(); in buildProgressNotification()
83 haveDownloadedBytes |= download.getBytesDownloaded() > 0; in buildProgressNotification()
/external/exoplayer/tree/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/offline/
DDashDownloaderTest.java112 dashDownloader.download(progressListener); in downloadRepresentation()
131 dashDownloader.download(progressListener); in downloadRepresentationInSmallParts()
150 dashDownloader.download(progressListener); in downloadRepresentations()
171 dashDownloader.download(progressListener); in downloadAllRepresentations()
193 dashDownloader.download(progressListener); in progressiveDownload()
225 dashDownloader.download(progressListener); in progressiveDownloadSeparatePeriods()
255 dashDownloader.download(progressListener); in downloadRepresentationFailure()
260 dashDownloader.download(progressListener); in downloadRepresentationFailure()
281 dashDownloader.download(progressListener); in counters()
288 dashDownloader.download(progressListener); in counters()
[all …]
/external/python/asn1crypto/dev/
Ddeps.py491 for download in downloads:
492 … if not _is_valid_python_version(download.get('python_version'), download.get('requires_python')):
495 if exe_suffix and download['url'].endswith(exe_suffix):
496 exe = download['url']
497 if download['url'].endswith('.whl'):
498 parts = os.path.basename(download['url']).split('-')
502 wheels[(tag_impl, tag_abi, tag_arch)] = download['url']
503 if download['url'].endswith('.tar.bz2'):
504 tar_bz2 = download['url']
505 if download['url'].endswith('.tar.gz'):
[all …]
/external/FXdiv/
DCMakeLists.txt26 …CONFIGURE_FILE(cmake/DownloadGoogleTest.cmake "${CMAKE_BINARY_DIR}/googletest-download/CMakeLists.…
28 WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/googletest-download")
30 WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/googletest-download")
36 …CONFIGURE_FILE(cmake/DownloadGoogleBenchmark.cmake "${CMAKE_BINARY_DIR}/googlebenchmark-download/C…
38 WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/googlebenchmark-download")
40 WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/googlebenchmark-download")
/external/tensorflow/tensorflow/tools/android/test/
Ddownload-models.gradle2 * download-models.gradle
19 def MODEL_URL = 'https://storage.googleapis.com/download.tensorflow.org/models'
26 classpath 'de.undercouch:gradle-download-task:4.0.2'
30 import de.undercouch.gradle.tasks.download.Download

12345678910>>...51