Searched refs:download (Results 1 – 9 of 9) sorted by relevance
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | PublicApiFunctionalTest.java | 81 Download download = enqueueRequest(getRequest()); in testBasicRequest() local 83 download.getLongField(DownloadManager.COLUMN_STATUS)); in testBasicRequest() 85 download.getStringField(DownloadManager.COLUMN_URI)); in testBasicRequest() 86 assertEquals(download.mId, download.getLongField(DownloadManager.COLUMN_ID)); in testBasicRequest() 88 download.getLongField(DownloadManager.COLUMN_LAST_MODIFIED_TIMESTAMP)); in testBasicRequest() 91 download.runUntilStatus(DownloadManager.STATUS_SUCCESSFUL); in testBasicRequest() 96 Uri localUri = Uri.parse(download.getStringField(DownloadManager.COLUMN_LOCAL_URI)); in testBasicRequest() 99 assertEquals("text/plain", download.getStringField(DownloadManager.COLUMN_MEDIA_TYPE)); in testBasicRequest() 102 assertEquals(size, download.getLongField(DownloadManager.COLUMN_TOTAL_SIZE_BYTES)); in testBasicRequest() 103 assertEquals(size, download.getLongField(DownloadManager.COLUMN_BYTES_DOWNLOADED_SO_FAR)); in testBasicRequest() [all …]
|
D | ThreadingTest.java | 50 Download download = enqueueRequest(getRequest()); in testFloodServiceWithStarts() local 51 while (download.getStatus() != DownloadManager.STATUS_SUCCESSFUL) { in testFloodServiceWithStarts()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadNotification.java | 120 for (DownloadInfo download : downloads) { in updateActiveNotification() 121 if (!isActiveAndVisible(download)) { in updateActiveNotification() 124 String packageName = download.mPackage; in updateActiveNotification() 125 long max = download.mTotalBytes; in updateActiveNotification() 126 long progress = download.mCurrentBytes; in updateActiveNotification() 127 long id = download.mId; in updateActiveNotification() 128 String title = download.mTitle; in updateActiveNotification() 142 item.mDescription = download.mDescription; in updateActiveNotification() 146 if (download.mStatus == Downloads.Impl.STATUS_QUEUED_FOR_WIFI in updateActiveNotification() 216 for (DownloadInfo download : downloads) { in updateCompletedNotification() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | DownloadUtils.java | 38 return download(jc, url, fos); in requestDownload() 65 public static boolean download(JobContext jc, URL url, OutputStream output) { in download() method in DownloadUtils
|
D | UriImage.java | 114 mCacheEntry = mApplication.getDownloadCache().download(jc, url); in openOrDownloadInner()
|
D | DownloadCache.java | 114 public Entry download(JobContext jc, URL url) { in download() method in DownloadCache
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
D | CertFile.java | 108 File download = new File(root, DOWNLOAD_DIR); in getAllCertFiles() local 109 if (download != null) { in getAllCertFiles() 110 File[] files = download.listFiles(this); in getAllCertFiles()
|
D | CertFileList.java | 163 File download = new File(root, DOWNLOAD_DIR); in SdCardMonitor() local 164 mDownloadMonitor = new FileObserver(download.getPath()) { in SdCardMonitor()
|
/packages/apps/VideoEditor/src/com/android/videoeditor/service/ |
D | VideoEditorProject.java | 1146 final Download download = mDownloads.get(i); in removeDownload() local 1147 final String uri = download.getMediaUri(); in removeDownload() 1150 final String filename = download.getFilename(); in removeDownload() 1266 for (Download download : mDownloads) { in saveToXml() 1268 serializer.attribute("", ATTR_URI, download.getMediaUri()); in saveToXml() 1269 serializer.attribute("", ATTR_MIME, download.getMimeType()); in saveToXml() 1270 serializer.attribute("", ATTR_FILENAME, download.getFilename()); in saveToXml() 1271 serializer.attribute("", ATTR_TIME, Long.toString(download.getTime())); in saveToXml()
|