/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/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/ |
D | EmbmsTestDownloadApp.java | 29 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/ |
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/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/ |
D | EmbmsSampleDownloadService.java | 35 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/ |
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 | MmsRequest.java | 177 networkManager.releaseNetwork(requestId, this instanceof DownloadRequest); in execute()
|
D | MmsService.java | 242 final DownloadRequest request = new DownloadRequest(MmsService.this, subId, locationUrl,
|