Home
last modified time | relevance | path

Searched refs:contentTypes (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/telephony/common/com/google/android/mms/pdu/
DPduContentTypes.java28 static final String[] contentTypes = { field in PduContentTypes
DPduParser.java862 part.setContentType((PduContentTypes.contentTypes[0]).getBytes()); //"*/*" in parseParts()
1402 if (index < PduContentTypes.contentTypes.length) { in parseContentTypeParams()
1403 byte[] type = (PduContentTypes.contentTypes[index]).getBytes(); in parseContentTypeParams()
1556 return (PduContentTypes.contentTypes[0]).getBytes(); //"*/*" in parseContentType()
1569 if (index < PduContentTypes.contentTypes.length) { //well-known type in parseContentType()
1570 contentType = (PduContentTypes.contentTypes[index]).getBytes(); in parseContentType()
1577 return (PduContentTypes.contentTypes[0]).getBytes(); //"*/*" in parseContentType()
1588 return (PduContentTypes.contentTypes[0]).getBytes(); //"*/*" in parseContentType()
1594 (PduContentTypes.contentTypes[parseShortInteger(pduDataStream)]).getBytes(); in parseContentType()
DPduComposer.java131 for (i = 0; i < PduContentTypes.contentTypes.length; i++) {
132 mContentTypeMap.put(PduContentTypes.contentTypes[i], i); in mContentTypeMap.put()
/frameworks/base/media/java/android/media/
DFadeManagerConfiguration.java1175 public Builder setUnfadeableContentTypes(@NonNull List<Integer> contentTypes) { in setUnfadeableContentTypes() argument
1176 Objects.requireNonNull(contentTypes, "List of content types cannot be null"); in setUnfadeableContentTypes()
1177 validateContentTypes(contentTypes); in setUnfadeableContentTypes()
1180 mUnfadeableContentTypes.addAll(convertIntegerListToIntArray(contentTypes)); in setUnfadeableContentTypes()
1486 private void validateContentTypes(List<Integer> contentTypes) { in validateContentTypes() argument
1487 for (int index = 0; index < contentTypes.size(); index++) { in validateContentTypes()
1488 validateContentType(contentTypes.get(index)); in validateContentTypes()
/frameworks/av/drm/libmediadrm/
DDrmHalAidl.cpp429 std::map<std::string, SupportedContentType> contentTypes; in isCryptoSchemeSupported() local
431 contentTypes[ct.mime] = ct; in isCryptoSchemeSupported()
441 *isSupported = contentTypes.count(mimeTypeStr); in isCryptoSchemeSupported()
448 auto ct = contentTypes[mimeTypeStr]; in isCryptoSchemeSupported()