/packages/apps/Messaging/src/android/support/v7/mms/pdu/ |
D | ContentType.java | 169 public static boolean isSupportedType(String contentType) { in isSupportedType() 173 public static boolean isSupportedImageType(String contentType) { in isSupportedImageType() 177 public static boolean isSupportedAudioType(String contentType) { in isSupportedAudioType() 181 public static boolean isSupportedVideoType(String contentType) { in isSupportedVideoType() 185 public static boolean isTextType(String contentType) { in isTextType() 189 public static boolean isImageType(String contentType) { in isImageType() 193 public static boolean isAudioType(String contentType) { in isAudioType() 197 public static boolean isVideoType(String contentType) { in isVideoType() 201 public static boolean isDrmType(String contentType) { in isDrmType() 207 public static boolean isUnspecified(String contentType) { in isUnspecified()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | ContentType.java | 104 public static boolean isTextType(final String contentType) { in isTextType() 110 public static boolean isMediaType(final String contentType) { in isMediaType() 117 public static boolean isImageType(final String contentType) { in isImageType() 121 public static boolean isAudioType(final String contentType) { in isAudioType() 126 public static boolean isVideoType(final String contentType) { in isVideoType() 130 public static boolean isVCardType(final String contentType) { in isVCardType() 134 public static boolean isDrmType(final String contentType) { in isDrmType() 140 public static boolean isUnspecified(final String contentType) { in isUnspecified() 147 public static boolean isConversationListPreviewableType(final String contentType) { in isConversationListPreviewableType() 164 String contentType = mimeTypeMap.getMimeTypeFromExtension(extension); in getContentTypeFromExtension() local [all …]
|
D | ImageUtils.java | 227 String contentType = null; in getContentType() local 297 public static boolean isGif(String contentType, Uri contentUri) { in isGif() 430 final String contentType) { in getResizedImageData() 441 final Context context, final String contentType) { in ImageResizer()
|
D | UriUtil.java | 264 final InputStream inputStream, final File outputDir, final String contentType) { in persistContent() 287 final Uri sourceUri, final File outputDir, final String contentType) { in persistContent()
|
D | FileUtil.java | 63 public static File getNewFile(File directory, String contentType) throws IOException { in getNewFile()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | MediaPickerMessagePartData.java | 25 public MediaPickerMessagePartData(final Rect startRect, final String contentType, in MediaPickerMessagePartData() 31 final String contentType, final Uri contentUri, final int width, final int height) { in MediaPickerMessagePartData() 36 public MediaPickerMessagePartData(final Rect startRect, final String contentType, in MediaPickerMessagePartData() 44 final String contentType, final Uri contentUri, final int width, final int height, in MediaPickerMessagePartData()
|
D | PendingAttachmentData.java | 57 protected PendingAttachmentData(final String caption, final String contentType, in PendingAttachmentData() 68 public static PendingAttachmentData createPendingAttachmentData(final String contentType, in createPendingAttachmentData() 75 final String contentType, final Uri sourceUri, final int width, final int height) { in createPendingAttachmentData() 82 final String contentType, final Uri sourceUri, final int width, final int height, in createPendingAttachmentData()
|
D | MessagePartData.java | 133 protected MessagePartData(final String contentType, final Uri contentUri, in MessagePartData() 141 protected MessagePartData(final String messageText, final String contentType, in MessagePartData() 149 protected MessagePartData(final String messageText, final String contentType, in MessagePartData() 158 final String contentType, final Uri contentUri, final int width, final int height, in MessagePartData() 179 public static MessagePartData createMediaMessagePart(final String contentType, in createMediaMessagePart() 188 final String contentType, final Uri contentUri, final int width, final int height) { in createMediaMessagePart() 344 public static boolean isSupportedMediaType(final String contentType) { in isSupportedMediaType()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | ShareIntentActivity.java | 98 final String contentType = extractContentType(contentUri, intent.getType()); in onAttachFragment() local 129 final String contentType = intent.getType(); in onAttachFragment() local 212 private static String extractContentType(final Uri uri, final String contentType) { in extractContentType() 242 private void addSharedPartToDraft(final String contentType, final Uri uri) { in addSharedPartToDraft()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
D | MimeMultipart.java | 30 protected String contentType; field in MimeMultipart 41 public MimeMultipart(String contentType) throws MessagingException { in MimeMultipart()
|
D | MimeBodyPart.java | 93 String contentType = String.format("%s;\n charset=utf-8", getMimeType()); in setBody() local 105 String contentType = getFirstHeader(MimeHeader.HEADER_CONTENT_TYPE); in getContentType() local
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipAttachmentFormat.java | 70 public BipAttachmentFormat(String contentType, String charset, String name, String size, in BipAttachmentFormat() 101 public BipAttachmentFormat(String contentType, String charset, String name, int size, in BipAttachmentFormat()
|
D | BipImageProperties.java | 203 String contentType = xpp.getAttributeValue(null, "content-type"); in parse() local 358 String contentType = format.getContentType(); in toString() local
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
D | Multipart.java | 25 protected String contentType; field in Multipart
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | AttachmentPreviewFactory.java | 68 final String contentType = attachmentData.getContentType(); in createAttachmentPreview() local 130 final String contentType = attachmentData.getContentType(); in getImageRequestDescriptorForAttachment() local
|
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/ |
D | ConfigParser.java | 89 public String contentType = null; field in ConfigParser.MimeHeader 354 private static Pair<String, String> parseContentType(String contentType) throws IOException { in parseContentType()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipAttachmentFormatTest.java | 49 private void testParse(String contentType, String charset, String name, String size, in testParse() 75 private void testCreate(String contentType, String charset, String name, int size, in testCreate()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | DocumentImagePicker.java | 125 protected void onPostExecute(final String contentType) { in prepareDocumentForAttachment()
|
D | GalleryGridItemView.java | 162 final String contentType = mData.getContentType(); in updateImageView() local
|
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/ |
D | SyncMessage.java | 42 private final String contentType; field in SyncMessage
|
/packages/services/Car/tests/carservice_test/src/android/media/tests/ |
D | AudioPolicyTest.java | 96 private static AudioMix createAudioMix(int contentType, int usage) { in createAudioMix()
|
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/cpim/ |
D | SimpleCpimMessage.java | 49 public abstract String contentType(); in contentType() method in SimpleCpimMessage
|
/packages/services/Telephony/src/com/android/phone/callcomposer/ |
D | CallComposerPictureTransfer.java | 323 String contentType = conn.getContentType(); in downloadImageFromConnection() local 373 private static Part makeUploadPart(String name, String contentType, String filename, in makeUploadPart()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsUtils.java | 304 final String contentType = part.getContentType(); in makePduBody() local 333 String contentType = part.getContentType(); in makePduBody() local 456 final int maxPartSize, final String srcName, final String contentType) { in addPicturePart() 523 final String srcName, final Uri uri, final String contentType) { in addPartForUri() 536 final String contentType = messagePart.getContentType(); in addVCardPart() local 559 String contentType = messagePart.getContentType(); in addVideoPart() local 576 final String contentType = messagePart.getContentType(); in addOtherPart() local 672 … final int orientation, final Uri imageUri, final Context context, final String contentType) { in getResizedImageAsPart()
|
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/ |
D | BuglePhotoViewController.java | 110 final String contentType = adapter.getContentType(cursor); in updateShareActionProvider() local
|