Searched defs:download (Results 1 - 5 of 5) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DDownloadUtils.java38 return download(jc, url, fos);
66 public static boolean download(JobContext jc, URL url, OutputStream output) { method in class:DownloadUtils
73 Log.w(TAG, "fail to download", t);
H A DDownloadCache.java114 public Entry download(JobContext jc, URL url) { method in class:DownloadCache
137 // Finally, we need to download the file ....
140 if (task == null) { // if not, start the download task now
224 public static final String DATABASE_NAME = "download.db";
322 // download from url to tempFile
328 Log.e(TAG, String.format("fail to download %s", mUrl), e);
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/
H A DOmtpVvmSyncService.java59 /** Only download from the server. */
61 /** Only download single voicemail transcription. */
230 downloadSuccess = download(imapHelper, account);
237 + "] download succeeded: ["
284 private boolean download(ImapHelper imapHelper, PhoneAccountHandle account) { method in class:OmtpVvmSyncService
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
H A DBluetoothMapEmailProvider.java69 * @param download true if any missing part of the message shall be downloaded
70 * before written to the stream. The download flag will determine
76 boolean includeAttachment, boolean download, FileOutputStream out)
192 boolean download = false;
202 download = true;
204 download = true;
208 WriteMessageToStream(accountId, messageId, includeAttachments, download, fout);
75 WriteMessageToStream(long accountId, long messageId, boolean includeAttachment, boolean download, FileOutputStream out) argument
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DPublicApiFunctionalTest.java109 Download download = enqueueRequest(getRequest());
111 download.getLongField(DownloadManager.COLUMN_STATUS));
113 download.getStringField(DownloadManager.COLUMN_URI));
114 assertEquals(download.mId, download.getLongField(DownloadManager.COLUMN_ID));
116 download.getLongField(DownloadManager.COLUMN_LAST_MODIFIED_TIMESTAMP));
119 download.runUntilStatus(DownloadManager.STATUS_SUCCESSFUL);
124 Uri localUri = Uri.parse(download.getStringField(DownloadManager.COLUMN_LOCAL_URI));
127 assertEquals("text/plain", download.getStringField(DownloadManager.COLUMN_MEDIA_TYPE));
130 assertEquals(size, download
739 checkCompleteDownload(Download download) argument
[all...]

Completed in 134 milliseconds