Home
last modified time | relevance | path

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

/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java220 private static String parseContentDisposition(String contentDisposition) { in parseContentDisposition() argument
222 Matcher m = CONTENT_DISPOSITION_PATTERN.matcher(contentDisposition); in parseContentDisposition()
237 String contentDisposition, String contentLocation, String mimeType, int destination) in generateSaveFile() argument
255 name = chooseFilename(url, hint, contentDisposition, contentLocation); in generateSaveFile()
305 private static String chooseFilename(String url, String hint, String contentDisposition,
323 if (filename == null && contentDisposition != null) {
324 filename = parseContentDisposition(contentDisposition);
DDownloadThread.java777 final String contentDisposition = conn.getHeaderField("Content-Disposition"); in parseOkHeaders() local
782 mInfo.mHint, contentDisposition, contentLocation, mInfoDelta.mMimeType, in parseOkHeaders()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduPart.java259 public void setContentDisposition(final byte[] contentDisposition) { in setContentDisposition() argument
260 if (contentDisposition == null) { in setContentDisposition()
264 mPartHeader.put(P_CONTENT_DISPOSITION, contentDisposition); in setContentDisposition()
DPduPersister.java398 final byte[] contentDisposition = getByteArrayFromPartColumn( in loadParts()
400 if (contentDisposition != null) { in loadParts()
401 part.setContentDisposition(contentDisposition); in loadParts()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeBodyPart.java115 String contentDisposition = getFirstHeader(MimeHeader.HEADER_CONTENT_DISPOSITION); in getDisposition() local
116 if (contentDisposition == null) { in getDisposition()
119 return contentDisposition; in getDisposition()
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DPduPart.java284 public void setContentDisposition(byte[] contentDisposition) { in setContentDisposition() argument
285 if(contentDisposition == null) { in setContentDisposition()
289 mPartHeader.put(P_CONTENT_DISPOSITION, contentDisposition); in setContentDisposition()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/
DImapFolder.java589 final StringBuilder contentDisposition = new StringBuilder(); in parseBodyStructure() local
595 contentDisposition.append(bodyDisposition0Str); in parseBodyStructure()
607 contentDisposition.append( in parseBodyStructure()
621 && (MimeUtility.getHeaderParameter(contentDisposition.toString(), "size") == null)) { in parseBodyStructure()
622 contentDisposition.append(String.format(Locale.US, ";\n size=%d", size)); in parseBodyStructure()
625 if (contentDisposition.length() > 0) { in parseBodyStructure()
630 part.setHeader(MimeHeader.HEADER_CONTENT_DISPOSITION, contentDisposition.toString()); in parseBodyStructure()
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java865 public void onDownloadStart(String url, String userAgent, String contentDisposition, in onDownloadStart() argument
868 final String displayName = URLUtil.guessFileName(url, contentDisposition, in onDownloadStart()