/packages/apps/Email/tests/src/com/android/email/service/ |
H A D | AttachmentServiceTests.java | 40 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 D | DownloadRequest.java | 39 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 D | MmsManager.java | 167 new DownloadRequest(locationUrl, contentUri, downloadedIntent));
|
/packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/ |
H A D | EmbmsTestDownloadApp.java | 30 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 D | DownloadCompletionReceiver.java | 24 import android.telephony.mbms.DownloadRequest; 46 DownloadRequest request = intent.getParcelableExtra(
|
/packages/apps/Email/provider_src/com/android/email/service/ |
H A D | AttachmentService.java | 144 // 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 D | EmbmsSampleDownloadService.java | 34 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 D | DownloadRequest.java | 53 public class DownloadRequest extends MmsRequest { class in inherits:MmsRequest 61 public DownloadRequest(RequestManager manager, int subId, String locationUrl, method in class:DownloadRequest
|
H A D | MmsRequest.java | 176 networkManager.releaseNetwork(requestId, this instanceof DownloadRequest);
|
H A D | MmsService.java | 199 final DownloadRequest request = new DownloadRequest(MmsService.this, subId, locationUrl,
|