/packages/apps/Browser/src/com/android/browser/ |
D | DownloadHandler.java | 59 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()
|
D | FetchUrlMimeType.java | 89 String contentDisposition = null; in run() local 106 contentDisposition = contentDispositionHeader.getValue(); in run() 127 String filename = URLUtil.guessFileName(mUri, contentDisposition, in run()
|
D | WebViewController.java | 75 void onDownloadStart(Tab tab, String url, String useragent, String contentDisposition, in onDownloadStart() argument
|
D | PreloadController.java | 155 String contentDisposition, String mimeType, in onDownloadStart() argument
|
D | Tab.java | 1162 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()
|
D | Controller.java | 1035 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/ |
D | MimeBodyPart.java | 112 String contentDisposition = getFirstHeader(MimeHeader.HEADER_CONTENT_DISPOSITION); in getDisposition() local 113 if (contentDisposition == null) { in getDisposition() 116 return contentDisposition; in getDisposition()
|
D | MimeMessage.java | 187 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/ |
D | Helpers.java | 56 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/ |
D | ImapFolder.java | 835 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/ |
D | LegacyConversions.java | 196 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/ |
D | PopularUrlsTest.java | 279 public void onDownloadStart(String url, String userAgent, String contentDisposition, in setupBrowserInternal()
|