Home
last modified time | relevance | path

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

123456

/aosp12/packages/apps/Messaging/src/android/support/v7/mms/pdu/
H A 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()
/aosp12/frameworks/base/telephony/common/com/google/android/mms/
H A DContentType.java176 public static boolean isSupportedType(String contentType) { in isSupportedType()
181 public static boolean isSupportedImageType(String contentType) { in isSupportedImageType()
186 public static boolean isSupportedAudioType(String contentType) { in isSupportedAudioType()
191 public static boolean isSupportedVideoType(String contentType) { in isSupportedVideoType()
196 public static boolean isTextType(String contentType) { in isTextType()
201 public static boolean isImageType(String contentType) { in isImageType()
206 public static boolean isAudioType(String contentType) { in isAudioType()
211 public static boolean isVideoType(String contentType) { in isVideoType()
216 public static boolean isDrmType(String contentType) { in isDrmType()
222 public static boolean isUnspecified(String contentType) { in isUnspecified()
/aosp12/packages/apps/Messaging/src/com/android/messaging/util/
H A 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 …]
H A 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()
H A DUriUtil.java245 final InputStream inputStream, final File outputDir, final String contentType) { in persistContent()
268 final Uri sourceUri, final File outputDir, final String contentType) { in persistContent()
/aosp12/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
H A 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()
H A 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()
H A 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()
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
H A 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()
/aosp12/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/http/
H A DHttpResponse.java34 public abstract int contentType(); in contentType() method in HttpResponse
54 public abstract Builder setContentType(int contentType); in setContentType()
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
H A DMimeMultipart.java30 protected String contentType; field in MimeMultipart
41 public MimeMultipart(String contentType) throws MessagingException { in MimeMultipart()
H A 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
/aosp12/hardware/interfaces/audio/common/all-versions/default/
H A DHidlUtils.h177 AudioContentType* contentType) { in audioContentTypeFromHal()
182 inline status_t HidlUtils::audioContentTypeToHal(const AudioContentType& contentType, in audioContentTypeToHal()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
H A DBipAttachmentFormat.java70 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()
/aosp12/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/eapaka/
H A DEapAkaApi.java161 String contentType) in respondToEapAkaChallenge()
205 String contentType) in challengeResponse()
350 private HttpResponse httpGet(String url, CarrierConfig carrierConfig, String contentType) in httpGet()
/aosp12/art/tools/ahat/src/main/com/android/ahat/
H A DStaticHandler.java31 public StaticHandler(String resourceName, String contentType) { in StaticHandler()
/aosp12/frameworks/libs/service_entitlement/tests/utils/com/android/libraries/entitlement/testing/
H A DFakeURLStreamHandler.java169 public abstract String contentType(); in contentType() method in FakeURLStreamHandler.FakeResponse
190 public abstract Builder setContentType(String contentType); in setContentType()
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/
H A DMultipartTest.java55 StringBuffer contentType = new StringBuffer("multipart/form-data"); in testParts() local
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/le_audio/
H A DLeAudioNativeInterface.java187 public void groupStream(int groupId, int contentType) { in groupStream()
214 private native void groupStreamNative(int groupId, int contentType); in groupStreamNative()
/aosp12/frameworks/av/media/libaaudio/tests/
H A Dtest_attributes.cpp33 aaudio_content_type_t contentType, in checkAttributes()
182 for (aaudio_content_type_t contentType : sContentypes) { in checkAttributesContentType() local
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
H A DMultipart.java25 protected String contentType; field in Multipart
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
H A DBipAttachmentFormatTest.java49 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()
/aosp12/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/
H A DConfigParser.java89 public String contentType = null; field in ConfigParser.MimeHeader
354 private static Pair<String, String> parseContentType(String contentType) throws IOException { in parseContentType()
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/
H A DAttachmentPreviewFactory.java68 final String contentType = attachmentData.getContentType(); in createAttachmentPreview() local
130 final String contentType = attachmentData.getContentType(); in getImageRequestDescriptorForAttachment() local
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
H A DDocumentImagePicker.java125 protected void onPostExecute(final String contentType) { in prepareDocumentForAttachment()

123456