Searched refs:DownloadRequest (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Email/tests/src/com/android/email/service/ |
D | AttachmentServiceTests.java | 40 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/ |
D | AttachmentService.java | 145 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/apps/Messaging/src/android/support/v7/mms/ |
D | DownloadRequest.java | 39 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
|
D | MmsManager.java | 167 new DownloadRequest(locationUrl, contentUri, downloadedIntent)); in downloadMultimediaMessage()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | DownloadRequest.java | 53 public class DownloadRequest extends MmsRequest { class 61 public DownloadRequest(RequestManager manager, int subId, String locationUrl, in DownloadRequest() method in DownloadRequest
|
D | MmsService.java | 199 final DownloadRequest request = new DownloadRequest(MmsService.this, subId, locationUrl,
|