Lines Matching defs:attachment

73      * @param account The account we're loading the attachment for.
74 * @param attachmentId The local id of the attachment (i.e. its id in the database).
109 final EmailContent.Attachment attachment) {
111 mAttachment = attachment;
121 * Encoder for Exchange 2003 attachment names. They come from the server partially encoded,
127 // These four characters are commonly received in EAS 2.5 attachment names and are
134 * Finish encoding attachment names for Exchange 2003.
146 * Finish encoding attachment names for Exchange 2003.
153 LogUtils.e(LOG_TAG, "Could not load attachment %d", mAttachmentId);
173 // First callback to let the client know that we have started the attachment load.
181 // We had an error processing an attachment, let's report a {@link EmailServiceStatus}
235 // Older versions of the protocol have the attachment location in the command.
249 LogUtils.e(LOG_TAG, "IOException while cleaning up attachment: %s", e.getMessage());
256 private boolean finishLoadAttachment(final EmailContent.Attachment attachment, final File file) {
262 LogUtils.e(LOG_TAG, "Could not open attachment file: %s", e.getMessage());
265 AttachmentUtilities.saveAttachment(mContext, in, attachment);
271 * Read the {@link EasResponse} and extract the attachment data, saving it to the provider.
272 * @param response The (successful) {@link EasResponse} containing the attachment data.
289 // 2. Move the attachment to its final location.
338 LogUtils.e(LOG_TAG, "Error post processing attachment file.");
342 LogUtils.e(LOG_TAG, "Error handling attachment: %s", e.getMessage());