/frameworks/base/telephony/common/com/google/android/mms/ |
D | ContentType.java | 175 public static boolean isSupportedType(String contentType) { in isSupportedType() argument 176 return (null != contentType) && sSupportedContentTypes.contains(contentType); in isSupportedType() 180 public static boolean isSupportedImageType(String contentType) { in isSupportedImageType() argument 181 return isImageType(contentType) && isSupportedType(contentType); in isSupportedImageType() 185 public static boolean isSupportedAudioType(String contentType) { in isSupportedAudioType() argument 186 return isAudioType(contentType) && isSupportedType(contentType); in isSupportedAudioType() 190 public static boolean isSupportedVideoType(String contentType) { in isSupportedVideoType() argument 191 return isVideoType(contentType) && isSupportedType(contentType); in isSupportedVideoType() 195 public static boolean isTextType(String contentType) { in isTextType() argument 196 return (null != contentType) && contentType.startsWith("text/"); in isTextType() [all …]
|
/frameworks/av/media/libaaudio/tests/ |
D | test_attributes.cpp | 33 aaudio_content_type_t contentType, in checkAttributes() argument 54 if (contentType != DONT_SET) { in checkAttributes() 55 AAudioStreamBuilder_setContentType(aaudioBuilder, contentType); in checkAttributes() 76 (contentType == DONT_SET || contentType == AAUDIO_UNSPECIFIED) in checkAttributes() 78 : contentType; in checkAttributes() 161 for (aaudio_content_type_t contentType : sContentypes) { in checkAttributesContentType() local 162 checkAttributes(perfMode, DONT_SET, contentType); in checkAttributesContentType()
|
/frameworks/base/wifi/java/android/net/wifi/hotspot2/ |
D | ConfigParser.java | 89 public String contentType = null; field in ConfigParser.MimeHeader 222 if (!TextUtils.equals(header.contentType, TYPE_MULTIPART_MIXED)) { in parseMimeMultipartMessage() 223 throw new IOException("Invalid content type: " + header.contentType); in parseMimeMultipartMessage() 273 if (!TextUtils.equals(header.contentType, TYPE_PASSPOINT_PROFILE) && in parseMimePart() 274 !TextUtils.equals(header.contentType, TYPE_CA_CERT) && in parseMimePart() 275 !TextUtils.equals(header.contentType, TYPE_PKCS12)) { in parseMimePart() 276 throw new IOException("Unexpected content type: " + header.contentType); in parseMimePart() 299 part.type = header.contentType; in parseMimePart() 323 header.contentType = value.first; in parseHeaders() 348 private static Pair<String, String> parseContentType(String contentType) throws IOException { in parseContentType() argument [all …]
|
/frameworks/av/media/libdatasource/ |
D | DataSourceFactory.cpp | 50 String8 *contentType, in CreateFromURI() argument 52 if (contentType != NULL) { in CreateFromURI() 53 *contentType = ""; in CreateFromURI() 86 if (contentType != NULL) { in CreateFromURI() 87 *contentType = mediaHTTP->getMIMEType(); in CreateFromURI()
|
/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/telephony/common/com/google/android/mms/pdu/ |
D | PduPersister.java | 414 byte[] contentType = getByteArrayFromPartColumn( in loadParts() 416 if (contentType != null) { in loadParts() 417 part.setContentType(contentType); in loadParts() 441 String type = toIsoString(contentType); in loadParts() 728 String contentType = getPartContentType(part); in persistPart() local 729 if (contentType != null) { in persistPart() 732 if (ContentType.IMAGE_JPG.equals(contentType)) { in persistPart() 733 contentType = ContentType.IMAGE_JPEG; in persistPart() 736 values.put(Part.CONTENT_TYPE, contentType); in persistPart() 738 if (ContentType.APP_SMIL.equals(contentType)) { in persistPart() [all …]
|
D | PduParser.java | 178 byte[] contentType = retrieveConf.getContentType(); in parse() 179 if (null == contentType) { in parse() 182 String ctTypeStr = new String(contentType); in parse() 789 byte[] contentType = in parseHeaders() 792 if (null != contentType) { in parseHeaders() 796 contentType.toString()); in parseHeaders() 798 headers.setTextString(contentType, PduHeaders.CONTENT_TYPE); in parseHeaders() 858 byte[] contentType = parseContentType(pduDataStream, map); in parseParts() 859 if (null != contentType) { in parseParts() 860 part.setContentType(contentType); in parseParts() [all …]
|
D | PduPart.java | 323 public void setContentType(byte[] contentType) { in setContentType() argument 324 if(contentType == null) { in setContentType() 328 mPartHeader.put(P_CONTENT_TYPE, contentType); in setContentType()
|
D | SendReq.java | 62 public SendReq(byte[] contentType, in SendReq() argument 68 setContentType(contentType); in SendReq()
|
/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/base/core/java/android/text/method/ |
D | DigitsKeyListener.java | 323 int contentType; in getInputType() local 325 contentType = InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_NORMAL; in getInputType() 327 contentType = InputType.TYPE_CLASS_NUMBER; in getInputType() 329 contentType |= InputType.TYPE_NUMBER_FLAG_SIGNED; in getInputType() 332 contentType |= InputType.TYPE_NUMBER_FLAG_DECIMAL; in getInputType() 335 return contentType; in getInputType()
|
D | BaseKeyListener.java | 456 int contentType = InputType.TYPE_CLASS_TEXT; in makeTextContentType() local 459 contentType |= InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS; in makeTextContentType() 462 contentType |= InputType.TYPE_TEXT_FLAG_CAP_WORDS; in makeTextContentType() 465 contentType |= InputType.TYPE_TEXT_FLAG_CAP_SENTENCES; in makeTextContentType() 469 contentType |= InputType.TYPE_TEXT_FLAG_AUTO_CORRECT; in makeTextContentType() 471 return contentType; in makeTextContentType()
|
/frameworks/av/media/libaudioclient/tests/ |
D | test_create_audiotrack.cpp | 70 audio_content_type_t contentType; in testTrack() local 83 &flags, &sessionId, &usage, &contentType) != NUM_ARGUMENTS) { in testTrack() 109 attributes.content_type = contentType; in testTrack()
|
D | track_test_input_v1.0_ref.txt | 4 …te format channelMask frameCount notificationFrames sharedBuffer flags sessionId usage contentType
|
/frameworks/av/media/libaaudio/src/utility/ |
D | AAudioUtilities.cpp | 192 audio_content_type_t AAudioConvert_contentTypeToInternal(aaudio_content_type_t contentType) { in AAudioConvert_contentTypeToInternal() argument 199 if (contentType == AAUDIO_UNSPECIFIED) { in AAudioConvert_contentTypeToInternal() 200 contentType = AAUDIO_CONTENT_TYPE_MUSIC; in AAudioConvert_contentTypeToInternal() 202 return (audio_content_type_t) contentType; // same value in AAudioConvert_contentTypeToInternal()
|
/frameworks/av/media/libaaudio/src/core/ |
D | AAudioStreamParameters.h | 103 void setContentType(aaudio_content_type_t contentType) { in setContentType() argument 104 mContentType = contentType; in setContentType()
|
D | AudioStream.h | 528 void setContentType(aaudio_content_type_t contentType) { in setContentType() argument 529 mContentType = contentType; in setContentType()
|
/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() 510 String8 contentType = String8(pmime == NULL ? "" : pmime); local 511 contentType.toLower(); 512 decryptHandle->mimeType = MimeTypeUtil::convertMimeType(contentType);
|
/frameworks/base/core/java/android/os/ |
D | ExternalVibration.java | 64 int contentType = in.readInt(); in readAudioAttributes() local 69 .setContentType(contentType) in readAudioAttributes()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | WapPushOverSms.java | 330 String contentType = ((mimeType == null) ? in decodeWapPdu() local 332 result.contentType = contentType; in decodeWapPdu() 333 if (DBG) Rlog.v(TAG, "appid found: " + wapAppId + ":" + contentType); in decodeWapPdu() 402 result.wapAppId, result.contentType, intent); in dispatchWapPdu() 665 String contentType; field in WapPushOverSms.DecodedResult
|
/frameworks/base/core/java/android/print/ |
D | PrintDocumentInfo.java | 276 private String contentTypeToString(int contentType) { in contentTypeToString() argument 277 switch (contentType) { in contentTypeToString()
|
/frameworks/av/media/libdatasource/include/datasource/ |
D | DataSourceFactory.h | 39 String8 *contentType = NULL,
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | AAudioArgsParser.h | 36 aaudio_content_type_t contentType) = nullptr; 171 void setContentType(aaudio_content_type_t contentType) { in setContentType() argument 172 mContentType = contentType; in setContentType()
|
/frameworks/av/services/oboeservice/ |
D | AAudioServiceEndpointMMAP.cpp | 84 const audio_content_type_t contentType = in open() local 97 .content_type = contentType, in open()
|
/frameworks/base/core/java/android/app/usage/ |
D | IUsageStatsManager.aidl | 49 void reportChooserSelection(String packageName, int userId, String contentType, in reportChooserSelection() argument
|