Searched refs:contentDisposition (Results 1 – 8 of 8) sorted by relevance
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | Helpers.java | 220 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);
|
D | DownloadThread.java | 777 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/ |
D | PduPart.java | 259 public void setContentDisposition(final byte[] contentDisposition) { in setContentDisposition() argument 260 if (contentDisposition == null) { in setContentDisposition() 264 mPartHeader.put(P_CONTENT_DISPOSITION, contentDisposition); in setContentDisposition()
|
D | PduPersister.java | 398 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/ |
D | MimeBodyPart.java | 115 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/ |
D | PduPart.java | 284 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/ |
D | ImapFolder.java | 589 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/ |
D | CaptivePortalLoginActivity.java | 865 public void onDownloadStart(String url, String userAgent, String contentDisposition, in onDownloadStart() argument 868 final String displayName = URLUtil.guessFileName(url, contentDisposition, in onDownloadStart()
|