Home
last modified time | relevance | path

Searched refs:downloadRequest (Results 1 – 6 of 6) sorted by relevance

/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/download/mdd/
DOnDevicePersonalizationLocalFileDownloader.java89 public ListenableFuture<Void> startDownloading(DownloadRequest downloadRequest) { in startDownloading() argument
90 return Futures.submitAsync(() -> startDownloadingInternal(downloadRequest), in startDownloading()
94 private ListenableFuture<Void> startDownloadingInternal(DownloadRequest downloadRequest) { in startDownloadingInternal() argument
95 Uri fileUri = downloadRequest.fileUri(); in startDownloadingInternal()
96 String urlToDownload = downloadRequest.urlToDownload(); in startDownloadingInternal()
DOnDevicePersonalizationFileDownloader.java140 public ListenableFuture<Void> startDownloading(DownloadRequest downloadRequest) { in startDownloading() argument
141 Uri fileUri = downloadRequest.fileUri(); in startDownloading()
142 String urlToDownload = downloadRequest.urlToDownload(); in startDownloading()
155 return mLocalFileDownloader.startDownloading(downloadRequest); in startDownloading()
167 return mOffroad2FileDownloader.startDownloading(downloadRequest); in startDownloading()
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/
DEmbmsSampleDownloadService.java136 public int download(DownloadRequest downloadRequest) {
138 Binder.getCallingUid(), downloadRequest.getSubscriptionId());
141 mHandler.post(() -> sendFdRequest(downloadRequest, appKey));
146 public int addStatusListener(DownloadRequest downloadRequest,
148 mDownloadStatusCallbacks.put(downloadRequest, callback);
153 public int addProgressListener(DownloadRequest downloadRequest,
155 mDownloadProgressCallbacks.put(downloadRequest, callback);
160 public int cancelDownload(DownloadRequest downloadRequest) {
162 Binder.getCallingUid(), downloadRequest.getSubscriptionId());
165 appKey, Collections.emptySet()).contains(downloadRequest)) {
[all …]
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/download/mdd/
DOnDevicePersonalizationFileDownloaderTest.java62 DownloadRequest downloadRequest = DownloadRequest.newBuilder().setUrlToDownload( in testValidDebugUrl() local
66 ListenableFuture<Void> future = downloader.startDownloading(downloadRequest); in testValidDebugUrl()
80 DownloadRequest downloadRequest = DownloadRequest.newBuilder().setUrlToDownload( in testUnsecureUrl() local
84 ListenableFuture<Void> future = downloader.startDownloading(downloadRequest); in testUnsecureUrl()
/packages/modules/OnDevicePersonalization/tests/manualtests/src/com/android/ondevicepersonalization/services/download/mdd/
DLocalFileDownloaderTest.java57 DownloadRequest downloadRequest = DownloadRequest.newBuilder().setUrlToDownload( in testValidDebugUrl() local
61 ListenableFuture<Void> future = downloader.startDownloading(downloadRequest); in testValidDebugUrl()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/signals/
DEncoderLogicHandler.java177 AdServicesHttpClientRequest downloadRequest = in downloadAndUpdate() local
190 downloadRequest, fetchProcessLogger)); in downloadAndUpdate()