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

1 2 3

  /external/webkit/Source/WebCore/platform/
ContentType.h 34 class ContentType {
36 ContentType(const String& type);
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
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
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 579 case ContentType.HANDSHAKE:
588 case ContentType.ALERT:
594 case ContentType.APPLICATION_DATA:
646 output.write(recordProtocol.wrap(ContentType.APPLICATION_DATA,
651 ContentType.APPLICATION_DATA, data, offset,
658 recordProtocol.wrap(ContentType.APPLICATION_DATA,
706 case ContentType.HANDSHAKE:
707 case ContentType.CHANGE_CIPHER_SPEC:
709 case ContentType.APPLICATION_DATA:
717 case ContentType.ALERT
    [all...]
AlertProtocol.java 268 byte[] res = recordProtocol.wrap(ContentType.ALERT, alert, 0, 2);
SSLEngineImpl.java 467 case ContentType.HANDSHAKE:
468 case ContentType.CHANGE_CIPHER_SPEC:
474 case ContentType.APPLICATION_DATA:
476 case ContentType.ALERT:
673 recordProtocol.wrap(ContentType.APPLICATION_DATA,
  /external/webkit/Source/WebCore/loader/
TextResourceDecoder.h 72 enum ContentType { PlainText, HTML, XML, CSS }; // PlainText only checks for BOM.
73 static ContentType determineContentType(const String& mimeType);
74 static const TextEncoding& defaultEncoding(ContentType, const TextEncoding& defaultEncoding);
83 ContentType m_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...]
MediaModelFactory.java 25 import com.google.android.mms.ContentType;
126 new TextModel(context, ContentType.TEXT_PLAIN, null, CharacterSets.ANY_CHARSET,
128 new TextModel(context, ContentType.TEXT_PLAIN, null, regionModel);
140 String contentType = new String(bytes);
142 if (ContentType.isDrmType(contentType)) {
144 contentType, part.getDataUri(), part.getData());
146 media = new TextModel(context, contentType, src,
149 media = new ImageModel(context, contentType, src,
152 media = new VideoModel(context, contentType, src
    [all...]
SmilHelper.java 32 import com.google.android.mms.ContentType;
104 ContentType.APP_SMIL.getBytes())) {
211 String contentType = new String(part.getContentType());
212 if (ContentType.isDrmType(contentType)) {
215 dw = new DrmWrapper(contentType, part.getDataUri(),
217 contentType = dw.getContentType();
225 if (contentType.equals(ContentType.TEXT_PLAIN)
226 || contentType.equalsIgnoreCase(ContentType.APP_WAP_XHTML
    [all...]
VideoModel.java 40 import com.google.android.mms.ContentType;
55 public VideoModel(Context context, String contentType, String src,
57 super(context, SmilHelper.ELEMENT_TAG_VIDEO, contentType, src, uri, region);
60 public VideoModel(Context context, String contentType, String src,
62 super(context, SmilHelper.ELEMENT_TAG_VIDEO, contentType, src, wrapper, regionModel);
121 if (mContentType.equals(ContentType.VIDEO_MP4) && !(TextUtils.isEmpty(mSrc))) {
130 mContentType = ContentType.VIDEO_3GPP;
SlideModel.java 22 import com.google.android.mms.ContentType;
102 String contentType = media.getContentType();
103 if (TextUtils.isEmpty(contentType) || ContentType.TEXT_PLAIN.equals(contentType)
104 || ContentType.TEXT_HTML.equals(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;
  /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 70 private void setContentTypeImmediate(AppsCustomizePagedView.ContentType type) {
75 setContentTypeImmediate(AppsCustomizePagedView.ContentType.Applications);
79 setContentTypeImmediate(AppsCustomizePagedView.ContentType.Widgets);
180 private void onTabChangedEnd(AppsCustomizePagedView.ContentType type) {
186 final AppsCustomizePagedView.ContentType type = getContentTypeForTabTag(tabId);
280 public void setCurrentTabFromContent(AppsCustomizePagedView.ContentType type) {
288 public AppsCustomizePagedView.ContentType getContentTypeForTabTag(String tag) {
290 return AppsCustomizePagedView.ContentType.Applications;
292 return AppsCustomizePagedView.ContentType.Widgets;
294 return AppsCustomizePagedView.ContentType.Applications
    [all...]
  /packages/apps/Mms/src/com/android/mms/drm/
DrmWrapper.java 20 import com.google.android.mms.ContentType;
94 String contentType = mDrmObject.getContentType();
96 if (ContentType.isAudioType(contentType) ||
97 ContentType.isVideoType(contentType)) {
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapObexServer.java 156 public static class ContentType {
175 mMissedCallSize = mVcardManager.getPhonebookSize(ContentType.MISSED_CALL_HISTORY);
350 appParamValue.needTag = ContentType.PHONEBOOK;
352 appParamValue.needTag = ContentType.INCOMING_CALL_HISTORY;
354 appParamValue.needTag = ContentType.OUTGOING_CALL_HISTORY;
356 appParamValue.needTag = ContentType.MISSED_CALL_HISTORY;
359 appParamValue.needTag = ContentType.COMBINED_CALL_HISTORY;
376 appParamValue.needTag = ContentType.PHONEBOOK;
379 appParamValue.needTag = ContentType.INCOMING_CALL_HISTORY;
382 appParamValue.needTag = ContentType.OUTGOING_CALL_HISTORY
    [all...]
  /packages/apps/Mms/src/com/android/mms/ui/
SlideshowEditor.java 20 import com.google.android.mms.ContentType;
73 mContext, ContentType.TEXT_PLAIN, "text_" + size + ".txt",
131 ContentType.TEXT_PLAIN, "text_" + position + ".txt",
  /frameworks/base/media/libdrm/mobile1/include/parser/
parser_dcf.h 56 uint8_t ContentTypeLen; /**< Length of the ContentType field */
59 uint8_t ContentType[MAX_CONTENT_TYPE_LEN]; /**< The MIME media type of the plaintext data */
  /external/webkit/Source/WebCore/platform/graphics/texmap/
TextureMapperNode.h 89 enum ContentType { HTMLContentType, DirectImageContentType, ColorContentType, MediaContentType, Canvas3DContentType};
95 ContentType contentType;
101 , contentType(HTMLContentType)
178 return m_currentContent.contentType == HTMLContentType ? entireRect() : m_state.contentsRect;
  /external/webkit/Source/WebCore/platform/graphics/
MediaPlayer.h 92 class ContentType;
172 static MediaPlayer::SupportsType supportsType(const ContentType&);
202 void load(const String& url, const ContentType&);
  /frameworks/base/core/java/com/google/android/mms/pdu/
PduPersister.java 20 import com.google.android.mms.ContentType;
387 byte[] contentType = getByteArrayFromPartColumn(
389 if (contentType != null) {
390 part.setContentType(contentType);
414 String type = toIsoString(contentType);
415 if (!ContentType.isImageType(type)
416 && !ContentType.isAudioType(type)
417 && !ContentType.isVideoType(type)) {
424 if (ContentType.TEXT_PLAIN.equals(type) || ContentType.APP_SMIL.equals(type
    [all...]
  /external/webkit/Source/WebCore/html/
HTMLMediaElement.h 280 void loadResource(const KURL&, ContentType&);
292 KURL selectNextSourceChild(ContentType*, InvalidSourceAction);
  /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...]

Completed in 850 milliseconds

1 2 3