/frameworks/base/telephony/common/com/google/android/mms/ |
D | ContentType.java | 176 public static boolean isSupportedType(String contentType) { in isSupportedType() argument 177 return (null != contentType) && sSupportedContentTypes.contains(contentType); in isSupportedType() 181 public static boolean isSupportedImageType(String contentType) { in isSupportedImageType() argument 182 return isImageType(contentType) && isSupportedType(contentType); in isSupportedImageType() 186 public static boolean isSupportedAudioType(String contentType) { in isSupportedAudioType() argument 187 return isAudioType(contentType) && isSupportedType(contentType); in isSupportedAudioType() 191 public static boolean isSupportedVideoType(String contentType) { in isSupportedVideoType() argument 192 return isVideoType(contentType) && isSupportedType(contentType); in isSupportedVideoType() 196 public static boolean isTextType(String contentType) { in isTextType() argument 197 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 55 if (contentType != DONT_SET) { in checkAttributes() 56 AAudioStreamBuilder_setContentType(aaudioBuilder, contentType); in checkAttributes() 80 (contentType == DONT_SET || contentType == AAUDIO_UNSPECIFIED) in checkAttributes() 82 : contentType; in checkAttributes() 182 for (aaudio_content_type_t contentType : sContentypes) { in checkAttributesContentType() local 183 checkAttributes(perfMode, DONT_SET, contentType); in checkAttributesContentType()
|
/frameworks/av/media/libdatasource/ |
D | DataSourceFactory.cpp | 50 String8 *contentType, in CreateFromURI() argument 52 if (contentType != NULL) { in CreateFromURI() 53 *contentType = ""; in CreateFromURI() 89 if (contentType != NULL) { in CreateFromURI() 90 *contentType = mediaHTTP->getMIMEType(); in CreateFromURI()
|
/frameworks/av/media/libaaudio/src/binding/ |
D | AAudioStreamConfiguration.cpp | 44 static_assert(sizeof(aaudio_content_type_t) == sizeof(parcelable.contentType)); in AAudioStreamConfiguration() 45 setContentType(parcelable.contentType); in AAudioStreamConfiguration() 77 static_assert(sizeof(aaudio_content_type_t) == sizeof(result.contentType)); in parcelable() 78 result.contentType = getContentType(); in parcelable()
|
/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/libs/service_entitlement/java/com/android/libraries/entitlement/http/ |
D | HttpResponse.java | 34 public abstract int contentType(); in contentType() method in HttpResponse 54 public abstract Builder setContentType(int contentType); in setContentType() argument 81 .append(contentType()) in toString()
|
D | HttpClient.java | 160 String contentType = connection.getHeaderField(ContentType.NAME); in getContentType() local 161 if (TextUtils.isEmpty(contentType)) { in getContentType() 165 if (contentType.contains("xml")) { in getContentType() 167 } else if ("text/vnd.wap.connectivity".equals(contentType)) { in getContentType() 170 } else if (contentType.contains("json")) { in getContentType()
|
/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/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 | 324 public void setContentType(byte[] contentType) { in setContentType() argument 325 if(contentType == null) { in setContentType() 329 mPartHeader.put(P_CONTENT_TYPE, contentType); in setContentType()
|
D | SendReq.java | 63 public SendReq(byte[] contentType, in SendReq() argument 69 setContentType(contentType); in SendReq()
|
/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()
|
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/eapaka/ |
D | EapAkaApi.java | 161 String contentType) in respondToEapAkaChallenge() argument 179 contentType); in respondToEapAkaChallenge() 190 carrierConfig, newChallenge, followSyncFailureCount - 1, contentType); in respondToEapAkaChallenge() 205 String contentType) in challengeResponse() argument 220 .addRequestProperty(HttpHeaders.ACCEPT, contentType) in challengeResponse() 350 private HttpResponse httpGet(String url, CarrierConfig carrierConfig, String contentType) in httpGet() argument 356 .addRequestProperty(HttpHeaders.ACCEPT, contentType) in httpGet()
|
/frameworks/libs/service_entitlement/tests/utils/com/android/libraries/entitlement/testing/ |
D | FakeURLStreamHandler.java | 122 return mResponse.contentType(); in getHeaderField() 169 public abstract String contentType(); in contentType() method in FakeURLStreamHandler.FakeResponse 190 public abstract Builder setContentType(String contentType); in setContentType() argument
|
/frameworks/av/services/mediametrics/ |
D | AudioTypes.cpp | 258 int32_t lookup<CONTENT_TYPE>(const std::string &contentType) in lookup() argument 261 if (!TypeConverter<AudioContentTraits>::fromString(contentType, value)) { in lookup() 268 std::string lookup<CONTENT_TYPE>(const std::string &contentType) in lookup() argument 271 if (!TypeConverter<AudioContentTraits>::fromString(contentType, value)) { in lookup() 274 return contentType.c_str() + sizeof("AUDIO_CONTENT_TYPE"); in lookup()
|
/frameworks/av/media/libaaudio/src/utility/ |
D | AAudioUtilities.cpp | 208 audio_content_type_t AAudioConvert_contentTypeToInternal(aaudio_content_type_t contentType) { in AAudioConvert_contentTypeToInternal() argument 215 if (contentType == AAUDIO_UNSPECIFIED) { in AAudioConvert_contentTypeToInternal() 216 contentType = AAUDIO_CONTENT_TYPE_MUSIC; in AAudioConvert_contentTypeToInternal() 218 return (audio_content_type_t) contentType; // same value in AAudioConvert_contentTypeToInternal()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | WapPushOverSms.java | 284 String contentType = ((mimeType == null) ? in decodeWapPdu() local 286 result.contentType = contentType; in decodeWapPdu() 287 if (DBG) Rlog.v(TAG, "appid found: " + wapAppId + ":" + contentType); in decodeWapPdu() 357 result.wapAppId, result.contentType, intent); in dispatchWapPdu() 465 String contentType; field in WapPushOverSms.DecodedResult
|
/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()
|
/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/av/media/libaaudio/src/binding/aidl/aaudio/ |
D | StreamParameters.aidl | 29 int /* aaudio_content_type_t */ contentType; // = AAUDIO_UNSPECIFIED;
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | AudioAttributesInternal.aidl | 29 AudioContentType contentType;
|
/frameworks/base/core/java/android/os/ |
D | ExternalVibration.java | 65 int contentType = in.readInt(); in readAudioAttributes() local 70 .setContentType(contentType) in readAudioAttributes()
|