HomeSort by relevance Sort by last modified time
    Searched refs:contentType (Results 1 - 25 of 920) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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);
  /frameworks/base/core/java/com/android/internal/http/multipart/
PartBase.java 45 private String contentType;
57 * @param contentType The content type, or <code>null</code>
61 public PartBase(String name, String contentType, String charSet, String transferEncoding) {
67 this.contentType = contentType;
88 return this.contentType;
122 * @param contentType the content type, or <code>null</code> to exclude the content type header
124 public void setContentType(String contentType) {
125 this.contentType = contentType;
    [all...]
  /external/webkit/WebCore/xml/
DOMParser.cpp 27 PassRefPtr<Document> DOMParser::parseFromString(const String& str, const String& contentType)
29 if (!DOMImplementation::isXMLMIMEType(contentType))
32 RefPtr<Document> doc = DOMImplementation::createDocument(contentType, 0, false);
DOMParser.idl 22 Document parseFromString(in DOMString str, in DOMString contentType);
  /packages/apps/Mms/src/com/android/mms/model/
CarrierContentRestriction.java 23 import com.google.android.mms.ContentType;
36 sSupportedImageTypes = ContentType.getImageTypes();
37 sSupportedAudioTypes = ContentType.getAudioTypes();
38 sSupportedVideoTypes = ContentType.getVideoTypes();
63 public void checkImageContentType(String contentType)
65 if (null == contentType) {
69 if (!sSupportedImageTypes.contains(contentType)) {
71 + contentType);
75 public void checkAudioContentType(String contentType)
77 if (null == contentType) {
    [all...]
ContentRestriction.java 27 void checkImageContentType(String contentType) throws ContentRestrictionException;
29 void checkAudioContentType(String contentType) throws ContentRestrictionException;
31 void checkVideoContentType(String contentType) throws ContentRestrictionException;
RegionMediaModel.java 38 public RegionMediaModel(Context context, String tag, String contentType,
40 super(context, tag, contentType, src, uri);
44 public RegionMediaModel(Context context, String tag, String contentType,
46 super(context, tag, contentType, src, data);
50 public RegionMediaModel(Context context, String tag, String contentType,
53 super(context, tag, contentType, src, wrapper);
MediaModelFactory.java 25 import com.google.android.mms.ContentType;
129 String contentType = new String(bytes);
131 if (ContentType.isDrmType(contentType)) {
133 contentType, part.getDataUri(), part.getData());
135 media = new TextModel(context, contentType, src,
138 media = new ImageModel(context, contentType, src,
141 media = new VideoModel(context, contentType, src,
144 media = new AudioModel(context, contentType, src,
148 if (ContentType.isTextType(drmContentType))
    [all...]
  /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;
  /frameworks/base/core/java/com/google/android/mms/
ContentType.java 22 public class ContentType {
159 private ContentType() {
162 public static boolean isSupportedType(String contentType) {
163 return (null != contentType) && sSupportedContentTypes.contains(contentType);
166 public static boolean isSupportedImageType(String contentType) {
167 return isImageType(contentType) && isSupportedType(contentType);
170 public static boolean isSupportedAudioType(String contentType) {
171 return isAudioType(contentType) && isSupportedType(contentType)
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/asn1/cms/
ContentInfo.java 19 private DERObjectIdentifier contentType;
42 contentType = (DERObjectIdentifier)e.nextElement();
51 DERObjectIdentifier contentType,
54 this.contentType = contentType;
60 return contentType;
72 * contentType ContentType,
74 * [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL }
81 v.add(contentType);
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/asn1/pkcs/
ContentInfo.java 19 private DERObjectIdentifier contentType;
42 contentType = (DERObjectIdentifier)e.nextElement();
51 DERObjectIdentifier contentType,
54 this.contentType = contentType;
60 return contentType;
72 * contentType ContentType,
74 * [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL }
81 v.add(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/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/apache-http/src/org/apache/http/entity/
AbstractHttpEntity.java 59 protected Header contentType;
89 * {@link #contentType contentType} attribute.
94 return this.contentType;
124 * {@link #contentType contentType} attribute.
126 * @param contentType the new Content-Encoding header, or
129 public void setContentType(final Header contentType) {
130 this.contentType = contentType;
    [all...]
  /external/libxml2/include/libxml/
nanohttp.h 30 char **contentType);
35 char **contentType,
42 char **contentType,
48 char **contentType);
51 char **contentType,
  /libcore/dom/src/test/java/org/w3c/domts/level2/core/
importNode16.java 61 String contentType = getContentType();
62 preload(contentType, "staffNS", true);
63 preload(contentType, "staffNS", true);
importNode17.java 61 String contentType = getContentType();
62 preload(contentType, "staffNS", true);
63 preload(contentType, "staffNS", true);
  /external/webkit/WebKit/mac/Misc/
WebNSURLRequestExtras.h 40 - (void)_web_setHTTPContentType:(NSString *)contentType;
  /libcore/dom/src/test/java/org/w3c/domts/level1/core/
documentgetelementsbytagnamelength.java 55 String contentType = getContentType();
56 preload(contentType, "staff", false);
elementgetelementsbytagname.java 56 String contentType = getContentType();
57 preload(contentType, "staff", false);
elementgetelementsbytagnamenomatch.java 54 String contentType = getContentType();
55 preload(contentType, "staff", false);
hc_documentgetelementsbytagnamelength.java 54 String contentType = getContentType();
55 preload(contentType, "hc_staff", false);
hc_elementgetelementsbytagname.java 55 String contentType = getContentType();
56 preload(contentType, "hc_staff", false);

Completed in 704 milliseconds

1 2 3 4 5 6 7 8 91011>>