/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
IEmailServiceCallback.aidl | 55 * attachmentId = the attachment being synced 59 void loadAttachmentStatus(long messageId, long attachmentId, int statusCode, int progress);
|
IEmailService.aidl | 32 oneway void loadAttachment(long attachmentId, boolean background);
|
EmailServiceProxy.java | 41 * new EmailServiceProxy(context, class).loadAttachment(attachmentId, callback) 135 * @param attachmentId the id of the attachment record 140 public void loadAttachment(final long attachmentId, final boolean background) 147 mService.loadAttachment(attachmentId, background); 152 mCallback.loadAttachmentStatus(-1, attachmentId,
|
/packages/apps/Email/src/com/android/email/ |
MessagingListener.java | 96 long attachmentId, 103 long attachmentId) { 109 long attachmentId,
|
GroupMessagingListener.java | 168 long attachmentId, 171 l.loadAttachmentStarted(accountId, messageId, attachmentId, requiresDownload); 179 long attachmentId) { 181 l.loadAttachmentFinished(accountId, messageId, attachmentId); 189 long attachmentId, 193 l.loadAttachmentFailed(accountId, messageId, attachmentId, me, background);
|
ControllerResultUiThreadWrapper.java | 62 final long messageId, final long attachmentId, final int progress) { 70 mWrappee.loadAttachmentCallback(result, accountId, messageId, attachmentId,
|
Controller.java | 738 public void deleteAttachment(long attachmentId) { 740 Uri uri = ContentUris.withAppendedId(Attachment.CONTENT_URI, attachmentId); [all...] |
LegacyConversions.java | 292 long attachmentId = localAttachment.mId; 301 attachmentId); 310 accountId, attachmentId).toString(); 319 Uri uri = ContentUris.withAppendedId(Attachment.CONTENT_URI, attachmentId);
|
MessagingController.java | [all...] |
/packages/apps/Email/src/com/android/email/service/ |
AttachmentDownloadService.java | 169 final long attachmentId; 179 attachmentId = attachment.mId; 193 return (int)attachmentId; 203 return req.attachmentId == attachmentId; 299 if (req.attachmentId == id) { 328 Log.d(TAG, "== Skip #" + req.attachmentId + "; maxed for acct #" + 423 Log.d(TAG, "== Download of " + req.attachmentId + " timed out"); 452 boolean alreadyInProgress = mDownloadsInProgress.get(req.attachmentId) != null; 457 Log.d(TAG, ">> Starting download for attachment #" + req.attachmentId); [all...] |
EmailServiceUtils.java | 107 public void loadAttachment(long attachmentId, boolean background) throws RemoteException {
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
AttachmentUtilities.java | 163 public static File getAttachmentFilename(Context context, long accountId, long attachmentId) { 164 return new File(getAttachmentDirectory(context, accountId), Long.toString(attachmentId)); 314 long attachmentId = c.getLong(Attachment.ID_PROJECTION_COLUMN); 315 File attachmentFile = getAttachmentFilename(context, accountId, attachmentId); 380 long attachmentId = attachment.mId; 390 File file = getAttachmentFilename(context, accountId, attachmentId); 393 contentUri = getAttachmentUri(accountId, attachmentId).toString();
|
/packages/apps/Email/tests/src/com/android/emailcommon/mail/ |
MessageTestUtils.java | 61 * @param attachmentId attachment id 65 public static Uri contentUri(long attachmentId, Account account) { 66 return AttachmentUtilities.getAttachmentUri(account.mId, attachmentId);
|
/packages/apps/Email/src/com/android/email/activity/ |
MessageViewFragmentBase.java | [all...] |
EmailActivity.java | 389 long messageId, long attachmentId, int progress) {
|
MessageCompose.java | [all...] |
/packages/apps/Email/tests/src/com/android/email/service/ |
AttachmentDownloadServiceTests.java | 117 assertEquals(expectedAttachmentIds[i], req.attachmentId);
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
AttachmentProviderTests.java | 462 long attachmentId = addAttachmentToDb(account, newAttachment); 463 Uri attachmentUri = AttachmentUtilities.getAttachmentUri(account.mId, attachmentId); 479 // We use attachmentId == 1 but any other id would do 485 // We know that the attachmentId 1 does not exist because there are no attachments
|
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
UtilityUnitTests.java | 299 long attachmentId = att.mId; 300 Uri uri = AttachmentUtilities.getAttachmentUri(account.mId, attachmentId);
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
ExchangeService.java | 292 public void loadAttachmentStatus(final long messageId, final long attachmentId, 297 cb.loadAttachmentStatus(messageId, attachmentId, status, progress); 427 public void loadAttachment(long attachmentId, boolean background) throws RemoteException { 428 Attachment att = Attachment.restoreAttachmentWithId(ExchangeService.this, attachmentId); 429 log("loadAttachment " + attachmentId + ": " + att.mFileName); [all...] |