/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
D | MimeBodyPart.java | 91 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()
|
D | MimeMessage.java | 224 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()
|
D | MimeMultipart.java | 76 public String getContentType() throws MessagingException { in getContentType() method in MimeMultipart
|
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/ |
D | StartJobTask.java | 213 && mDocInfo.getContentType() == PrintDocumentInfo.CONTENT_TYPE_PHOTO; in isBorderless() 218 if (mDocInfo.getContentType() == PrintDocumentInfo.CONTENT_TYPE_PHOTO) { in getSides() 234 switch (mDocInfo.getContentType()) { in getFillPage() 251 } else if (mDocInfo.getContentType() == PrintDocumentInfo.CONTENT_TYPE_PHOTO in getMediaType() 271 switch (mDocInfo.getContentType()) { in getDocumentCategory()
|
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/ |
D | ServerInterfaceTest.java | 279 Mockito.when(connection.getContentType()).thenReturn("application/NOPE"); in testReadErrorInvalidContentType() 289 Mockito.when(connection.getContentType()).thenReturn("text"); in testReadTextErrorFromErrorStreamNoErrorData() 301 Mockito.when(connection.getContentType()).thenReturn("text"); in testReadTextErrorFromErrorStream() 323 Mockito.when(connection.getContentType()).thenReturn(contentType); in testReadTextError() 338 Mockito.when(connection.getContentType()).thenReturn("application/json"); in testReadJsonError() 351 Mockito.when(connection.getContentType()).thenReturn("text"); in testReadErrorStreamThrowsException() 362 Mockito.when(connection.getContentType()).thenReturn("text"); in testReadErrorEmptyStream() 379 Mockito.when(connection.getContentType()).thenReturn("text"); in testReadErrorStreamTooLarge()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipAttachmentFormat.java | 122 public String getContentType() { in getContentType() method in BipAttachmentFormat 152 return a.getContentType() == getContentType() in equals()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/entitlement/http/ |
D | HttpClient.java | 146 responseBuilder.setContentType(getContentType(connection)); in getHttpResponse() 184 private static int getContentType(@NonNull URLConnection connection) { in getContentType() method in HttpClient 189 return HttpConstants.getContentType(contentType); in getContentType()
|
D | HttpConstants.java | 58 public static int getContentType(@NonNull String contentType) { in getContentType() method in HttpConstants
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | MmsVideoRecorder.java | 55 ContentType.getExtension(getContentType())); in MmsVideoRecorder() 123 String getContentType() { in getContentType() method in MmsVideoRecorder
|
D | GalleryGridItemView.java | 162 final String contentType = mData.getContentType(); in updateImageView() 183 if (ContentType.isVideoType(mData.getContentType())) { in updateImageView()
|
D | GalleryGridView.java | 91 } else if (ContentType.isMediaType(data.getContentType())) { in onItemClicked() 106 "Selected item has invalid contentType " + data.getContentType()); in onItemClicked()
|
D | DocumentImagePicker.java | 120 return ImageUtils.getContentType( in prepareDocumentForAttachment()
|
/packages/services/Telephony/src/com/android/phone/callcomposer/ |
D | CallComposerPictureTransfer.java | 323 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())
|
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/ |
D | OmtpMessageReceiver.java | 138 if (!OmtpConstants.VOICE.equals(message.getContentType())) { in processSync() 141 "Non-voice message of type '" + message.getContentType() + "' received, ignoring"); in processSync()
|
D | SyncMessage.java | 114 public String getContentType() { in getContentType() method in SyncMessage
|
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/ |
D | BuglePhotoViewController.java | 110 final String contentType = adapter.getContentType(cursor); in updateShareActionProvider() 163 Uri.parse(photoUri), adapter.getContentType(cursor)).executeOnThreadPool(); in onOptionsItemSelected()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
D | Multipart.java | 39 public String getContentType() throws MessagingException { in getContentType() method in Multipart
|
D | Part.java | 30 public String getContentType() throws MessagingException; in getContentType() method
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | MessagePartData.java | 332 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()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/ |
D | BluetoothMapbMessageMimeTest.java | 95 assertThat(mMime.getContentType()).isEqualTo(TEST_CONTENT_TYPE); in testGetters() 189 assertThat(mimeToCreateByParsing.getContentType()).isEqualTo(TEST_CONTENT_TYPE); in testEncode_ThenCreateByParsing_ReturnsCorrectly()
|
/packages/apps/TV/src/com/android/tv/search/ |
D | LocalSearchProvider.java | 199 row.add(result.getContentType()); in createSuggestionsCursor() 316 abstract String getContentType(); in getContentType() method in LocalSearchProvider.SearchResult
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | GalleryActivity.java | 126 private String getContentType(Intent intent) { in getContentType() method in GalleryActivity 165 String contentType = getContentType(intent); in startViewAction()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipAttachmentFormatTest.java | 61 Assert.assertEquals(contentType, attachment.getContentType()); in testParse() 90 Assert.assertEquals(contentType, attachment.getContentType()); in testCreate()
|
/packages/apps/Messaging/src/android/support/v7/mms/pdu/ |
D | RetrieveConf.java | 80 public byte[] getContentType() { in getContentType() method in RetrieveConf
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
D | RetrieveConf.java | 82 public byte[] getContentType() { in getContentType() method in RetrieveConf
|