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

1 2

  /external/chromium_org/third_party/WebKit/Source/platform/
ContentType.h 35 class PLATFORM_EXPORT ContentType {
37 explicit ContentType(const String& type);
ContentType.cpp 29 #include "platform/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
79 Vector<String> ContentType::codecs() const
  /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;
TextResourceDecoder.cpp 91 TextResourceDecoder::ContentType TextResourceDecoder::determineContentType(const String& mimeType)
102 const WTF::TextEncoding& TextResourceDecoder::defaultEncoding(ContentType contentType, const WTF::TextEncoding& specifiedDefaultEncoding)
106 if (contentType == XMLContent)
  /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/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...]
NameMap.java 125 putNameMap(CONTENT_TYPE, ContentType.class.getName()); //24
  /external/chromium_org/third_party/webrtc/
config.h 112 enum ContentType {
121 ContentType content_type;
  /development/samples/ApiDemos/src/com/example/android/apis/os/
MmsWapPushReceiver.java 25 import com.google.android.mms.ContentType;
40 && ContentType.MMS_MESSAGE.equals(intent.getType())) {
MmsMessagingDemo.java 19 import com.google.android.mms.ContentType;
382 part.setContentType(ContentType.TEXT_PLAIN.getBytes());
402 smilPart.setContentType(ContentType.APP_SMIL.getBytes());
445 && ContentType.isTextType(new String(part.getContentType()))) {
  /external/chromium_org/third_party/tlslite/tlslite/
tlsrecordlayer.py 205 for result in self._getMsg(ContentType.application_data):
355 for result in self._getMsg((ContentType.alert, \
356 ContentType.application_data)):
359 if result.contentType == ContentType.alert:
562 contentType = msg.contentType
565 if contentType == ContentType.handshake:
574 mac.update(compatHMAC(bytearray([contentType])))
    [all...]
tlsconnection.py 641 for result in self._getMsg(ContentType.handshake,
    [all...]
messages.py 58 self.type = ContentType.handshake
67 self.contentType = ContentType.alert
92 self.contentType = ContentType.handshake
654 self.contentType = ContentType.change_cipher_spec
746 self.contentType = ContentType.application_data
constants.py 41 class ContentType:
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLMediaElement.h 54 class ContentType;
81 static blink::WebMimeRegistry::SupportsType supportsType(const ContentType&, const String& keySystem = String());
393 void loadResource(const KURL&, ContentType&, const String& keySystem);
409 KURL selectNextSourceChild(ContentType*, String* keySystem, InvalidURLAction);
HTMLMediaElement.cpp 64 #include "platform/ContentType.h"
242 static bool canLoadURL(const KURL& url, const ContentType& contentType, const String& keySystem)
246 String contentMIMEType = contentType.type().lower();
247 String contentTypeCodecs = contentType.parameter(codecs);
270 WebMimeRegistry::SupportsType HTMLMediaElement::supportsType(const ContentType& contentType, const String& keySystem)
277 String type = contentType.type().lower();
280 String typeCodecs = contentType.parameter(codecs);
698 WebMimeRegistry::SupportsType support = supportsType(ContentType(mimeType), keySystem)
    [all...]
  /external/chromium_org/components/cloud_devices/common/
printer_description.h 20 typedef std::string ContentType;
340 typedef ListCapability<ContentType, ContentTypeTraits> ContentTypesCapability;
printer_description.cc 541 static bool Load(const base::DictionaryValue& dict, ContentType* option) {
545 static void Save(ContentType option, base::DictionaryValue* dict) {
814 template class ListCapability<ContentType, ContentTypeTraits>;
  /external/chromium_org/third_party/WebKit/Source/modules/encryptedmedia/
MediaKeys.cpp 38 #include "platform/ContentType.h"
61 static bool isKeySystemSupportedWithContentType(const String& keySystem, const String& contentType)
65 ContentType type(contentType);
213 bool MediaKeys::isTypeSupported(const String& keySystem, const String& contentType)
215 WTF_LOG(Media, "MediaKeys::isTypeSupported(%s, %s)", keySystem.ascii().data(), contentType.ascii().data());
226 // 3. If contentType is an empty string, return true and abort these steps.
227 if (contentType.isEmpty())
231 // codec specified by contentType, return false and abort these steps.
232 return isKeySystemSupportedWithContentType(keySystem, contentType);
    [all...]
  /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...]
SIPMessage.java 41 import gov.nist.javax.sip.header.ContentType;
    [all...]
SIPResponse.java 38 import gov.nist.javax.sip.header.ContentType;
698 || nextHeader instanceof ContentType
  /external/nist-sip/java/gov/nist/javax/sip/stack/
MessageChannel.java 38 import gov.nist.javax.sip.header.ContentType;
418 ContentTypeHeader cth = new ContentType("message", "sipfrag");
  /external/chromium_org/third_party/WebKit/Source/modules/mediasource/
MediaSource.cpp 43 #include "platform/ContentType.h"
144 ContentType contentType(type);
145 Vector<String> codecs = contentType.codecs();
146 OwnPtr<WebSourceBuffer> webSourceBuffer = createWebSourceBuffer(contentType.type(), codecs, exceptionState);
238 ContentType contentType(type);
239 String codecs = contentType.parameter("codecs");
242 if (contentType.type().isEmpty())
247 if (HTMLMediaElement::supportsType(contentType, String()) == WebMimeRegistry::IsNotSupported
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/dom/
DOMImplementation.cpp 55 #include "platform/ContentType.h"
370 if (HTMLMediaElement::supportsType(ContentType(type)))

Completed in 1706 milliseconds

1 2