/frameworks/opt/telephony/src/java/com/google/android/mms/ |
D | ContentType.java | 169 public static boolean isSupportedType(String contentType) { in isSupportedType() argument 170 return (null != contentType) && sSupportedContentTypes.contains(contentType); in isSupportedType() 173 public static boolean isSupportedImageType(String contentType) { in isSupportedImageType() argument 174 return isImageType(contentType) && isSupportedType(contentType); in isSupportedImageType() 177 public static boolean isSupportedAudioType(String contentType) { in isSupportedAudioType() argument 178 return isAudioType(contentType) && isSupportedType(contentType); in isSupportedAudioType() 181 public static boolean isSupportedVideoType(String contentType) { in isSupportedVideoType() argument 182 return isVideoType(contentType) && isSupportedType(contentType); in isSupportedVideoType() 185 public static boolean isTextType(String contentType) { in isTextType() argument 186 return (null != contentType) && contentType.startsWith("text/"); in isTextType() [all …]
|
/frameworks/support/recommendation/api/ |
D | current.txt | 47 field public static final java.lang.String CONTENT_TYPE_APP = "android.contentType.app"; 48 field public static final java.lang.String CONTENT_TYPE_BOOK = "android.contentType.book"; 49 field public static final java.lang.String CONTENT_TYPE_COMIC = "android.contentType.comic"; 50 field public static final java.lang.String CONTENT_TYPE_GAME = "android.contentType.game"; 51 … field public static final java.lang.String CONTENT_TYPE_MAGAZINE = "android.contentType.magazine"; 52 field public static final java.lang.String CONTENT_TYPE_MOVIE = "android.contentType.movie"; 53 field public static final java.lang.String CONTENT_TYPE_MUSIC = "android.contentType.music"; 54 field public static final java.lang.String CONTENT_TYPE_NEWS = "android.contentType.news"; 55 field public static final java.lang.String CONTENT_TYPE_PODCAST = "android.contentType.podcast"; 56 field public static final java.lang.String CONTENT_TYPE_RADIO = "android.contentType.radio"; [all …]
|
D | 23.0.0.txt | 47 field public static final java.lang.String CONTENT_TYPE_APP = "android.contentType.app"; 48 field public static final java.lang.String CONTENT_TYPE_BOOK = "android.contentType.book"; 49 field public static final java.lang.String CONTENT_TYPE_COMIC = "android.contentType.comic"; 50 field public static final java.lang.String CONTENT_TYPE_GAME = "android.contentType.game"; 51 … field public static final java.lang.String CONTENT_TYPE_MAGAZINE = "android.contentType.magazine"; 52 field public static final java.lang.String CONTENT_TYPE_MOVIE = "android.contentType.movie"; 53 field public static final java.lang.String CONTENT_TYPE_MUSIC = "android.contentType.music"; 54 field public static final java.lang.String CONTENT_TYPE_NEWS = "android.contentType.news"; 55 field public static final java.lang.String CONTENT_TYPE_PODCAST = "android.contentType.podcast"; 56 field public static final java.lang.String CONTENT_TYPE_RADIO = "android.contentType.radio"; [all …]
|
D | 23.1.1.txt | 47 field public static final java.lang.String CONTENT_TYPE_APP = "android.contentType.app"; 48 field public static final java.lang.String CONTENT_TYPE_BOOK = "android.contentType.book"; 49 field public static final java.lang.String CONTENT_TYPE_COMIC = "android.contentType.comic"; 50 field public static final java.lang.String CONTENT_TYPE_GAME = "android.contentType.game"; 51 … field public static final java.lang.String CONTENT_TYPE_MAGAZINE = "android.contentType.magazine"; 52 field public static final java.lang.String CONTENT_TYPE_MOVIE = "android.contentType.movie"; 53 field public static final java.lang.String CONTENT_TYPE_MUSIC = "android.contentType.music"; 54 field public static final java.lang.String CONTENT_TYPE_NEWS = "android.contentType.news"; 55 field public static final java.lang.String CONTENT_TYPE_PODCAST = "android.contentType.podcast"; 56 field public static final java.lang.String CONTENT_TYPE_RADIO = "android.contentType.radio"; [all …]
|
D | 23.1.0.txt | 47 field public static final java.lang.String CONTENT_TYPE_APP = "android.contentType.app"; 48 field public static final java.lang.String CONTENT_TYPE_BOOK = "android.contentType.book"; 49 field public static final java.lang.String CONTENT_TYPE_COMIC = "android.contentType.comic"; 50 field public static final java.lang.String CONTENT_TYPE_GAME = "android.contentType.game"; 51 … field public static final java.lang.String CONTENT_TYPE_MAGAZINE = "android.contentType.magazine"; 52 field public static final java.lang.String CONTENT_TYPE_MOVIE = "android.contentType.movie"; 53 field public static final java.lang.String CONTENT_TYPE_MUSIC = "android.contentType.music"; 54 field public static final java.lang.String CONTENT_TYPE_NEWS = "android.contentType.news"; 55 field public static final java.lang.String CONTENT_TYPE_PODCAST = "android.contentType.podcast"; 56 field public static final java.lang.String CONTENT_TYPE_RADIO = "android.contentType.radio"; [all …]
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
D | FwdLockConv.c | 142 FwdLockConv_String_t contentType; member 475 if (pSession->contentType.ptr == NULL) { in FwdLockConv_RecognizeMimeHeaderName() 504 if (pSession->contentType.ptr == NULL) { in FwdLockConv_ApplyDefaults() 506 pSession->contentType.ptr = malloc(sizeof strTextPlain); in FwdLockConv_ApplyDefaults() 507 if (pSession->contentType.ptr == NULL) { in FwdLockConv_ApplyDefaults() 510 memcpy(pSession->contentType.ptr, strTextPlain, sizeof strTextPlain); in FwdLockConv_ApplyDefaults() 511 pSession->contentType.length = strlenTextPlain; in FwdLockConv_ApplyDefaults() 512 pSession->contentType.maxLength = strlenTextPlain; in FwdLockConv_ApplyDefaults() 530 if (pSession->contentType.ptr == NULL) { in FwdLockConv_VerifyContentType() 532 } else if (strcmp(pSession->contentType.ptr, strApplicationVndOmaDrmRightsXml) == 0 || in FwdLockConv_VerifyContentType() [all …]
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
D | HTTPHandler.java | 103 public ByteBuffer exchangeBinary(URL url, String message, String contentType) in exchangeBinary() argument 106 exchangeWithRetry(url, message, HTTPMessage.Method.POST, contentType); in exchangeBinary() 120 String contentType) throws IOException { in exchangeWithRetry() argument 125 response = httpExchange(url, message, method, contentType); in exchangeWithRetry() 146 String contentType) in httpExchange() argument 148 HTTPRequest request = new HTTPRequest(message, mCharset, method, url, contentType, false); in httpExchange() 159 contentType, true); in httpExchange()
|
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
D | PduPersister.java | 404 byte[] contentType = getByteArrayFromPartColumn( in loadParts() 406 if (contentType != null) { in loadParts() 407 part.setContentType(contentType); in loadParts() 431 String type = toIsoString(contentType); in loadParts() 714 String contentType = getPartContentType(part); in persistPart() local 715 if (contentType != null) { in persistPart() 718 if (ContentType.IMAGE_JPG.equals(contentType)) { in persistPart() 719 contentType = ContentType.IMAGE_JPEG; in persistPart() 722 values.put(Part.CONTENT_TYPE, contentType); in persistPart() 724 if (ContentType.APP_SMIL.equals(contentType)) { in persistPart() [all …]
|
D | PduParser.java | 175 byte[] contentType = retrieveConf.getContentType(); in parse() 176 if (null == contentType) { in parse() 179 String ctTypeStr = new String(contentType); in parse() 786 byte[] contentType = in parseHeaders() 789 if (null != contentType) { in parseHeaders() 793 contentType.toString()); in parseHeaders() 795 headers.setTextString(contentType, PduHeaders.CONTENT_TYPE); in parseHeaders() 855 byte[] contentType = parseContentType(pduDataStream, map); in parseParts() 856 if (null != contentType) { in parseParts() 857 part.setContentType(contentType); in parseParts() [all …]
|
D | PduPart.java | 307 public void setContentType(byte[] contentType) { in setContentType() argument 308 if(contentType == null) { in setContentType() 312 mPartHeader.put(P_CONTENT_TYPE, contentType); in setContentType()
|
D | SendReq.java | 60 public SendReq(byte[] contentType, in SendReq() argument 66 setContentType(contentType); in SendReq()
|
D | PduComposer.java | 851 String contentType = new String(mPduHeader.getTextString(PduHeaders.CONTENT_TYPE)); in makeMessageBody() local 852 Integer contentTypeIdentifier = mContentTypeMap.get(contentType); in makeMessageBody()
|
/frameworks/base/core/java/android/text/method/ |
D | DigitsKeyListener.java | 127 int contentType = InputType.TYPE_CLASS_NUMBER; in getInputType() local 129 contentType |= InputType.TYPE_NUMBER_FLAG_SIGNED; in getInputType() 132 contentType |= InputType.TYPE_NUMBER_FLAG_DECIMAL; in getInputType() 134 return contentType; in getInputType()
|
D | BaseKeyListener.java | 432 int contentType = InputType.TYPE_CLASS_TEXT; in makeTextContentType() local 435 contentType |= InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS; in makeTextContentType() 438 contentType |= InputType.TYPE_TEXT_FLAG_CAP_WORDS; in makeTextContentType() 441 contentType |= InputType.TYPE_TEXT_FLAG_CAP_SENTENCES; in makeTextContentType() 445 contentType |= InputType.TYPE_TEXT_FLAG_AUTO_CORRECT; in makeTextContentType() 447 return contentType; in makeTextContentType()
|
/frameworks/av/media/libstagefright/ |
D | DataSource.cpp | 197 String8 *contentType, in CreateFromURI() argument 199 if (contentType != NULL) { in CreateFromURI() 200 *contentType = ""; in CreateFromURI() 250 if (contentType != NULL) { in CreateFromURI() 251 *contentType = httpSource->getMIMEType(); in CreateFromURI()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/ |
D | MultipartTest.java | 55 StringBuffer contentType = new StringBuffer("multipart/form-data"); in testParts() local 56 contentType.append("; boundary="); in testParts() 57 contentType.append(boundry); in testParts() 58 assertEquals("Multipart content type error", contentType.toString(), h.getValue()); in testParts()
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
D | HttpHeaderParser.java | 145 String contentType = headers.get(HTTP.CONTENT_TYPE); in parseCharset() local 146 if (contentType != null) { in parseCharset() 147 String[] params = contentType.split(";"); in parseCharset()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/ |
D | HTTPResponse.java | 169 String contentType = mHeaders.get(ContentTypeHeader); in getCharset() local 170 if (contentType == null) { in getCharset() 173 int csPos = contentType.indexOf(csIndicator); in getCharset() 174 return csPos < 0 ? null : contentType.substring(csPos + csIndicator.length()).trim(); in getCharset()
|
D | HTTPRequest.java | 35 public HTTPRequest(String payload, Charset charset, Method method, URL url, String contentType, in HTTPRequest() argument 49 mHeaderFields.put(ContentTypeHeader, contentType); in HTTPRequest() 52 mHeaderFields.put(ContentTypeHeader, contentType + "; charset=" + in HTTPRequest()
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
D | FwdLockEngine.cpp | 330 String8 contentType = String8(pMimeType); in onGetOriginalMimeType() local 331 contentType.toLower(); in onGetOriginalMimeType() 332 mimeString = MimeTypeUtil::convertMimeType(contentType); in onGetOriginalMimeType() 508 String8 contentType = String8(pmime == NULL ? "" : pmime); local 509 contentType.toLower(); 510 decryptHandle->mimeType = MimeTypeUtil::convertMimeType(contentType);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | WapPushOverSms.java | 250 String contentType = ((mimeType == null) ? in decodeWapPdu() local 252 result.contentType = contentType; in decodeWapPdu() 253 if (DBG) Rlog.v(TAG, "appid found: " + wapAppId + ":" + contentType); in decodeWapPdu() 320 result.wapAppId, result.contentType, intent); in dispatchWapPdu() 579 String contentType; field in WapPushOverSms.DecodedResult
|
/frameworks/base/core/java/android/print/ |
D | PrintDocumentInfo.java | 273 private String contentTypeToString(int contentType) { in contentTypeToString() argument 274 switch (contentType) { in contentTypeToString()
|
/frameworks/base/media/java/android/media/ |
D | AudioAttributes.java | 458 public Builder setContentType(@AttributeContentType int contentType) { in setContentType() argument 459 switch (contentType) { in setContentType() 465 mContentType = contentType; in setContentType()
|
/frameworks/av/include/media/stagefright/ |
D | DataSource.h | 53 String8 *contentType = NULL,
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/est/ |
D | ESTHandler.java | 251 Asn1Object contentType = children.next(); in unpackPkcs7() local 252 if (!contentType.equals(Asn1Oid.PKCS7SignedData)) { in unpackPkcs7()
|