Home
last modified time | relevance | path

Searched refs:download (Results 1 – 22 of 22) sorted by relevance

/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DPublicApiFunctionalTest.java106 Download download = enqueueRequest(getRequest()); in testBasicRequest() local
108 download.getLongField(DownloadManager.COLUMN_STATUS)); in testBasicRequest()
110 download.getStringField(DownloadManager.COLUMN_URI)); in testBasicRequest()
111 assertEquals(download.mId, download.getLongField(DownloadManager.COLUMN_ID)); in testBasicRequest()
113 download.getLongField(DownloadManager.COLUMN_LAST_MODIFIED_TIMESTAMP)); in testBasicRequest()
116 download.runUntilStatus(DownloadManager.STATUS_SUCCESSFUL); in testBasicRequest()
121 Uri localUri = Uri.parse(download.getStringField(DownloadManager.COLUMN_LOCAL_URI)); in testBasicRequest()
124 assertEquals("text/plain", download.getStringField(DownloadManager.COLUMN_MEDIA_TYPE)); in testBasicRequest()
127 assertEquals(size, download.getLongField(DownloadManager.COLUMN_TOTAL_SIZE_BYTES)); in testBasicRequest()
128 assertEquals(size, download.getLongField(DownloadManager.COLUMN_BYTES_DOWNLOADED_SO_FAR)); in testBasicRequest()
[all …]
DStorageTest.java232 final Download download = enqueueRequest(req); in prepareAndRunDownload() local
233 download.runUntilStatus(expectedStatus); in prepareAndRunDownload()
236 MoreAsserts.assertEquals(DOWNLOAD_BODY, download.getRawContents()); in prepareAndRunDownload()
240 assertEquals(expectedReason, download.getLongField(COLUMN_REASON)); in prepareAndRunDownload()
DThreadingTest.java55 Download download = enqueueRequest(getRequest()); in testFloodServiceWithStarts() local
56 while (download.getStatus() != DownloadManager.STATUS_SUCCESSFUL) { in testFloodServiceWithStarts()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadNotifier.java360 private static boolean isActiveAndVisible(DownloadInfo download) { in isActiveAndVisible() argument
361 return download.mStatus == STATUS_RUNNING && in isActiveAndVisible()
362 (download.mVisibility == VISIBILITY_VISIBLE in isActiveAndVisible()
363 || download.mVisibility == VISIBILITY_VISIBLE_NOTIFY_COMPLETED); in isActiveAndVisible()
366 private static boolean isCompleteAndVisible(DownloadInfo download) { in isCompleteAndVisible() argument
367 return Downloads.Impl.isStatusCompleted(download.mStatus) && in isCompleteAndVisible()
368 (download.mVisibility == VISIBILITY_VISIBLE_NOTIFY_COMPLETED in isCompleteAndVisible()
369 || download.mVisibility == VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION); in isCompleteAndVisible()
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapEmailProvider.java78 boolean includeAttachment, boolean download, FileOutputStream out) in WriteMessageToStream() argument
194 boolean download = false; in writeDataToPipe()
204 download = true; in writeDataToPipe()
206 download = true; in writeDataToPipe()
210 WriteMessageToStream(accountId, messageId, includeAttachments, download, fout); in writeDataToPipe()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDownloadUtils.java38 return download(jc, url, fos); in requestDownload()
66 public static boolean download(JobContext jc, URL url, OutputStream output) { in download() method in DownloadUtils
DUriImage.java116 mCacheEntry = mApplication.getDownloadCache().download(jc, url); in openOrDownloadInner()
DDownloadCache.java114 public Entry download(JobContext jc, URL url) { in download() method in DownloadCache
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz
Dcs_wordlist.combined.gz
Dnl_wordlist.combined.gz
Dpt_BR_wordlist.combined.gz
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1393228135, ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dpl_wordlist.combined.gz1dictionary=main:pl,locale=pl,description=Polski,date=1393228143, ...
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1393228155, ...
Dfi_wordlist.combined.gz
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1393228134, ...
Dpt_PT_wordlist.combined.gz
Des_wordlist.combined.gz