/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...] |
/frameworks/base/core/java/android/print/ |
PrintDocumentInfo.java | 89 public @interface ContentType { 267 builder.append(", contentType=").append(contentTypeToString(mContentType)); 273 private String contentTypeToString(int contentType) { 274 switch (contentType) { 346 public @NonNull Builder setContentType(@ContentType int type) {
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
PendingAttachmentData.java | 24 import com.android.messaging.util.ContentType; 57 protected PendingAttachmentData(final String caption, final String contentType, 60 super(caption, contentType, sourceUri, width, height, onlySingleAttachment); 68 public static PendingAttachmentData createPendingAttachmentData(final String contentType, 70 return createPendingAttachmentData(null, contentType, sourceUri, UNSPECIFIED_SIZE, 75 final String contentType, final Uri sourceUri, final int width, final int height) { 76 Assert.isTrue(ContentType.isMediaType(contentType)); 77 return new PendingAttachmentData(caption, contentType, sourceUri, width, height, 82 final String contentType, final Uri sourceUri, final int width, final int height [all...] |
/cts/tests/tests/telephony/src/android/telephony/cts/ |
MmsTest.java | 35 import com.google.android.mms.ContentType; 283 part.setContentType(ContentType.TEXT_PLAIN.getBytes()); 303 smilPart.setContentType(ContentType.APP_SMIL.getBytes());
|
/external/webrtc/webrtc/ |
config.h | 101 enum class ContentType { 112 ContentType content_type;
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
MmsMessagingDemo.java | 19 import com.google.android.mms.ContentType; 382 part.setContentType(ContentType.TEXT_PLAIN.getBytes()); 402 smilPart.setContentType(ContentType.APP_SMIL.getBytes()); 445 && ContentType.isTextType(new String(part.getContentType()))) {
|
/frameworks/opt/telephony/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/Messaging/src/android/support/v7/mms/pdu/ |
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/Messaging/src/com/android/messaging/util/ |
ContentType.java | 22 public final class ContentType { 101 private ContentType() { 104 public static boolean isTextType(final String contentType) { 105 return TEXT_PLAIN.equals(contentType) 106 || TEXT_HTML.equals(contentType) 107 || APP_WAP_XHTML.equals(contentType); 110 public static boolean isMediaType(final String contentType) { 111 return isImageType(contentType) 112 || isVideoType(contentType) 113 || isAudioType(contentType) [all...] |
/external/curl/lib/ |
formdata.c | 82 char *contenttype, 99 post->contenttype = contenttype; 138 char *contenttype, 146 if(contenttype) 147 form_info->contenttype = contenttype; 171 * Returns some valid contenttype for filename. 177 const char *contenttype = NULL; local 183 struct ContentType { 507 const char *contenttype = local [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
SmsFacade.java | 42 import com.google.android.mms.ContentType; [all...] |
/frameworks/support/recommendation/src/android/support/app/recommendation/ |
ContentRecommendation.java | 60 public @interface ContentType {} 66 public static final String CONTENT_TYPE_VIDEO = "android.contentType.video"; 72 public static final String CONTENT_TYPE_MOVIE = "android.contentType.movie"; 78 public static final String CONTENT_TYPE_TRAILER = "android.contentType.trailer"; 85 public static final String CONTENT_TYPE_SERIAL = "android.contentType.serial"; 91 public static final String CONTENT_TYPE_MUSIC = "android.contentType.music"; 97 public static final String CONTENT_TYPE_RADIO = "android.contentType.radio"; 103 public static final String CONTENT_TYPE_PODCAST = "android.contentType.podcast"; 109 public static final String CONTENT_TYPE_NEWS = "android.contentType.news"; 115 public static final String CONTENT_TYPE_SPORTS = "android.contentType.sports" [all...] |
/packages/apps/Messaging/src/com/android/messaging/sms/ |
MmsUtils.java | 74 import com.android.messaging.util.ContentType; 306 final String contentType = part.getContentType(); 307 if (ContentType.isImageType(contentType)) { 309 } else if (ContentType.isVCardType(contentType)) { 335 String contentType = part.getContentType(); 336 if (ContentType.isImageType(contentType)) { 341 final boolean isGif = ImageUtils.isGif(contentType, part.getContentUri()) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapObexServer.java | 179 public static class ContentType { 394 appParamValue.needTag = ContentType.PHONEBOOK; 396 appParamValue.needTag = ContentType.INCOMING_CALL_HISTORY; 398 appParamValue.needTag = ContentType.OUTGOING_CALL_HISTORY; 400 appParamValue.needTag = ContentType.MISSED_CALL_HISTORY; 403 appParamValue.needTag = ContentType.COMBINED_CALL_HISTORY; 426 appParamValue.needTag = ContentType.PHONEBOOK; 429 appParamValue.needTag = ContentType.INCOMING_CALL_HISTORY; 432 ContentType.INCOMING_CALL_HISTORY); 435 appParamValue.needTag = ContentType.OUTGOING_CALL_HISTORY [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
ConversationMessageView.java | 67 import com.android.messaging.util.ContentType; [all...] |
/prebuilts/gradle-plugin/com/android/tools/build/transform-api/1.4.0-beta5/ |
transform-api-1.4.0-beta5.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/transform-api/1.4.0-beta6/ |
transform-api-1.4.0-beta6.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/transform-api/1.5.0/ |
transform-api-1.5.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/transform-api/2.0.0-alpha1/ |
transform-api-2.0.0-alpha1.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/transform-api/2.0.0-alpha3/ |
transform-api-2.0.0-alpha3.jar | |
/prebuilts/tools/common/m2/repository/com/android/tools/build/transform-api/1.5.0/ |
transform-api-1.5.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/gradle-api/2.0.0/ |
gradle-api-2.0.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/gradle-api/2.0.0-alpha5/ |
gradle-api-2.0.0-alpha5.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/gradle-api/2.0.0-alpha7/ |
gradle-api-2.0.0-alpha7.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/gradle-api/2.0.0-alpha9/ |
gradle-api-2.0.0-alpha9.jar | |