Searched refs:DownloadRequest (Results 1 - 10 of 10) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/service/
H A DAttachmentServiceTests.java40 final AttachmentService.DownloadRequest dr =
41 new AttachmentService.DownloadRequest(AttachmentService.PRIORITY_FOREGROUND, 1);
42 final AttachmentService.DownloadRequest dr2 =
43 new AttachmentService.DownloadRequest(AttachmentService.PRIORITY_FOREGROUND, 2);
56 final AttachmentService.DownloadRequest dr =
57 new AttachmentService.DownloadRequest(AttachmentService.PRIORITY_FOREGROUND, 1);
79 final AttachmentService.DownloadRequest dr =
80 new AttachmentService.DownloadRequest(AttachmentService.PRIORITY_FOREGROUND, 1);
95 final AttachmentService.DownloadRequest dr =
96 new AttachmentService.DownloadRequest(AttachmentServic
[all...]
/packages/apps/Messaging/src/android/support/v7/mms/
H A DDownloadRequest.java39 class DownloadRequest extends MmsRequest { class in inherits:MmsRequest
41 DownloadRequest(final String locationUrl, final Uri pduUri, method in class: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) { method in class:DownloadRequest
H A DMmsManager.java167 new DownloadRequest(locationUrl, contentUri, downloadedIntent));
/packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/
H A DEmbmsTestDownloadApp.java30 import android.telephony.mbms.DownloadRequest;
135 extends ArrayAdapter<DownloadRequest> {
143 DownloadRequest request = getItem(position);
274 DownloadRequest request =
275 (DownloadRequest) downloadRequestSpinner.getSelectedItem();
288 DownloadRequest req = (DownloadRequest) downloadRequestSpinner.getSelectedItem();
291 "No DownloadRequest Pending for progress...", Toast.LENGTH_SHORT).show();
297 public void onProgressUpdated(DownloadRequest request, FileInfo fileInfo,
306 public void onStateUpdated(DownloadRequest reques
[all...]
H A DDownloadCompletionReceiver.java24 import android.telephony.mbms.DownloadRequest;
46 DownloadRequest request = intent.getParcelableExtra(
/packages/apps/Email/provider_src/com/android/email/service/
H A DAttachmentService.java144 // Keeps tracks of downloads in progress based on an attachment ID to DownloadRequest mapping.
145 final ConcurrentHashMap<Long, DownloadRequest> mDownloadsInProgress =
146 new ConcurrentHashMap<Long, DownloadRequest>();
169 static class DownloadRequest { class in class:AttachmentService
192 DownloadRequest(final int attPriority, final long attId) { method in class:AttachmentService.DownloadRequest
201 private DownloadRequest(final Context context, final Attachment attachment) { method in class:AttachmentService.DownloadRequest
214 private DownloadRequest(final DownloadRequest orig, final long newTime) { method in class:AttachmentService.DownloadRequest
239 if (!(object instanceof DownloadRequest)) return false;
240 final DownloadRequest re
[all...]
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/
H A DEmbmsSampleDownloadService.java34 import android.telephony.mbms.DownloadRequest;
136 public int download(DownloadRequest downloadRequest) {
146 public int registerStateCallback(DownloadRequest downloadRequest,
153 public int cancelDownload(DownloadRequest downloadRequest) {
181 private final Map<FrontendAppIdentifier, Set<DownloadRequest>> mActiveDownloadRequests =
186 private final Map<DownloadRequest, DownloadStateCallback> mDownloadStateCallbacks =
263 private void sendFdRequest(DownloadRequest request, FrontendAppIdentifier appKey) {
294 private void performDownload(DownloadRequest request, FrontendAppIdentifier appKey,
333 private void downloadSingleFile(FrontendAppIdentifier appKey, DownloadRequest request,
374 DownloadRequest request
[all...]
/packages/services/Mms/src/com/android/mms/service/
H A DDownloadRequest.java53 public class DownloadRequest extends MmsRequest { class in inherits:MmsRequest
61 public DownloadRequest(RequestManager manager, int subId, String locationUrl, method in class:DownloadRequest
H A DMmsRequest.java176 networkManager.releaseNetwork(requestId, this instanceof DownloadRequest);
H A DMmsService.java199 final DownloadRequest request = new DownloadRequest(MmsService.this, subId, locationUrl,

Completed in 1653 milliseconds