Home | History | Annotate | Download | only in provider

Lines Matching refs:accountId

90     public static Uri getAttachmentUri(long accountId, long id) {
92 .appendPath(Long.toString(accountId))
98 public static Uri getAttachmentThumbnailUri(long accountId, long id,
101 .appendPath(Long.toString(accountId))
116 public static File getAttachmentFilename(Context context, long accountId, long attachmentId) {
117 return new File(getAttachmentDirectory(context, accountId), Long.toString(attachmentId));
127 public static File getAttachmentDirectory(Context context, long accountId) {
128 return context.getDatabasePath(accountId + ".db_att");
241 String accountId = segments.get(0);
247 String filename = "thmb_" + accountId + "_" + id;
252 getAttachmentUri(Long.parseLong(accountId), Long.parseLong(id));
291 new File(getContext().getDatabasePath(accountId + ".db_att"), id),
330 String accountId = segments.get(0);
436 * @param accountId the account for the message
439 public static void deleteAllAttachmentFiles(Context context, long accountId, long messageId) {
446 File attachmentFile = getAttachmentFilename(context, accountId, attachmentId);
461 * @param accountId the account for the mailbox
464 public static void deleteAllMailboxAttachmentFiles(Context context, long accountId,
472 deleteAllAttachmentFiles(context, accountId, messageId);