HomeSort by relevance Sort by last modified time
    Searched refs:ContentType (Results 1 - 25 of 52) 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;
  /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 24 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 23 import com.google.android.mms.ContentType;
123 return new TextModel(context, ContentType.TEXT_PLAIN, null, regionModel);
135 String contentType = new String(bytes);
138 media = new TextModel(context, contentType, src,
141 media = new ImageModel(context, contentType, src,
144 media = new VideoModel(context, contentType, src,
147 media = new AudioModel(context, contentType, src,
150 if (ContentType.isTextType(contentType)) {
151 media = new TextModel(context, contentType, src
    [all...]
SmilHelper.java 32 import com.google.android.mms.ContentType;
112 ContentType.APP_SMIL.getBytes())) {
221 String contentType = new String(part.getContentType());
223 if (ContentType.isDrmType(contentType)) {
224 contentType = drmManagerClient.getOriginalMimeType(part.getDataUri());
227 if (contentType.equals(ContentType.TEXT_PLAIN)
228 || contentType.equalsIgnoreCase(ContentType.APP_WAP_XHTML
    [all...]
VideoModel.java 43 import com.google.android.mms.ContentType;
59 public VideoModel(Context context, String contentType, String src,
61 super(context, SmilHelper.ELEMENT_TAG_VIDEO, contentType, src, uri, region);
120 if (mContentType.equals(ContentType.VIDEO_MP4) && !(TextUtils.isEmpty(mSrc))) {
129 mContentType = ContentType.VIDEO_3GPP;
SlideModel.java 22 import com.google.android.mms.ContentType;
103 String contentType = media.getContentType();
104 if (TextUtils.isEmpty(contentType) || ContentType.TEXT_PLAIN.equals(contentType)
105 || ContentType.TEXT_HTML.equals(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 83 void setContentTypeImmediate(AppsCustomizePagedView.ContentType type) {
91 setContentTypeImmediate(AppsCustomizePagedView.ContentType.Applications);
94 setContentTypeImmediate(AppsCustomizePagedView.ContentType.Widgets);
204 private void onTabChangedEnd(AppsCustomizePagedView.ContentType type) {
210 final AppsCustomizePagedView.ContentType type = getContentTypeForTabTag(tabId);
300 public void setCurrentTabFromContent(AppsCustomizePagedView.ContentType type) {
309 public AppsCustomizePagedView.ContentType getContentTypeForTabTag(String tag) {
311 return AppsCustomizePagedView.ContentType.Applications;
313 return AppsCustomizePagedView.ContentType.Widgets;
315 return AppsCustomizePagedView.ContentType.Applications
    [all...]
  /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;
77 mContext, ContentType.TEXT_PLAIN, "text_" + size + ".txt",
152 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&);
  /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 {
165 private ContentType() {
168 public static boolean isSupportedType(String contentType) {
169 return (null != contentType) && sSupportedContentTypes.contains(contentType);
172 public static boolean isSupportedImageType(String contentType) {
173 return isImageType(contentType) && isSupportedType(contentType);
176 public static boolean isSupportedAudioType(String contentType) {
177 return isAudioType(contentType) && isSupportedType(contentType)
    [all...]
  /packages/apps/Mms/src/com/android/mms/transaction/
PushReceiver.java 26 import com.google.android.mms.ContentType;
154 && ContentType.MMS_MESSAGE.equals(intent.getType())) {
  /frameworks/base/core/java/com/google/android/mms/pdu/
PduPersister.java 20 import com.google.android.mms.ContentType;
396 byte[] contentType = getByteArrayFromPartColumn(
398 if (contentType != null) {
399 part.setContentType(contentType);
423 String type = toIsoString(contentType);
424 if (!ContentType.isImageType(type)
425 && !ContentType.isAudioType(type)
426 && !ContentType.isVideoType(type)) {
433 if (ContentType.TEXT_PLAIN.equals(type) || ContentType.APP_SMIL.equals(type
    [all...]

Completed in 1148 milliseconds

1 2 3