HomeSort by relevance Sort by last modified time
    Searched full:contenttype (Results 26 - 50 of 1276) sorted by null

12 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);
  /packages/apps/Mms/src/com/android/mms/model/
ContentRestriction.java 27 void checkImageContentType(String contentType) throws ContentRestrictionException;
29 void checkAudioContentType(String contentType) throws ContentRestrictionException;
31 void checkVideoContentType(String contentType) throws ContentRestrictionException;
SmilHelper.java 54 import com.google.android.mms.ContentType;
106 ContentType.APP_SMIL.getBytes())) {
215 String contentType = new String(part.getContentType());
217 if (ContentType.isDrmType(contentType)) {
218 contentType = drmManagerClient.getOriginalMimeType(part.getDataUri());
221 if (contentType.equals(ContentType.TEXT_PLAIN)
222 || contentType.equalsIgnoreCase(ContentType.APP_WAP_XHTML
    [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...]
  /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/chromium_org/third_party/WebKit/Source/core/loader/
BeaconLoader.cpp 73 AtomicString contentType = AtomicString("application/octet-stream");
74 request.setHTTPContentType(contentType);
99 AtomicString contentType;
102 request.setHTTPContentType(AtomicString(contentType));
121 AtomicString contentType = AtomicString("multipart/form-data; boundary=", AtomicString::ConstructFromLiteral) + entityBody->boundary().data();
123 request.setHTTPContentType(contentType);
  /external/chromium_org/third_party/WebKit/Source/modules/encryptedmedia/
MediaKeys.h 61 MediaKeySession* createSession(ExecutionContext*, const String& contentType, Uint8Array* initData, ExceptionState&);
63 static bool isTypeSupported(const String& keySystem, const String& contentType);
83 InitializeNewSessionData(MediaKeySession* session, const String& contentType, PassRefPtr<Uint8Array> initData)
85 , contentType(contentType)
91 String contentType;
  /packages/apps/UnifiedEmail/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/chromium_org/chrome/browser/resources/options/
content_settings_exceptions_area.js 15 * @param {string} contentType The type of the list.
24 function ExceptionsListItem(contentType, mode, enableAskOption, exception) {
27 el.contentType = contentType;
81 if (this.contentType == 'cookies') {
88 if (this.contentType != 'fullscreen') {
107 if (this.contentType != 'zoomlevels') {
117 if (this.contentType == 'media-stream') {
128 if (this.contentType == 'zoomlevels') {
160 if (this.contentType == 'notifications' |
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/parser/
TextResourceDecoder.h 76 enum ContentType { PlainTextContent, HTMLContent, XMLContent, CSSContent }; // PlainText only checks for BOM.
77 static ContentType determineContentType(const String& mimeType);
78 static const WTF::TextEncoding& defaultEncoding(ContentType, const WTF::TextEncoding& defaultEncoding);
87 ContentType m_contentType;
  /packages/apps/Launcher3/src/com/android/launcher3/
AppsCustomizeTabHost.java 63 void setContentTypeImmediate(AppsCustomizePagedView.ContentType type) {
67 public void setCurrentTabFromContent(AppsCustomizePagedView.ContentType type) {
98 public AppsCustomizePagedView.ContentType getContentTypeForTabTag(String tag) {
100 return AppsCustomizePagedView.ContentType.Applications;
102 return AppsCustomizePagedView.ContentType.Widgets;
104 return AppsCustomizePagedView.ContentType.Applications;
110 public String getTabTagForContentType(AppsCustomizePagedView.ContentType type) {
111 if (type == AppsCustomizePagedView.ContentType.Applications) {
113 } else if (type == AppsCustomizePagedView.ContentType.Widgets) {
  /external/nist-sip/java/gov/nist/javax/sip/message/
MessageFactoryImpl.java 114 * @param contentType -
124 MaxForwardsHeader maxForwards, ContentTypeHeader contentType,
129 || contentType == null)
141 sipRequest.setContent(content, contentType);
171 * @param contentType -
181 ContentTypeHeader contentType) throws ParseException {
185 || contentType == null)
199 sipRequest.setHeader((ContentType) contentType);
279 * @param contentType
    [all...]
  /external/chromium_org/third_party/libxml/src/
nanohttp.c 155 char *contentType; /* the MIME type for the input */
158 char *encoding; /* encoding extracted from the contentType */
159 char *mimeType; /* Mime-Type extracted from the contentType */
420 if (ctxt->contentType != NULL) xmlFree(ctxt->contentType);
735 if (ctxt->contentType != NULL)
736 xmlFree(ctxt->contentType);
737 ctxt->contentType = xmlMemStrdup(cur);
746 charset = xmlStrstr(BAD_CAST ctxt->contentType, BAD_CAST "charset=");
757 } else if (!xmlStrncasecmp(BAD_CAST line, BAD_CAST"ContentType:", 12))
    [all...]
  /external/libxml2/
nanohttp.c 150 char *contentType; /* the MIME type for the input */
153 char *encoding; /* encoding extracted from the contentType */
154 char *mimeType; /* Mime-Type extracted from the contentType */
425 if (ctxt->contentType != NULL) xmlFree(ctxt->contentType);
740 if (ctxt->contentType != NULL)
741 xmlFree(ctxt->contentType);
742 ctxt->contentType = xmlMemStrdup(cur);
751 charset = xmlStrstr(BAD_CAST ctxt->contentType, BAD_CAST "charset=");
762 } else if (!xmlStrncasecmp(BAD_CAST line, BAD_CAST"ContentType:", 12))
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
CMSAttributes.java 9 * contentType ::= 1.2.840.113549.1.9.3
21 public static final ASN1ObjectIdentifier contentType = PKCSObjectIdentifiers.pkcs_9_at_contentType;
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
MimeType.java 59 public static boolean isViewable(Context context, Uri contentUri, String contentType) {
60 // The provider returns a contentType of "null" instead of null, when the
64 if (contentType == null || contentType.length() == 0 ||
65 NULL_ATTACHMENT_CONTENT_TYPE.equals(contentType)) {
75 Utils.setIntentDataAndTypeAndNormalize(mimetypeIntent, contentUri, contentType);
77 Utils.setIntentTypeAndNormalize(mimetypeIntent, contentType);
95 contentType, contentUri, mimetypeIntent.getType(), mimetypeIntent.getData());
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
ContentProviders.js 85 contentType: function()
191 * @param {!WebInspector.ResourceType} contentType
193 WebInspector.CompilerSourceMappingContentProvider = function(sourceURL, contentType)
196 this._contentType = contentType;
211 contentType: function()
270 * @param {!WebInspector.ResourceType} contentType
273 WebInspector.StaticContentProvider = function(contentType, content)
276 this._contentType = contentType;
291 contentType: function()
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Job.java 101 MediaType contentType = body.contentType();
102 if (contentType == null) throw new IllegalStateException("contentType == null");
105 requestBuilder.header("Content-Type", contentType.toString());
250 @Override public MediaType contentType() {
251 String contentType = response.header("Content-Type");
252 return contentType != null ? MediaType.parse(contentType) : null;
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/sources/
ScriptFormatterEditorAction.js 84 if (uiSourceCode.contentType() === WebInspector.resourceTypes.Document)
86 if (uiSourceCode.contentType() === WebInspector.resourceTypes.Script) {
137 var formatter = WebInspector.Formatter.createFormatter(uiSourceCode.contentType());
154 if (uiSourceCode.contentType() === WebInspector.resourceTypes.Document)
158 path = this._projectDelegate._addFormatted(name, uiSourceCode.url, uiSourceCode.contentType(), formattedContent);
232 * @param {!WebInspector.ResourceType} contentType
236 _addFormatted: function(name, sourceURL, contentType, content)
238 var contentProvider = new WebInspector.StaticContentProvider(contentType, content);
325 var contentType = uiSourceCode.contentType();
    [all...]
  /developers/build/prebuilts/gradle/ActionBarCompat-ShareActionProvider/Application/src/main/java/com/example/android/actionbarcompat/shareactionprovider/content/
ContentItem.java 34 public final int contentType;
45 contentType = type;
57 contentType = type;
84 switch (contentType) {
  /developers/samples/android/ui/actionbarcompat/ActionBarCompat-ShareActionProvider/Application/src/main/java/com/example/android/actionbarcompat/shareactionprovider/content/
ContentItem.java 34 public final int contentType;
45 contentType = type;
57 contentType = type;
84 switch (contentType) {
  /development/samples/browseable/ActionBarCompat-ShareActionProvider/src/com.example.android.actionbarcompat.shareactionprovider/content/
ContentItem.java 34 public final int contentType;
45 contentType = type;
57 contentType = type;
84 switch (contentType) {
  /external/chromium_org/components/cronet/android/java/src/org/chromium/net/
HttpUrlRequest.java 51 * @param contentType MIME type of the post content or null if this is not a
56 void setUploadData(String contentType, byte[] data);
64 * @param contentType MIME type of the post content or null if this is not a
69 void setUploadChannel(String contentType, ReadableByteChannel channel);
  /external/chromium_org/third_party/WebKit/Source/core/xml/
DOMParser.idl 25 [Default=Undefined] optional DOMString contentType);
  /external/okhttp/okcurl/src/test/java/com/squareup/okhttp/curl/
MainTest.java 47 assertEquals("application/x-form-urlencoded; charset=utf-8", body.contentType().toString());
56 assertEquals("application/x-form-urlencoded; charset=utf-8", body.contentType().toString());
66 assertEquals("application/json; charset=utf-8", body.contentType().toString());
91 body.contentType().charset());

Completed in 2219 milliseconds

12 3 4 5 6 7 8 91011>>