Searched refs:contentTypes (Results 1 – 5 of 5) sorted by relevance
28 static final String[] contentTypes = { field in PduContentTypes
862 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()
131 for (i = 0; i < PduContentTypes.contentTypes.length; i++) {132 mContentTypeMap.put(PduContentTypes.contentTypes[i], i); in mContentTypeMap.put()
1175 public Builder setUnfadeableContentTypes(@NonNull List<Integer> contentTypes) { in setUnfadeableContentTypes() argument1176 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() argument1487 for (int index = 0; index < contentTypes.size(); index++) { in validateContentTypes()1488 validateContentType(contentTypes.get(index)); in validateContentTypes()
429 std::map<std::string, SupportedContentType> contentTypes; in isCryptoSchemeSupported() local431 contentTypes[ct.mime] = ct; in isCryptoSchemeSupported()441 *isSupported = contentTypes.count(mimeTypeStr); in isCryptoSchemeSupported()448 auto ct = contentTypes[mimeTypeStr]; in isCryptoSchemeSupported()