Searched refs:EmailServiceStatus (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Email/provider_src/com/android/email/service/ |
D | PopImapSyncAdapterService.java | 43 import com.android.emailcommon.service.EmailServiceStatus; 138 EmailServiceStatus.syncMailboxStatus(resolver, extras, mailboxId, in sync() 139 EmailServiceStatus.IN_PROGRESS, 0, lastSyncResult); in sync() 148 EmailServiceStatus.syncMailboxStatus(resolver, extras, mailboxId, status, 0, in sync() 158 EmailServiceStatus.syncMailboxStatus(resolver, extras, mailboxId, in sync() 159 EmailServiceStatus.FAILURE, 0, lastSyncResult); in sync() 165 EmailServiceStatus.syncMailboxStatus(resolver, extras, mailboxId, in sync() 166 EmailServiceStatus.FAILURE, 0, lastSyncResult); in sync() 172 EmailServiceStatus.syncMailboxStatus(resolver, extras, mailboxId, in sync() 173 EmailServiceStatus.FAILURE, 0, lastSyncResult); in sync() [all …]
|
D | EmailServiceStub.java | 55 import com.android.emailcommon.service.EmailServiceStatus; 132 EmailServiceStatus.ATTACHMENT_NOT_FOUND, 0); in loadAttachment() 141 EmailServiceStatus.MESSAGE_NOT_FOUND, 0); in loadAttachment() 148 cb.loadAttachmentStatus(messageId, attachmentId, EmailServiceStatus.SUCCESS, in loadAttachment() 154 cb.loadAttachmentStatus(messageId, attachmentId, EmailServiceStatus.IN_PROGRESS, 0); in loadAttachment() 183 EmailServiceStatus.SUCCESS, 0); in loadAttachment() 233 cb.loadAttachmentStatus(messageId, attachmentId, EmailServiceStatus.SUCCESS, 0); in loadAttachment() 243 cb.loadAttachmentStatus(0, attachmentId, EmailServiceStatus.CONNECTION_ERROR, 0); in loadAttachment() 273 EmailServiceStatus.IN_PROGRESS, progress); in loadAttachmentProgress() 409 return EmailServiceStatus.SUCCESS; in searchMessages() [all …]
|
D | AttachmentService.java | 45 import com.android.emailcommon.service.EmailServiceStatus; 512 if (statusCode == EmailServiceStatus.IN_PROGRESS) { in getAttachmentUpdateValues() 555 case EmailServiceStatus.IN_PROGRESS: in loadAttachmentStatus() 1058 if (statusCode != EmailServiceStatus.SUCCESS) { in endDownload() 1068 if (statusCode == EmailServiceStatus.CONNECTION_ERROR) { in endDownload() 1116 final String status = (statusCode == EmailServiceStatus.SUCCESS) ? "Success" : in endDownload() 1133 if (statusCode == EmailServiceStatus.ATTACHMENT_NOT_FOUND) { in endDownload() 1163 if (statusCode == EmailServiceStatus.MESSAGE_NOT_FOUND) { in endDownload()
|
D | Pop3Service.java | 52 import com.android.emailcommon.service.EmailServiceStatus; 131 return EmailServiceStatus.SUCCESS; in synchronizeMailboxSynchronous()
|
D | EmailServiceUtils.java | 60 import com.android.emailcommon.service.EmailServiceStatus; 741 return EmailServiceStatus.SUCCESS; in sync()
|
D | ImapService.java | 60 import com.android.emailcommon.service.EmailServiceStatus; 193 return EmailServiceStatus.SUCCESS; in synchronizeMailboxSynchronous()
|
/packages/apps/Email/tests/src/com/android/email/service/ |
D | AttachmentServiceTests.java | 25 import com.android.emailcommon.service.EmailServiceStatus; 460 EmailServiceStatus.SUCCESS, 75); in testServiceCallbackAttachmentCompleteUpdate() 473 EmailServiceStatus.CONNECTION_ERROR, 75); in testServiceCallbackAttachmentErrorUpdate() 486 EmailServiceStatus.IN_PROGRESS, 75); in testServiceCallbackAttachmentInProgressUpdate()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
D | EmailServiceProxy.java | 130 EmailServiceStatus.REMOTE_EXCEPTION, 0); in loadAttachment() 345 return EmailServiceStatus.IO_ERROR; in sync()
|
D | EmailServiceStatus.java | 33 public abstract class EmailServiceStatus { class
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | EmailProvider.java | 104 import com.android.emailcommon.service.EmailServiceStatus; 2243 final long id = extras.getLong(EmailServiceStatus.SYNC_STATUS_ID); in updateSyncStatus() 2244 final int statusCode = extras.getInt(EmailServiceStatus.SYNC_STATUS_CODE); in updateSyncStatus() 2247 final boolean inProgress = statusCode == EmailServiceStatus.IN_PROGRESS; in updateSyncStatus() 2251 final int result = extras.getInt(EmailServiceStatus.SYNC_RESULT); in updateSyncStatus() 5807 extras.putString(EmailServiceStatus.SYNC_EXTRAS_CALLBACK_URI, in startSync() 5809 extras.putString(EmailServiceStatus.SYNC_EXTRAS_CALLBACK_METHOD, in startSync() 5839 extras.putString(EmailServiceStatus.SYNC_EXTRAS_CALLBACK_URI, in restartPush() 5841 extras.putString(EmailServiceStatus.SYNC_EXTRAS_CALLBACK_METHOD, in restartPush()
|