Home
last modified time | relevance | path

Searched refs:contentDisposition (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Browser/src/com/android/browser/
DDownloadHandler.java59 String userAgent, String contentDisposition, String mimetype, in onDownloadStart() argument
63 if (contentDisposition == null in onDownloadStart()
64 || !contentDisposition.regionMatches( in onDownloadStart()
98 onDownloadStartNoStream(activity, url, userAgent, contentDisposition, in onDownloadStart()
143 String url, String userAgent, String contentDisposition, in onDownloadStartNoStream() argument
147 contentDisposition, mimetype); in onDownloadStartNoStream()
DFetchUrlMimeType.java89 String contentDisposition = null; in run() local
106 contentDisposition = contentDispositionHeader.getValue(); in run()
127 String filename = URLUtil.guessFileName(mUri, contentDisposition, in run()
DWebViewController.java75 void onDownloadStart(Tab tab, String url, String useragent, String contentDisposition, in onDownloadStart() argument
DPreloadController.java155 String contentDisposition, String mimeType, in onDownloadStart() argument
DTab.java1162 String contentDisposition, String mimetype, in Tab()
1164 mWebViewController.onDownloadStart(Tab.this, url, userAgent, contentDisposition, in Tab()
1356 String contentDisposition, String mimetype, in createSubWindow()
1359 contentDisposition, mimetype, contentLength); in createSubWindow()
DController.java1035 String contentDisposition, String mimetype, long contentLength) { in onDownloadStart() argument
1038 contentDisposition, mimetype, w.isPrivateBrowsingEnabled()); in onDownloadStart()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
DMimeBodyPart.java112 String contentDisposition = getFirstHeader(MimeHeader.HEADER_CONTENT_DISPOSITION); in getDisposition() local
113 if (contentDisposition == null) { in getDisposition()
116 return contentDisposition; in getDisposition()
DMimeMessage.java187 String contentDisposition = getFirstHeader(MimeHeader.HEADER_CONTENT_DISPOSITION); in getDisposition() local
188 if (contentDisposition == null) { in getDisposition()
191 return contentDisposition; in getDisposition()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java56 private static String parseContentDisposition(String contentDisposition) { in parseContentDisposition() argument
58 Matcher m = CONTENT_DISPOSITION_PATTERN.matcher(contentDisposition); in parseContentDisposition()
75 String contentDisposition, in generateSaveFile() argument
89 path = chooseFilename(url, hint, contentDisposition, contentLocation, in generateSaveFile()
177 private static String chooseFilename(String url, String hint, String contentDisposition,
195 if (filename == null && contentDisposition != null) {
196 filename = parseContentDisposition(contentDisposition);
/packages/apps/Email/src/com/android/email/mail/store/
DImapFolder.java835 final StringBuilder contentDisposition = new StringBuilder(); in parseBodyStructure() local
841 contentDisposition.append(bodyDisposition0Str); in parseBodyStructure()
853 contentDisposition.append(String.format(";\n %s=\"%s\"", in parseBodyStructure()
862 && (MimeUtility.getHeaderParameter(contentDisposition.toString(), "size") in parseBodyStructure()
864 contentDisposition.append(String.format(";\n size=%d", size)); in parseBodyStructure()
867 if (contentDisposition.length() > 0) { in parseBodyStructure()
873 contentDisposition.toString()); in parseBodyStructure()
/packages/apps/Email/src/com/android/email/
DLegacyConversions.java196 String contentDisposition = MimeUtility.unfoldAndDecode(part.getDisposition()); in addOneAttachment() local
197 name = MimeUtility.getHeaderParameter(contentDisposition, "filename"); in addOneAttachment()
/packages/apps/Browser/tests/src/com/android/browser/
DPopularUrlsTest.java279 public void onDownloadStart(String url, String userAgent, String contentDisposition, in setupBrowserInternal()