Home
last modified time | relevance | path

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

/packages/apps/Email/tests/src/com/android/email/service/
DAttachmentServiceTests.java40 final AttachmentService.DownloadRequest dr = in testDownloadRequestIsEquals()
41 new AttachmentService.DownloadRequest(AttachmentService.PRIORITY_FOREGROUND, 1); in testDownloadRequestIsEquals()
42 final AttachmentService.DownloadRequest dr2 = in testDownloadRequestIsEquals()
43 new AttachmentService.DownloadRequest(AttachmentService.PRIORITY_FOREGROUND, 2); in testDownloadRequestIsEquals()
56 final AttachmentService.DownloadRequest dr = in testDownloadQueueAddRequest()
57 new AttachmentService.DownloadRequest(AttachmentService.PRIORITY_FOREGROUND, 1); in testDownloadQueueAddRequest()
79 final AttachmentService.DownloadRequest dr = in testDownloadQueueAddRequestExisting()
80 new AttachmentService.DownloadRequest(AttachmentService.PRIORITY_FOREGROUND, 1); in testDownloadQueueAddRequestExisting()
95 final AttachmentService.DownloadRequest dr = in testDownloadQueueRemoveRequest()
96 new AttachmentService.DownloadRequest(AttachmentService.PRIORITY_FOREGROUND, 1); in testDownloadQueueRemoveRequest()
[all …]
/packages/apps/Email/provider_src/com/android/email/service/
DAttachmentService.java145 final ConcurrentHashMap<Long, DownloadRequest> mDownloadsInProgress =
146 new ConcurrentHashMap<Long, DownloadRequest>();
169 static class DownloadRequest { class in AttachmentService
192 DownloadRequest(final int attPriority, final long attId) { in DownloadRequest() method in AttachmentService.DownloadRequest
201 private DownloadRequest(final Context context, final Attachment attachment) { in DownloadRequest() method in AttachmentService.DownloadRequest
214 private DownloadRequest(final DownloadRequest orig, final long newTime) { in DownloadRequest() method in AttachmentService.DownloadRequest
239 if (!(object instanceof DownloadRequest)) return false; in equals()
240 final DownloadRequest req = (DownloadRequest)object; in equals()
264 private static class DownloadComparator implements Comparator<DownloadRequest> {
266 public int compare(DownloadRequest req1, DownloadRequest req2) { in compare()
[all …]
/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/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.java167 new DownloadRequest(locationUrl, contentUri, downloadedIntent)); in downloadMultimediaMessage()
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/
DEmbmsSampleDownloadService.java35 import android.telephony.mbms.DownloadRequest;
137 public int download(DownloadRequest downloadRequest) {
147 public int addStatusListener(DownloadRequest downloadRequest,
154 public int addProgressListener(DownloadRequest downloadRequest,
161 public int cancelDownload(DownloadRequest downloadRequest) {
189 private final Map<FrontendAppIdentifier, Set<DownloadRequest>> mActiveDownloadRequests =
194 private final Map<DownloadRequest, DownloadStatusListener> mDownloadStatusCallbacks =
196 private final Map<DownloadRequest, DownloadProgressListener> mDownloadProgressCallbacks =
273 private void sendFdRequest(DownloadRequest request, FrontendAppIdentifier appKey) { in sendFdRequest()
305 private void performDownload(DownloadRequest request, FrontendAppIdentifier appKey, in performDownload()
[all …]
/packages/services/Mms/src/com/android/mms/service/
DDownloadRequest.java53 public class DownloadRequest extends MmsRequest { class
61 public DownloadRequest(RequestManager manager, int subId, String locationUrl, in DownloadRequest() method in DownloadRequest
DMmsRequest.java177 networkManager.releaseNetwork(requestId, this instanceof DownloadRequest); in execute()
DMmsService.java242 final DownloadRequest request = new DownloadRequest(MmsService.this, subId, locationUrl,