Home | History | Annotate | Download | only in email

Lines Matching refs:delete

207      * Delete all Messages that live in the attachment mailbox
218 // Must delete attachments BEFORE messages
221 resolver.delete(Message.CONTENT_URI, WHERE_MAILBOX_KEY,
735 * Delete a single attachment entry from the DB given its id.
736 * Does not delete any eventual associated files.
741 resolver.delete(uri, null, null);
772 * Delete a single message by moving it to the trash, or really delete it if it's already in
778 * @param messageId The id of the message to "delete".
802 // 5. Perform "delete" as appropriate
804 // 5a. Really delete it
805 resolver.delete(uri, null, null);
988 // Delete existing contents of search mailbox
990 resolver.delete(Message.CONTENT_URI, Message.MAILBOX_KEY + "=" + searchMailboxId,
1131 * Delete an account.
1143 * Delete an account synchronously.
1154 // Delete account data, attachments, PIM data, etc.
1157 // Now delete the account itself
1159 context.getContentResolver().delete(uri, null, null);
1178 * Delete all synced data, but don't delete the actual account. This is used when security
1191 // Delete synced attachments
1195 // Delete synced email, leaving only an empty inbox. We do this in two phases:
1196 // 1. Delete all non-inbox mailboxes (which will delete all of their messages)
1197 // 2. Delete all remaining messages (which will be the inbox messages)
1200 resolver.delete(Mailbox.CONTENT_URI,
1203 resolver.delete(Message.CONTENT_URI, MESSAGES_FOR_ACCOUNT_SELECTION, accountIdArgs);
1205 // Delete sync keys on remaining items
1214 // Delete PIM data (contacts, calendar), stop syncs, etc. if applicable