Home
last modified time | relevance | path

Searched defs:contentType (Results 1 – 25 of 68) sorted by relevance

123

/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DContentType.java169 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/
DContentType.java104 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 …]
DImageUtils.java227 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()
DUriUtil.java264 final InputStream inputStream, final File outputDir, final String contentType) { in persistContent()
287 final Uri sourceUri, final File outputDir, final String contentType) { in persistContent()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DMediaPickerMessagePartData.java25 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()
DPendingAttachmentData.java57 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()
DMessagePartData.java133 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/
DShareIntentActivity.java98 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/modules/Wifi/service/java/com/android/server/wifi/entitlement/http/
DHttpResponse.java34 public abstract int contentType(); in contentType() method in HttpResponse
67 public abstract Builder setContentType(int contentType); in setContentType()
DHttpConstants.java58 public static int getContentType(@NonNull String contentType) { in getContentType()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeMultipart.java30 protected String contentType; field in MimeMultipart
41 public MimeMultipart(String contentType) throws MessagingException { in MimeMultipart()
DMimeBodyPart.java93 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/
DBipAttachmentFormat.java62 String contentType, in BipAttachmentFormat()
98 String contentType, in BipAttachmentFormat()
DBipImageProperties.java190 String contentType = xpp.getAttributeValue(null, "content-type"); in parse() local
353 String contentType = format.getContentType(); in toString() local
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/ui/viewmodel/
DShareouselViewModel.kt92 ) { contentType, numItems -> in <lambda>() method
120 val contentType = in <lambda>() constant
DShareouselPreviewViewModel.kt30 val contentType: ContentType, constant in com.android.intentresolver.contentpreview.payloadtoggle.ui.viewmodel.ShareouselPreviewViewModel
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/entitlement/http/
DFakeURLStreamHandler.java186 public abstract String contentType(); in contentType() method in FakeURLStreamHandler.FakeResponse
213 public abstract Builder setContentType(String contentType); in setContentType()
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/
DConfigParser.java89 public String contentType = null; field in ConfigParser.MimeHeader
354 private static Pair<String, String> parseContentType(String contentType) throws IOException { in parseContentType()
/packages/apps/Messaging/src/com/android/messaging/ui/
DAttachmentPreviewFactory.java68 final String contentType = attachmentData.getContentType(); in createAttachmentPreview() local
130 final String contentType = attachmentData.getContentType(); in getImageRequestDescriptorForAttachment() local
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DMultipart.java25 protected String contentType; field in Multipart
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipAttachmentFormatTest.java48 String contentType, in testParse()
82 String contentType, in testCreate()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DDocumentImagePicker.java125 protected void onPostExecute(final String contentType) { in prepareDocumentForAttachment()
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/
DSyncMessage.java42 private final String contentType; field in SyncMessage
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DAudioPolicyTest.java96 private static AudioMix createAudioMix(int contentType, int usage) { in createAudioMix()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/interfaces/
DServerInterface.java332 final String contentType = con.getContentType(); in readErrorFromConnection() local
387 private static Charset getCharsetFromContentTypeHeader(String contentType) { in getCharsetFromContentTypeHeader()

123