/external/webkit/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 61 String ContentType::type() const
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
ContentType.java | 26 public class ContentType {
|
SSLRecordProtocol.java | 281 ContentType.CHANGE_CIPHER_SPEC, version[0], 286 packetize(ContentType.CHANGE_CIPHER_SPEC, version, 287 activeWriteState.encrypt(ContentType.CHANGE_CIPHER_SPEC, 307 * ContentType type; 333 if ((type < ContentType.CHANGE_CIPHER_SPEC) 334 || (type > ContentType.APPLICATION_DATA)) { 349 return ContentType.HANDSHAKE; 395 case ContentType.CHANGE_CIPHER_SPEC: 405 case ContentType.ALERT: 408 case ContentType.HANDSHAKE [all...] |
SSLSocketImpl.java | 610 case ContentType.HANDSHAKE: 619 case ContentType.ALERT: 625 case ContentType.APPLICATION_DATA: 678 output.write(recordProtocol.wrap(ContentType.APPLICATION_DATA, 683 ContentType.APPLICATION_DATA, data, offset, 690 recordProtocol.wrap(ContentType.APPLICATION_DATA, 738 case ContentType.HANDSHAKE: 739 case ContentType.CHANGE_CIPHER_SPEC: 741 case ContentType.APPLICATION_DATA: 749 case ContentType.ALERT [all...] |
AlertProtocol.java | 268 byte[] res = recordProtocol.wrap(ContentType.ALERT, alert, 0, 2);
|
SSLEngineImpl.java | 468 case ContentType.HANDSHAKE: 469 case ContentType.CHANGE_CIPHER_SPEC: 475 case ContentType.APPLICATION_DATA: 477 case ContentType.ALERT: 674 recordProtocol.wrap(ContentType.APPLICATION_DATA,
|
/external/webkit/WebCore/loader/ |
TextResourceDecoder.h | 70 enum ContentType { PlainText, HTML, XML, CSS }; // PlainText only checks for BOM. 71 static ContentType determineContentType(const String& mimeType); 72 static const TextEncoding& defaultEncoding(ContentType, const TextEncoding& defaultEncoding); 80 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; 129 String contentType = new String(bytes); 131 if (ContentType.isDrmType(contentType)) { 133 contentType, part.getDataUri(), part.getData()); 135 media = new TextModel(context, contentType, src, 138 media = new ImageModel(context, contentType, src, 141 media = new VideoModel(context, contentType, src, 144 media = new AudioModel(context, contentType, src, 148 if (ContentType.isTextType(drmContentType)) [all...] |
SmilHelper.java | 32 import com.google.android.mms.ContentType; 105 ContentType.APP_SMIL.getBytes())) { 212 String contentType = new String(part.getContentType()); 213 if (ContentType.isDrmType(contentType)) { 216 dw = new DrmWrapper(contentType, part.getDataUri(), 218 contentType = dw.getContentType(); 226 if (contentType.equals(ContentType.TEXT_PLAIN) 227 || 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); 80 if (mContentType.equals(ContentType.VIDEO_MP4) && !(TextUtils.isEmpty(mSrc))) { 89 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/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
|
/packages/apps/Mms/src/com/android/mms/drm/ |
DrmWrapper.java | 20 import com.google.android.mms.ContentType; 95 String contentType = mDrmObject.getContentType(); 97 if (ContentType.isAudioType(contentType) || 98 ContentType.isVideoType(contentType)) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapObexServer.java | 159 public static class ContentType { 179 mMissedCallSize = mVcardManager.getPhonebookSize(ContentType.MISSED_CALL_HISTORY); 354 appParamValue.needTag = ContentType.PHONEBOOK; 356 appParamValue.needTag = ContentType.INCOMING_CALL_HISTORY; 358 appParamValue.needTag = ContentType.OUTGOING_CALL_HISTORY; 360 appParamValue.needTag = ContentType.MISSED_CALL_HISTORY; 363 appParamValue.needTag = ContentType.COMBINED_CALL_HISTORY; 380 appParamValue.needTag = ContentType.PHONEBOOK; 383 appParamValue.needTag = ContentType.INCOMING_CALL_HISTORY; 386 appParamValue.needTag = ContentType.OUTGOING_CALL_HISTORY [all...] |
/external/webkit/WebCore/platform/graphics/ |
MediaPlayer.h | 60 class ContentType; 131 static MediaPlayer::SupportsType supportsType(ContentType contentType); 155 void load(const String& url, const ContentType& contentType);
|
/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 */
|
/frameworks/base/core/java/com/google/android/mms/pdu/ |
PduPersister.java | 20 import com.google.android.mms.ContentType; 388 byte[] contentType = getByteArrayFromPartColumn( 390 if (contentType != null) { 391 part.setContentType(contentType); 415 String type = toIsoString(contentType); 416 if (!ContentType.isImageType(type) 417 && !ContentType.isAudioType(type) 418 && !ContentType.isVideoType(type)) { 425 if (ContentType.TEXT_PLAIN.equals(type) || ContentType.APP_SMIL.equals(type [all...] |
/external/webkit/WebCore/html/ |
HTMLMediaElement.h | 225 void loadResource(const KURL&, ContentType&); 237 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...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
PushReceiver.java | 26 import com.google.android.mms.ContentType; 155 && ContentType.MMS_MESSAGE.equals(intent.getType())) {
|