Home
last modified time | relevance | path

Searched refs:Download (Results 1 – 5 of 5) sorted by relevance

/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DPublicApiFunctionalTest.java81 Download download = enqueueRequest(getRequest()); in testBasicRequest()
120 Download download = enqueueRequest(getRequest() in testTitleAndDescription()
142 Download download = enqueueRequest(getRequest()); in testInterruptedDownload()
162 Download download = enqueueRequest(getRequest().setDestinationUri(getExternalUri())); in testInterruptedExternalDownload()
206 Download download1 = enqueueRequest(getRequest()); in testFiltering()
210 Download download2 = enqueueRequest(getRequest()); in testFiltering()
214 Download download3 = enqueueRequest(getRequest()); in testFiltering()
236 Download invisibleDownload = enqueueRequest(getRequest().setVisibleInDownloadsUi(false)); in testFiltering()
248 Download download1 = enqueueRequest(getRequest()); in testOrdering()
252 Download download2 = enqueueRequest(getRequest()); in testOrdering()
[all …]
DAbstractPublicApiTest.java36 class Download { class in AbstractPublicApiTest
39 private Download(long downloadId) { in Download() method in AbstractPublicApiTest.Download
184 protected Download enqueueRequest(DownloadManager.Request request) { in enqueueRequest()
185 return new Download(mManager.enqueue(request)); in enqueueRequest()
DThreadingTest.java50 Download download = enqueueRequest(getRequest()); in testFloodServiceWithStarts()
/packages/apps/VideoEditor/src/com/android/videoeditor/service/
DVideoEditorProject.java69 private final List<Download> mDownloads;
84 public static class Download { class in VideoEditorProject
98 private Download(String mediaUri, String mimeType, String filename, long time) { in Download() method in VideoEditorProject.Download
151 Uri exportedMovieUri, String theme, List<Download> downloads) { in VideoEditorProject()
160 mDownloads = new ArrayList<Download>(); in VideoEditorProject()
1134 mDownloads.add(new Download(mediaUri, mimeType, filename, System.currentTimeMillis())); in addDownload()
1146 final Download download = mDownloads.get(i); in removeDownload()
1164 public List<Download> getDownloads() { in getDownloads()
1180 final List<Download> downloads = new ArrayList<Download>(); in fromXml()
1212 downloads.add(new Download(parser.getAttributeValue("", ATTR_URI), in fromXml()
[all …]
/packages/apps/Browser/src/com/android/browser/
DController.java1438 new Download(mActivity, extra, webview.isPrivateBrowsingEnabled())); in onCreateContextMenu()
2160 private static class Download implements OnMenuItemClickListener { class in Controller
2178 public Download(Activity activity, String toDownload, boolean privateBrowsing) { in Download() method in Controller.Download