Home
last modified time | relevance | path

Searched refs:getContentType (Results 1 – 25 of 112) sorted by relevance

12345

/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
H A DMimeBodyPart.java91 setHeader(MimeHeader.HEADER_CONTENT_TYPE, multipart.getContentType()); in setBody()
94 String name = MimeUtility.getHeaderParameter(getContentType(), "name"); in setBody()
104 public String getContentType() throws MessagingException { in getContentType() method in MimeBodyPart
136 return MimeUtility.getHeaderParameter(getContentType(), null); in getMimeType()
H A DMimeMessage.java224 public String getContentType() throws MessagingException { in getContentType() method in MimeMessage
251 return MimeUtility.getHeaderParameter(getContentType(), null); in getMimeType()
418 setHeader(MimeHeader.HEADER_CONTENT_TYPE, multipart.getContentType()); in setBody()
615 final MimeMultipart multiPart = new MimeMultipart(e.getContentType()); in startMultipart()
H A DMimeMultipart.java76 public String getContentType() throws MessagingException { in getContentType() method in MimeMultipart
/aosp12/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
H A DStartJobTask.java196 && mDocInfo.getContentType() == PrintDocumentInfo.CONTENT_TYPE_PHOTO; in isBorderless()
201 if (mDocInfo.getContentType() == PrintDocumentInfo.CONTENT_TYPE_PHOTO) { in getSides()
217 switch (mDocInfo.getContentType()) { in getFillPage()
234 } else if (mDocInfo.getContentType() == PrintDocumentInfo.CONTENT_TYPE_PHOTO in getMediaType()
254 switch (mDocInfo.getContentType()) { in getDocumentCategory()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
H A DBipAttachmentFormat.java121 public String getContentType() { in getContentType() method in BipAttachmentFormat
151 return a.getContentType() == getContentType() in equals()
/aosp12/frameworks/base/services/core/java/com/android/server/audio/
H A DFadeOutManager.java94 if (requester.getAudioAttributes().getContentType() == AudioAttributes.CONTENT_TYPE_SPEECH) in canCauseFadeOut()
118 apc.getAudioAttributes().getContentType())) { in canBeFadedOut()
121 + apc.getAudioAttributes().getContentType()); in canBeFadedOut()
135 if (ArrayUtils.contains(UNFADEABLE_CONTENT_TYPES, aa.getContentType())) { in getFadeOutDurationOnFocusLossMillis()
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
H A DMmsVideoRecorder.java55 ContentType.getExtension(getContentType())); in MmsVideoRecorder()
123 String getContentType() { in getContentType() method in MmsVideoRecorder
H A DGalleryGridItemView.java162 final String contentType = mData.getContentType(); in updateImageView()
183 if (ContentType.isVideoType(mData.getContentType())) { in updateImageView()
H A DGalleryGridView.java91 } else if (ContentType.isMediaType(data.getContentType())) { in onItemClicked()
106 "Selected item has invalid contentType " + data.getContentType()); in onItemClicked()
H A DDocumentImagePicker.java120 return ImageUtils.getContentType( in prepareDocumentForAttachment()
/aosp12/frameworks/av/services/oboeservice/
H A DAAudioServiceEndpoint.cpp66 result << " ContentType: " << getContentType() << "\n"; in dump()
184 AAudioConvert_contentTypeToInternal(params->getContentType()); in getAudioAttributesFrom()
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/
H A DBuglePhotoViewController.java110 final String contentType = adapter.getContentType(cursor); in updateShareActionProvider()
163 Uri.parse(photoUri), adapter.getContentType(cursor)).executeOnThreadPool(); in onOptionsItemSelected()
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/sms/
H A DOmtpMessageReceiver.java138 if (!OmtpConstants.VOICE.equals(message.getContentType())) { in processSync()
141 "Non-voice message of type '" + message.getContentType() + "' received, ignoring"); in processSync()
H A DSyncMessage.java114 public String getContentType() { in getContentType() method in SyncMessage
/aosp12/frameworks/base/media/java/android/media/audiopolicy/
H A DAudioProductStrategy.java377 && ((refAttr.getContentType() == AudioAttributes.CONTENT_TYPE_UNKNOWN) in attributesMatches()
378 || (attr.getContentType() == refAttr.getContentType())) in attributesMatches()
/aosp12/packages/services/Telephony/src/com/android/phone/callcomposer/
H A DCallComposerPictureTransfer.java323 String contentType = conn.getContentType(); in downloadImageFromConnection()
382 public String getContentType() { in makeUploadPart() method
431 connection.addRequestProperty("Content-Type", multipartEntity.getContentType().getValue());
497 Charset charset = MediaType.parse(connection.getContentType())
/aosp12/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/http/
H A DHttpClient.java126 responseBuilder.setContentType(getContentType(connection)); in getHttpResponse()
159 private static int getContentType(URLConnection connection) { in getContentType() method in HttpClient
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
H A DMultipart.java39 public String getContentType() throws MessagingException { in getContentType() method in Multipart
H A DPart.java30 public String getContentType() throws MessagingException; in getContentType() method
/aosp12/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
H A DMessagePartData.java332 public final String getContentType() { in getContentType() method in MessagePartData
519 LogUtil.e(LogUtil.BUGLE_DATAMODEL_TAG, "Unknown attachment type " + getContentType()); in getMinimumSizeInBytesForSending()
529 return getContentType() + " (" + getContentUri() + ")"; in toString()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
H A DBipAttachmentFormatTest.java55 Assert.assertEquals(contentType, attachment.getContentType()); in testParse()
79 Assert.assertEquals(contentType, attachment.getContentType()); in testCreate()
/aosp12/packages/apps/TV/src/com/android/tv/search/
H A DLocalSearchProvider.java199 row.add(result.getContentType()); in createSuggestionsCursor()
316 abstract String getContentType(); in getContentType() method in LocalSearchProvider.SearchResult
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DGalleryActivity.java126 private String getContentType(Intent intent) { in getContentType() method in GalleryActivity
165 String contentType = getContentType(intent); in startViewAction()
/aosp12/packages/apps/Messaging/src/android/support/v7/mms/pdu/
H A DRetrieveConf.java80 public byte[] getContentType() { in getContentType() method in RetrieveConf
/aosp12/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
H A DRetrieveConf.java82 public byte[] getContentType() { in getContentType() method in RetrieveConf

12345