Home
last modified time | relevance | path

Searched refs:DownloadRequest (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Messaging/src/android/support/v7/mms/
DDownloadRequest.java39 class DownloadRequest extends MmsRequest { class
41 DownloadRequest(final String locationUrl, final Uri pduUri, in DownloadRequest() method in DownloadRequest
118 public static final Parcelable.Creator<DownloadRequest> CREATOR
119 = new Parcelable.Creator<DownloadRequest>() {
120 public DownloadRequest createFromParcel(Parcel in) {
121 return new DownloadRequest(in);
124 public DownloadRequest[] newArray(int size) {
125 return new DownloadRequest[size];
129 private DownloadRequest(Parcel in) { in DownloadRequest() method in DownloadRequest
DMmsManager.java162 new DownloadRequest(locationUrl, contentUri, downloadedIntent)); in downloadMultimediaMessage()
/packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/
DEmbmsTestDownloadApp.java29 import android.telephony.mbms.DownloadRequest;
138 extends ArrayAdapter<DownloadRequest> {
146 DownloadRequest request = getItem(position); in getView()
291 DownloadRequest request = in onCreate()
292 (DownloadRequest) downloadRequestSpinner.getSelectedItem(); in onCreate()
305 DownloadRequest req = (DownloadRequest) downloadRequestSpinner.getSelectedItem(); in onCreate()
314 public void onProgressUpdated(DownloadRequest request, FileInfo fileInfo, in onCreate()
333 DownloadRequest req = (DownloadRequest) downloadRequestSpinner.getSelectedItem(); in onCreate()
342 public void onStatusUpdated(DownloadRequest request, FileInfo fileInfo, in onCreate()
359 DownloadRequest req = (DownloadRequest) downloadRequestSpinner.getSelectedItem(); in onCreate()
[all …]
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/
DEmbmsSampleDownloadService.java35 import android.telephony.mbms.DownloadRequest;
136 public int download(DownloadRequest downloadRequest) {
146 public int addStatusListener(DownloadRequest downloadRequest,
153 public int addProgressListener(DownloadRequest downloadRequest,
160 public int cancelDownload(DownloadRequest downloadRequest) {
188 private final Map<FrontendAppIdentifier, Set<DownloadRequest>> mActiveDownloadRequests =
193 private final Map<DownloadRequest, DownloadStatusListener> mDownloadStatusCallbacks =
195 private final Map<DownloadRequest, DownloadProgressListener> mDownloadProgressCallbacks =
272 private void sendFdRequest(DownloadRequest request, FrontendAppIdentifier appKey) { in sendFdRequest()
304 private void performDownload(DownloadRequest request, FrontendAppIdentifier appKey, in performDownload()
[all …]
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/download/mdd/
DOnDevicePersonalizationFileDownloaderTest.java29 import com.google.android.libraries.mobiledatadownload.downloader.DownloadRequest;
62 DownloadRequest downloadRequest = DownloadRequest.newBuilder().setUrlToDownload( in testValidDebugUrl()
80 DownloadRequest downloadRequest = DownloadRequest.newBuilder().setUrlToDownload( in testUnsecureUrl()
/packages/modules/OnDevicePersonalization/tests/manualtests/src/com/android/ondevicepersonalization/services/download/mdd/
DLocalFileDownloaderTest.java27 import com.google.android.libraries.mobiledatadownload.downloader.DownloadRequest;
57 DownloadRequest downloadRequest = DownloadRequest.newBuilder().setUrlToDownload( in testValidDebugUrl()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/download/mdd/
DOnDevicePersonalizationLocalFileDownloader.java29 import com.google.android.libraries.mobiledatadownload.downloader.DownloadRequest;
89 public ListenableFuture<Void> startDownloading(DownloadRequest downloadRequest) { in startDownloading()
94 private ListenableFuture<Void> startDownloadingInternal(DownloadRequest downloadRequest) { in startDownloadingInternal()
DOnDevicePersonalizationFileDownloader.java39 import com.google.android.libraries.mobiledatadownload.downloader.DownloadRequest;
140 public ListenableFuture<Void> startDownloading(DownloadRequest downloadRequest) { in startDownloading()
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java156 private final SparseArray<DownloadRequest> mDownloadRequests = new SparseArray<>();
235 final DownloadRequest req = mDownloadRequests.valueAt(i); in maybeStartPendingDownloads()
268 private static final class DownloadRequest { class in CaptivePortalLoginActivity
276 DownloadRequest(@NonNull String url, @NonNull String filename, @NonNull String mimeType, in DownloadRequest() method in CaptivePortalLoginActivity.DownloadRequest
607 final DownloadRequest pendingRequest; in onActivityResult()
624 mDownloadRequests.put(requestCode, new DownloadRequest(pendingRequest.mUrl, in onActivityResult()
1110 mDownloadRequests.put(requestId, new DownloadRequest(url, displayName, in onDownloadStart()
1155 mDownloadRequests.put(requestId, new DownloadRequest(url, filename, mimeType, uri)); in startDirectlyOpenDownload()
/packages/services/Mms/tests/robotests/src/com/android/mms/service/
DMmsRequestRoboTest.java152 DownloadRequest request = new DownloadRequest(mMmsService, mSubId, sFakeUri, in downloadRequest_noSatellite_downloadSuccessful()
/packages/services/Mms/src/com/android/mms/service/
DDownloadRequest.java55 public class DownloadRequest extends MmsRequest { class
63 public DownloadRequest(RequestManager manager, int subId, String locationUrl, in DownloadRequest() method in DownloadRequest
DMmsService.java368 final DownloadRequest request = new DownloadRequest(MmsService.this, subId, locationUrl,
DMmsRequest.java273 this instanceof DownloadRequest in execute()