Searched refs:existingAttachment (Results 1 – 1 of 1) sorted by relevance
321 for (final MessagePartData existingAttachment : mAttachments) { in containsAttachment()322 if (existingAttachment.getContentUri().equals(contentUri)) { in containsAttachment()343 for (final MessagePartData existingAttachment : mAttachments) { in addOneAttachmentNoNotify()344 if (existingAttachment.getContentUri().equals(attachment.getContentUri())) { in addOneAttachmentNoNotify()347 mAttachments.remove(existingAttachment); in addOneAttachmentNoNotify()348 existingAttachment.destroyAsync(); in addOneAttachmentNoNotify()479 for (final MessagePartData existingAttachment : mAttachments) { in removeAttachment()480 if (existingAttachment.getContentUri().equals(attachment.getContentUri())) { in removeAttachment()481 mAttachments.remove(existingAttachment); in removeAttachment()482 existingAttachment.destroyAsync(); in removeAttachment()[all …]