/frameworks/base/core/java/com/android/internal/http/multipart/ |
H A D | PartBase.java | 45 private String contentType; field in class:PartBase 57 * @param contentType The content type, or <code>null</code> 61 public PartBase(String name, String contentType, String charSet, String transferEncoding) { argument 67 this.contentType = contentType; 88 return this.contentType; 122 * @param contentType the content type, or <code>null</code> to exclude the content type header 124 public void setContentType(String contentType) { argument 125 this.contentType = contentType; [all...] |
H A D | FilePart.java | 91 * @param contentType the content type for this part, if <code>null</code> the 96 public FilePart(String name, PartSource partSource, String contentType, String charset) { argument 100 contentType == null ? DEFAULT_CONTENT_TYPE : contentType, 140 * @param contentType the content type for this part, if <code>null</code> the 148 public FilePart(String name, File file, String contentType, String charset) argument 150 this(name, new FilePartSource(file), contentType, charset); 174 * @param contentType the content type for this part, if <code>null</code> the 182 public FilePart(String name, String fileName, File file, String contentType, String charset) argument 184 this(name, new FilePartSource(fileName, file), contentType, charse [all...] |
H A D | Part.java | 237 String contentType = getContentType(); 238 if (contentType != null) { 241 out.write(EncodingUtils.getAsciiBytes(contentType));
|
/frameworks/opt/telephony/src/java/com/google/android/mms/ |
H A D | ContentType.java | 169 public static boolean isSupportedType(String contentType) { argument 170 return (null != contentType) && sSupportedContentTypes.contains(contentType); 173 public static boolean isSupportedImageType(String contentType) { argument 174 return isImageType(contentType) && isSupportedType(contentType); 177 public static boolean isSupportedAudioType(String contentType) { argument 178 return isAudioType(contentType) && isSupportedType(contentType); 181 public static boolean isSupportedVideoType(String contentType) { argument 185 isTextType(String contentType) argument 189 isImageType(String contentType) argument 193 isAudioType(String contentType) argument 197 isVideoType(String contentType) argument 201 isDrmType(String contentType) argument 207 isUnspecified(String contentType) argument [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | BaseKeyListener.java | 132 int contentType = InputType.TYPE_CLASS_TEXT; 135 contentType |= InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS; 138 contentType |= InputType.TYPE_TEXT_FLAG_CAP_WORDS; 141 contentType |= InputType.TYPE_TEXT_FLAG_CAP_SENTENCES; 145 contentType |= InputType.TYPE_TEXT_FLAG_AUTO_CORRECT; 147 return contentType;
|
H A D | DigitsKeyListener.java | 127 int contentType = InputType.TYPE_CLASS_NUMBER; 129 contentType |= InputType.TYPE_NUMBER_FLAG_SIGNED; 132 contentType |= InputType.TYPE_NUMBER_FLAG_DECIMAL; 134 return contentType;
|
/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | HttpHeaderParser.java | 122 String contentType = headers.get(HTTP.CONTENT_TYPE); 123 if (contentType != null) { 124 String[] params = contentType.split(";");
|
/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/ |
H A D | MultipartTest.java | 55 StringBuffer contentType = new StringBuffer("multipart/form-data"); 56 contentType.append("; boundary="); 57 contentType.append(boundry); 58 assertEquals("Multipart content type error", contentType.toString(), h.getValue());
|
/frameworks/av/media/libstagefright/ |
H A D | DataSource.cpp | 189 String8 *contentType, 191 if (contentType != NULL) { 192 *contentType = ""; 242 if (contentType != NULL) { 243 *contentType = httpSource->getMIMEType(); 185 CreateFromURI( const sp<IMediaHTTPService> &httpService, const char *uri, const KeyedVector<String8, String8> *headers, String8 *contentType, HTTPBase *httpSource) argument
|
H A D | AwesomePlayer.cpp | 2272 String8 contentType = mConnectingDataSource->getMIMEType(); local 2303 if (strncasecmp(contentType.string(), "audio/", 6)) {
|
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
H A D | SendReq.java | 53 * @param contentType the content type value 58 * NullPointerException if contentType, form or transactionId is null. 60 public SendReq(byte[] contentType, argument 66 setContentType(contentType);
|
H A D | PduPersister.java | 403 byte[] contentType = getByteArrayFromPartColumn( 405 if (contentType != null) { 406 part.setContentType(contentType); 430 String type = toIsoString(contentType); 713 String contentType = getPartContentType(part); 714 if (contentType != null) { 717 if (ContentType.IMAGE_JPG.equals(contentType)) { 718 contentType = ContentType.IMAGE_JPEG; 721 values.put(Part.CONTENT_TYPE, contentType); 723 if (ContentType.APP_SMIL.equals(contentType)) { 783 persistData(PduPart part, Uri uri, String contentType, HashMap<Uri, InputStream> preOpenedFiles) argument [all...] |
H A D | PduParser.java | 175 byte[] contentType = retrieveConf.getContentType(); 176 if (null == contentType) { 179 String ctTypeStr = new String(contentType); 786 byte[] contentType = 789 if (null != contentType) { 793 contentType.toString()); 795 headers.setTextString(contentType, PduHeaders.CONTENT_TYPE); 855 byte[] contentType = parseContentType(pduDataStream, map); 856 if (null != contentType) { 857 part.setContentType(contentType); [all...] |
H A D | PduPart.java | 307 public void setContentType(byte[] contentType) { argument 308 if(contentType == null) { 312 mPartHeader.put(P_CONTENT_TYPE, contentType);
|
H A D | PduComposer.java | 851 String contentType = new String(mPduHeader.getTextString(PduHeaders.CONTENT_TYPE)); 852 Integer contentTypeIdentifier = mContentTypeMap.get(contentType);
|
/frameworks/base/core/java/android/print/ |
H A D | PrintDocumentInfo.java | 252 builder.append(", contentType=").append(contentTyepToString(mContentType)); 258 private String contentTyepToString(int contentType) { argument 259 switch (contentType) {
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
H A D | FwdLockEngine.cpp | 325 String8 contentType = String8(pMimeType); local 326 contentType.toLower(); 327 mimeString = MimeTypeUtil::convertMimeType(contentType); 503 String8 contentType = String8(pmime == NULL ? "" : pmime); local 504 contentType.toLower(); 505 decryptHandle->mimeType = MimeTypeUtil::convertMimeType(contentType);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
H A D | FwdLockConv.c | 141 FwdLockConv_String_t contentType; member in struct:FwdLockConv_Session 474 if (pSession->contentType.ptr == NULL) { 503 if (pSession->contentType.ptr == NULL) { 505 pSession->contentType.ptr = malloc(sizeof strTextPlain); 506 if (pSession->contentType.ptr == NULL) { 509 memcpy(pSession->contentType.ptr, strTextPlain, sizeof strTextPlain); 510 pSession->contentType.length = strlenTextPlain; 511 pSession->contentType.maxLength = strlenTextPlain; 529 if (pSession->contentType.ptr == NULL) { 531 } else if (strcmp(pSession->contentType [all...] |
/frameworks/base/media/java/android/media/ |
H A D | AudioAttributes.java | 395 * @param contentType the content type values, one of 403 public Builder setContentType(@AttributeContentType int contentType) { argument 404 switch (contentType) { 410 mContentType = contentType;
|
/frameworks/av/include/media/stagefright/ |
H A D | DataSource.h | 52 String8 *contentType = NULL,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | WapPushOverSms.java | 222 String contentType = ((mimeType == null) ? 224 if (DBG) Rlog.v(TAG, "appid found: " + wapAppId + ":" + contentType); 242 int procRet = wapPushMan.processMessage(wapAppId, contentType, intent);
|
/frameworks/base/core/java/android/net/http/ |
H A D | AndroidHttpClient.java | 500 for (String contentType : textContentTypes) { 501 if (header.getValue().startsWith(contentType)) {
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
H A D | WapPushTest.java | 2150 String contentType = ((mimeType == null) ? 2152 if (false) Log.v(LOG_TAG, "appid found: " + wapAppId + ":" + contentType); 2168 int procRet = wapPushMan.processMessage(wapAppId, contentType, intent);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
H A D | PrintSpoolerService.java | 718 private static final String ATTR_CONTENT_TYPE = "contentType"; 1130 final int contentType = Integer.parseInt(parser.getAttributeValue(null, 1136 .setContentType(contentType).build();
|
/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL.h | 2465 XAuint8 contentType,
|