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

1 2 3

  /libcore/crypto/src/main/java/org/conscrypt/
ContentType.java 26 public class ContentType {
SSLRecordProtocol.java 280 ContentType.CHANGE_CIPHER_SPEC, version[0],
285 packetize(ContentType.CHANGE_CIPHER_SPEC, version,
286 activeWriteState.encrypt(ContentType.CHANGE_CIPHER_SPEC,
306 * ContentType type;
332 if ((type < ContentType.CHANGE_CIPHER_SPEC)
333 || (type > ContentType.APPLICATION_DATA)) {
348 return ContentType.HANDSHAKE;
394 case ContentType.CHANGE_CIPHER_SPEC:
404 case ContentType.ALERT:
407 case ContentType.HANDSHAKE
    [all...]
SSLSocketImpl.java 616 case ContentType.HANDSHAKE:
625 case ContentType.ALERT:
631 case ContentType.APPLICATION_DATA:
683 output.write(recordProtocol.wrap(ContentType.APPLICATION_DATA,
688 ContentType.APPLICATION_DATA, data, offset,
695 recordProtocol.wrap(ContentType.APPLICATION_DATA,
743 case ContentType.HANDSHAKE:
744 case ContentType.CHANGE_CIPHER_SPEC:
746 case ContentType.APPLICATION_DATA:
754 case ContentType.ALERT
    [all...]
AlertProtocol.java 267 byte[] res = recordProtocol.wrap(ContentType.ALERT, alert, 0, 2);
  /external/chromium_org/third_party/WebKit/Source/core/platform/
ContentType.h 34 class ContentType {
36 explicit ContentType(const String& type);
ContentType.cpp 29 #include "core/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/svg/
SVGAnimatedTypeAnimator.h 72 typename AnimValType::ContentType* constructFromBaseValue(const SVGElementAnimatedPropertyList& animatedTypes)
75 const typename AnimValType::ContentType& animatedType = castAnimatedPropertyToActualType<AnimValType>(animatedTypes[0].properties[0].get())->currentBaseValue();
77 typename AnimValType::ContentType* copy = new typename AnimValType::ContentType(animatedType);
83 void resetFromBaseValue(const SVGElementAnimatedPropertyList& animatedTypes, SVGAnimatedType* type, typename AnimValType::ContentType& (SVGAnimatedType::*getter)())
88 typename AnimValType::ContentType& animatedTypeValue = (type->*getter)();
117 pair<typename AnimValType1::ContentType, typename AnimValType2::ContentType>* constructFromBaseValues(const SVGElementAnimatedPropertyList& animatedTypes)
120 const typename AnimValType1::ContentType& firstType = castAnimatedPropertyToActualType<AnimValType1>(animatedTypes[0].properties[0].get())->currentBaseValue();
121 const typename AnimValType2::ContentType& secondType = castAnimatedPropertyToActualType<AnimValType2>(animatedTypes[0].properties[1].get()) (…)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/loader/
TextResourceDecoder.h 73 enum ContentType { PlainText, HTML, XML, CSS }; // PlainText only checks for BOM.
74 static ContentType determineContentType(const String& mimeType);
75 static const WTF::TextEncoding& defaultEncoding(ContentType, const WTF::TextEncoding& defaultEncoding);
86 ContentType m_contentType;
  /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;
  /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...]
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...]
SmilHelper.java 53 import com.google.android.mms.ContentType;
105 ContentType.APP_SMIL.getBytes())) {
214 String contentType = new String(part.getContentType());
216 if (ContentType.isDrmType(contentType)) {
217 contentType = drmManagerClient.getOriginalMimeType(part.getDataUri());
220 if (contentType.equals(ContentType.TEXT_PLAIN)
221 || contentType.equalsIgnoreCase(ContentType.APP_WAP_XHTML
    [all...]
VideoModel.java 41 import com.google.android.mms.ContentType;
57 public VideoModel(Context context, String contentType, String src,
59 super(context, SmilHelper.ELEMENT_TAG_VIDEO, contentType, src, uri, region);
119 if (mContentType.equals(ContentType.VIDEO_MP4) && !(TextUtils.isEmpty(mSrc))) {
128 mContentType = ContentType.VIDEO_3GPP;
  /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...]
  /packages/apps/Launcher2/src/com/android/launcher2/
AppsCustomizeTabHost.java 76 void setContentTypeImmediate(AppsCustomizePagedView.ContentType type) {
84 setContentTypeImmediate(AppsCustomizePagedView.ContentType.Applications);
87 setContentTypeImmediate(AppsCustomizePagedView.ContentType.Widgets);
197 private void onTabChangedEnd(AppsCustomizePagedView.ContentType type) {
203 final AppsCustomizePagedView.ContentType type = getContentTypeForTabTag(tabId);
298 public void setCurrentTabFromContent(AppsCustomizePagedView.ContentType type) {
307 public AppsCustomizePagedView.ContentType getContentTypeForTabTag(String tag) {
309 return AppsCustomizePagedView.ContentType.Applications;
311 return AppsCustomizePagedView.ContentType.Widgets;
313 return AppsCustomizePagedView.ContentType.Applications
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
AppsCustomizeTabHost.java 77 void setContentTypeImmediate(AppsCustomizePagedView.ContentType type) {
199 private void onTabChangedEnd(AppsCustomizePagedView.ContentType type) {
208 final AppsCustomizePagedView.ContentType type = getContentTypeForTabTag(tabId);
303 public void setCurrentTabFromContent(AppsCustomizePagedView.ContentType type) {
312 public AppsCustomizePagedView.ContentType getContentTypeForTabTag(String tag) {
314 return AppsCustomizePagedView.ContentType.Applications;
316 return AppsCustomizePagedView.ContentType.Widgets;
318 return AppsCustomizePagedView.ContentType.Applications;
324 public String getTabTagForContentType(AppsCustomizePagedView.ContentType type) {
325 if (type == AppsCustomizePagedView.ContentType.Applications)
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapObexServer.java 158 public static class ContentType {
177 mMissedCallSize = mVcardManager.getPhonebookSize(ContentType.MISSED_CALL_HISTORY);
352 appParamValue.needTag = ContentType.PHONEBOOK;
354 appParamValue.needTag = ContentType.INCOMING_CALL_HISTORY;
356 appParamValue.needTag = ContentType.OUTGOING_CALL_HISTORY;
358 appParamValue.needTag = ContentType.MISSED_CALL_HISTORY;
361 appParamValue.needTag = ContentType.COMBINED_CALL_HISTORY;
378 appParamValue.needTag = ContentType.PHONEBOOK;
381 appParamValue.needTag = ContentType.INCOMING_CALL_HISTORY;
384 appParamValue.needTag = ContentType.OUTGOING_CALL_HISTORY
    [all...]
  /packages/apps/Mms/src/com/android/mms/ui/
SlideshowEditor.java 31 import com.google.android.mms.ContentType;
77 mContext, ContentType.TEXT_PLAIN, "text_" + size + ".txt",
152 ContentType.TEXT_PLAIN, "text_" + position + ".txt",
  /external/chromium_org/third_party/WebKit/Source/modules/mediasource/
WebKitMediaSource.cpp 38 #include "core/platform/ContentType.h"
97 ContentType contentType(type);
98 Vector<String> codecs = contentType.codecs();
99 OwnPtr<SourceBufferPrivate> sourceBufferPrivate = createSourceBufferPrivate(contentType.type(), codecs, es);
186 ContentType contentType(type);
187 String codecs = contentType.parameter("codecs");
190 if (contentType.type().isEmpty() || codecs.isEmpty())
197 return MIMETypeRegistry::isSupportedMediaSourceMIMEType(contentType.type(), codecs)
    [all...]
MediaSource.cpp 39 #include "core/platform/ContentType.h"
98 ContentType contentType(type);
99 Vector<String> codecs = contentType.codecs();
100 OwnPtr<SourceBufferPrivate> sourceBufferPrivate = createSourceBufferPrivate(contentType.type(), codecs, es);
197 ContentType contentType(type);
198 String codecs = contentType.parameter("codecs");
201 if (contentType.type().isEmpty() || codecs.isEmpty())
208 return MIMETypeRegistry::isSupportedMediaSourceMIMEType(contentType.type(), codecs)
    [all...]
  /external/chromium_org/third_party/tlslite/tlslite/
TLSRecordLayer.py 212 for result in self._getMsg(ContentType.application_data):
343 for result in self._getMsg((ContentType.alert, \
344 ContentType.application_data)):
347 if result.contentType == ContentType.alert:
478 contentType = msg.contentType
492 if contentType == ContentType.handshake:
503 mac.update(chr(contentType))
    [all...]
TLSConnection.py 518 for result in self._getMsg((ContentType.handshake,
519 ContentType.alert),
640 for result in self._getMsg(ContentType.handshake,
648 for result in self._getMsg(ContentType.handshake,
659 for result in self._getMsg(ContentType.handshake,
667 for result in self._getMsg(ContentType.handshake,
675 for result in self._getMsg(ContentType.handshake,
686 for result in self._getMsg(ContentType.handshake,
694 for result in self._getMsg(ContentType.handshake,
706 for result in self._getMsg(ContentType.handshake
    [all...]
messages.py 61 self.type = ContentType.handshake
85 self.contentType = ContentType.alert
124 self.contentType = ContentType.handshake
219 self.contentType = ContentType.handshake
294 self.contentType = ContentType.handshake
359 self.contentType = ContentType.handshak
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/svg/properties/
SVGAnimatedStaticPropertyTearOff.h 32 typedef PropertyType ContentType;
SVGAnimatedPropertyTearOff.h 33 typedef PropertyType ContentType;

Completed in 1144 milliseconds

1 2 3