Home
last modified time | relevance | path

Searched refs:DownloadRequest (Results 1 – 4 of 4) 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/Mms/src/com/android/mms/service/
DDownloadRequest.java58 public class DownloadRequest extends MmsRequest { class
66 public DownloadRequest(RequestManager manager, int subId, String locationUrl, in DownloadRequest() method in DownloadRequest
DMmsService.java211 final DownloadRequest request = new DownloadRequest(MmsService.this, subId,