/packages/apps/Mms/src/com/android/mms/model/ |
CarrierContentRestriction.java | 30 import com.google.android.mms.ContentType; 39 sSupportedImageTypes = ContentType.getImageTypes(); 40 sSupportedAudioTypes = ContentType.getAudioTypes(); 41 sSupportedVideoTypes = ContentType.getVideoTypes(); 71 public void checkImageContentType(String contentType) 73 if (null == contentType) { 77 if (!sSupportedImageTypes.contains(contentType)) { 79 + contentType); 83 public void checkAudioContentType(String contentType) 85 if (null == contentType) { [all...] |
RegionMediaModel.java | 34 public RegionMediaModel(Context context, String tag, String contentType, 36 super(context, tag, contentType, src, uri); 40 public RegionMediaModel(Context context, String tag, String contentType, 42 super(context, tag, contentType, src, data);
|
MediaModelFactory.java | 33 import com.google.android.mms.ContentType; 121 return new TextModel(context, ContentType.TEXT_PLAIN, null, regionModel); 133 String contentType = new String(bytes); 136 media = new TextModel(context, contentType, src, 139 media = new ImageModel(context, contentType, src, 142 media = new VideoModel(context, contentType, src, 145 media = new AudioModel(context, contentType, src, 148 if (ContentType.isTextType(contentType)) { 149 media = new TextModel(context, contentType, src [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/ |
ContentInfo.java | 19 private ASN1ObjectIdentifier contentType; 45 contentType = (ASN1ObjectIdentifier)seq.getObjectAt(0); 60 ASN1ObjectIdentifier contentType, 63 this.contentType = contentType; 69 return contentType; 81 * contentType ContentType, 83 * [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL } 90 v.add(contentType); [all...] |
CMSAttributes.java | 8 public static final ASN1ObjectIdentifier contentType = PKCSObjectIdentifiers.pkcs_9_at_contentType;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
ContentInfo.java | 20 private ASN1ObjectIdentifier contentType; 45 contentType = (ASN1ObjectIdentifier)e.nextElement(); 56 ASN1ObjectIdentifier contentType, 59 this.contentType = contentType; 65 return contentType; 77 * contentType ContentType, 79 * [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL } 86 v.add(contentType); [all...] |
EncryptedData.java | 26 * contentType ContentType, 71 ASN1ObjectIdentifier contentType, 77 v.add(contentType);
|
/external/chromium/chrome/browser/resources/options/ |
content_settings_exceptions_area.html | 11 <div contentType="cookies"> 24 <div contentType="images"> 33 <div contentType="javascript"> 42 <div contentType="plugins"> 51 <div contentType="popups"> 60 <div contentType="location"> 64 <div contentType="notifications">
|
/frameworks/opt/mms/src/java/com/google/android/mms/ |
ContentType.java | 22 public class ContentType { 166 private ContentType() { 169 public static boolean isSupportedType(String contentType) { 170 return (null != contentType) && sSupportedContentTypes.contains(contentType); 173 public static boolean isSupportedImageType(String contentType) { 174 return isImageType(contentType) && isSupportedType(contentType); 177 public static boolean isSupportedAudioType(String contentType) { 178 return isAudioType(contentType) && isSupportedType(contentType) [all...] |
/external/nist-sip/java/javax/sip/header/ |
ContentTypeHeader.java | 9 void setContentType(String contentType, String contentSubType)
|
MediaType.java | 10 void setContentType(String contentType) throws ParseException;
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
ContentTypeParser.java | 48 public ContentTypeParser(String contentType) { 49 super(contentType); 58 ContentType contentType = new ContentType(); 69 contentType.setContentType(type.getTokenValue()); 76 contentType.setContentSubType(subType.getTokenValue()); 77 super.parse(contentType); 83 return contentType;
|
/external/libxml2/include/libxml/ |
nanohttp.h | 30 char **contentType); 35 char **contentType, 42 char **contentType, 48 char **contentType); 51 char **contentType,
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
ContentType.java | 35 * ContentType SIP Header 64 public class ContentType 78 public ContentType() { 83 *@param contentType is the content type. 86 public ContentType(String contentType, String contentSubtype) { 88 this.setContentType(contentType, contentSubtype); 170 *@param contentType Content type string. 173 public void setContentType(String contentType, String contentSubType) { 176 mediaRange.setType(contentType); [all...] |
/external/nist-sip/java/javax/sip/message/ |
MessageFactory.java | 18 MaxForwardsHeader maxForwards, ContentTypeHeader contentType, 23 MaxForwardsHeader maxForwards, ContentTypeHeader contentType, 34 MaxForwardsHeader maxForwards, ContentTypeHeader contentType, 39 MaxForwardsHeader maxForwards, ContentTypeHeader contentType, 47 ContentTypeHeader contentType, Object content) 51 ContentTypeHeader contentType, byte[] content)
|
/external/webkit/LayoutTests/http/tests/resources/ |
tripmine.php | 37 $contentType = $_SERVER['CONTENT_TYPE']; 51 if (isset($contentType) 52 && !preg_match("/^application\/x\-www\-form\-urlencoded(;.+)?$/", $contentType) 53 && !preg_match("/^multipart\/form\-data(;.+)?$/", $contentType) 54 && !preg_match("/^text\/plain(;.+)?$/", $contentType)) { 55 setState("FAIL. Non-simple content type: $contentType.", $stateFile);
|
/external/webkit/Source/WebCore/platform/network/ |
BlobStorageData.h | 42 static PassRefPtr<BlobStorageData> create(const String& contentType, const String& contentDisposition) 44 return adoptRef(new BlobStorageData(contentType, contentDisposition)); 47 const String& contentType() const { return m_data.contentType(); } 54 BlobStorageData(const String& contentType, const String& contentDisposition) 56 m_data.setContentType(contentType);
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
DefaultSignedAttributeTableGenerator.java | 51 * normally include contentType, signingTime, and messageDigest. If the constructor 52 * using an AttributeTable was used, entries in it for contentType, signingTime, and 64 if (!std.containsKey(CMSAttributes.contentType)) 66 DERObjectIdentifier contentType = (DERObjectIdentifier) 69 // contentType will be null if we're trying to generate a counter signature. 70 if (contentType != null) 72 Attribute attr = new Attribute(CMSAttributes.contentType, 73 new DERSet(contentType));
|
CMSAttributeTableGenerator.java | 12 static final String CONTENT_TYPE = "contentType";
|
/external/webkit/Source/WebCore/platform/ |
ContentType.cpp | 29 #include "ContentType.h" 33 ContentType::ContentType(const String& contentType) 34 : m_type(contentType) 38 String ContentType::parameter(const String& parameterName) const 67 String ContentType::type() const
|
/packages/apps/Browser/src/com/android/browser/ |
DataUri.java | 45 String contentType = uri.substring(DATA_URI_PREFIX.length(), 48 if (contentType.contains(BASE_64_ENCODING)) { 51 int semiIndex = contentType.indexOf(';'); 53 mMimeType = contentType.substring(0, semiIndex); 55 mMimeType = contentType;
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
MimeMultipart.java | 43 public MimeMultipart(String contentType) throws MessagingException { 44 this.mContentType = contentType; 46 mSubType = MimeUtility.getHeaderParameter(contentType, null).split("/")[1]; 47 mBoundary = MimeUtility.getHeaderParameter(contentType, "boundary"); 49 throw new MessagingException("MultiPart does not contain boundary: " + contentType); 54 + contentType + ")", e);
|
/external/expat/xmlwf/ |
xmlmime.h | 9 /* Figure out the charset to use from the ContentType.
|
/external/webkit/Source/WebCore/xml/ |
DOMParser.cpp | 28 PassRefPtr<Document> DOMParser::parseFromString(const String& str, const String& contentType) 30 if (!DOMImplementation::isXMLMIMEType(contentType)) 33 RefPtr<Document> doc = DOMImplementation::createDocument(contentType, 0, KURL(), false);
|
/libcore/luni/src/main/java/java/net/ |
ContentHandlerFactory.java | 27 * Creates a content handler to handle {@code contentType}. 29 * @param contentType 34 ContentHandler createContentHandler(String contentType);
|