/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 | 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 | 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 | 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); 118 if (mContentType.equals(ContentType.VIDEO_MP4) && !(TextUtils.isEmpty(mSrc))) { 127 mContentType = ContentType.VIDEO_3GPP;
|
SlideModel.java | 36 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 | 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); 293 public void setCurrentTabFromContent(AppsCustomizePagedView.ContentType type) { 302 public AppsCustomizePagedView.ContentType getContentTypeForTabTag(String tag) { 304 return AppsCustomizePagedView.ContentType.Applications; 306 return AppsCustomizePagedView.ContentType.Widgets; 308 return 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",
|
/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&); 203 void load(const String& url, const ContentType&);
|
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/ |
PduPersister.java | 20 import com.google.android.mms.ContentType; 400 byte[] contentType = getByteArrayFromPartColumn( 402 if (contentType != null) { 403 part.setContentType(contentType); 427 String type = toIsoString(contentType); 428 if (!ContentType.isImageType(type) 429 && !ContentType.isAudioType(type) 430 && !ContentType.isVideoType(type)) { 437 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/opt/mms/src/java/com/google/android/mms/ |
ContentType.java | 22 public class ContentType { 166 private ContentType() { 169 public static boolean isSupportedType(String contentType) { 170 return (null != contentType) && sSupportedContentTypes.contains(contentType); 173 public static boolean isSupportedImageType(String contentType) { 174 return isImageType(contentType) && isSupportedType(contentType); 177 public static boolean isSupportedAudioType(String contentType) { 178 return isAudioType(contentType) && isSupportedType(contentType) [all...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
PushReceiver.java | 41 import com.google.android.mms.ContentType; 162 && ContentType.MMS_MESSAGE.equals(intent.getType())) {
|