Home
last modified time | relevance | path

Searched refs:attachmentUri (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleNotifications.java716 final Uri attachmentUri = notificationState.getAttachmentUri(); in sendNotification() local
721 if (attachmentUri != null && notificationState.mNotificationStyle != null && in sendNotification()
732 new MessagePartVideoThumbnailRequestDescriptor(attachmentUri); in sendNotification()
736 new UriImageRequestDescriptor(attachmentUri, in sendNotification()
985 final CharSequence message, final Uri attachmentUri, final String attachmentType) { in formatInboxMessage() argument
1009 if (attachmentUri != null) { in formatInboxMessage()
1019 final String title, final CharSequence content, final Uri attachmentUri, in buildColonSeparatedMessage() argument
1021 return buildBoldedMessage(title, content, attachmentUri, attachmentType, in buildColonSeparatedMessage()
1026 final String title, final CharSequence content, final Uri attachmentUri, in buildSpaceSeparatedMessage() argument
1028 return buildBoldedMessage(title, content, attachmentUri, attachmentType, in buildSpaceSeparatedMessage()
[all …]
DMessageNotificationState.java731 Uri attachmentUri = null; in buildConversationPageForWearable() local
737 attachmentUri = messagePartData.getContentUri(); in buildConversationPageForWearable()
744 displayName, text, attachmentUri, attachmentType); in buildConversationPageForWearable()
951 Uri attachmentUri = null; in createConversationInfoList() local
956 attachmentUri = messagePartData.getContentUri(); in createConversationInfoList()
961 attachmentUri, attachmentType, isManualDownloadNeeded, messageId)); in createConversationInfoList()
/packages/apps/Email/provider_src/com/android/email/provider/
DAttachmentProvider.java179 Uri attachmentUri = AttachmentUtilities.getAttachmentUri(accountId, id); in openFile() local
180 Cursor c = query(attachmentUri, in openFile()
185 attachmentUri = Uri.parse(c.getString(0)); in openFile()
193 String type = getContext().getContentResolver().getType(attachmentUri); in openFile()
196 getContext().getContentResolver().openInputStream(attachmentUri); in openFile()
/packages/apps/Email/tests/src/com/android/email/provider/
DAttachmentProviderTests.java449 Uri attachmentUri = AttachmentUtilities.getAttachmentUri(account.mId, attachmentId); in createAttachment() local
450 return attachmentUri; in createAttachment()
480 Uri attachmentUri = createAttachment(account1, message1Id, "file:///path/to/file"); in testResolveAttachmentIdToContentUri() local
482 mMockResolver, attachmentUri); in testResolveAttachmentIdToContentUri()
489 Uri attachmentUri = createAttachment(account1, message1Id, null); in testResolveAttachmentIdToContentUri() local
491 mMockResolver, attachmentUri); in testResolveAttachmentIdToContentUri()
493 assertEquals(attachmentUri, contentUri); in testResolveAttachmentIdToContentUri()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DEmlAttachmentProvider.java131 for (final Uri attachmentUri : attachmentUris) { in query()
132 addRow(cursor, attachmentUri, contentTypeQueryParameters); in query()
210 for (final Uri attachmentUri : attachmentUris) { in delete()
211 mUriAttachmentMap.remove(attachmentUri); in delete()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DAttachmentUtilities.java274 public static Uri resolveAttachmentIdToContentUri(ContentResolver resolver, Uri attachmentUri) { in resolveAttachmentIdToContentUri() argument
275 Cursor c = resolver.query(attachmentUri, in resolveAttachmentIdToContentUri()
290 return attachmentUri; in resolveAttachmentIdToContentUri()
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java553 final Uri attachmentUri = messagePart.getContentUri(); in addVideoPart() local
557 LogUtil.v(TAG, "addPart attachmentUrl: " + attachmentUri.toString()); in addVideoPart()
564 addPartForUri(context, pb, srcName, attachmentUri, contentType); in addVideoPart()
565 return (int) getMediaFileSize(attachmentUri); in addVideoPart()
570 final Uri attachmentUri = messagePart.getContentUri(); in addOtherPart() local
574 LogUtil.v(TAG, "addPart attachmentUrl: " + attachmentUri.toString()); in addOtherPart()
577 final int dataSize = (int) getMediaFileSize(attachmentUri); in addOtherPart()
579 addPartForUri(context, pb, srcName, attachmentUri, contentType); in addOtherPart()
/packages/apps/Email/provider_src/com/android/email/service/
DPop3Service.java210 FetchCallback(ContentResolver resolver, Uri attachmentUri) { in FetchCallback() argument
212 mAttachmentUri = attachmentUri; in FetchCallback()