Searched refs:statusCode (Results 1 - 6 of 6) sorted by relevance

/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DIEmailServiceCallback.aidl40 * statusCode = 0 for OK, 1 for progress, other codes for error
43 void loadAttachmentStatus(long messageId, long attachmentId, int statusCode, int progress);
H A DEmailServiceStatus.java85 * @param statusCode The status code for this sync operation.
90 final int statusType, final long id, final int statusCode, final int progress,
99 statusExtras.putInt(SYNC_STATUS_CODE, statusCode);
115 * @param statusCode The status code for this sync operation.
119 final long mailboxId, final int statusCode, final int progress) {
120 syncStatus(cr, syncExtras, SYNC_STATUS_TYPE_MAILBOX, mailboxId, statusCode, progress, null);
89 syncStatus(final ContentResolver cr, final Bundle syncExtras, final int statusType, final long id, final int statusCode, final int progress, final StatusWriter writer) argument
118 syncMailboxStatus(final ContentResolver cr, final Bundle syncExtras, final long mailboxId, final int statusCode, final int progress) argument
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
H A DHttpHelper.java125 public HttpException(int statusCode, String reasonPhrase) { argument
126 super(statusCode + " " + reasonPhrase);
127 mStatusCode = statusCode;
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppUtility.java262 public static String getStatusDescription(Context context, int statusCode, String deviceName) { argument
264 if (statusCode == BluetoothShare.STATUS_PENDING) {
266 } else if (statusCode == BluetoothShare.STATUS_RUNNING) {
268 } else if (statusCode == BluetoothShare.STATUS_SUCCESS) {
270 } else if (statusCode == BluetoothShare.STATUS_NOT_ACCEPTABLE) {
272 } else if (statusCode == BluetoothShare.STATUS_FORBIDDEN) {
274 } else if (statusCode == BluetoothShare.STATUS_CANCELED) {
276 } else if (statusCode == BluetoothShare.STATUS_FILE_ERROR) {
278 } else if (statusCode == BluetoothShare.STATUS_ERROR_NO_SDCARD) {
280 } else if (statusCode
[all...]
/packages/apps/Email/src/com/android/email/service/
H A DAttachmentDownloadService.java537 * @param statusCode the EmailServiceStatus code returned by the Service
539 /*package*/ synchronized void endDownload(long attachmentId, int statusCode) { argument
551 if (statusCode != EmailServiceStatus.SUCCESS) {
560 if (statusCode == EmailServiceStatus.CONNECTION_ERROR) {
599 String status = (statusCode == EmailServiceStatus.SUCCESS) ? "Success" :
600 "Error " + statusCode;
616 if (statusCode == EmailServiceStatus.ATTACHMENT_NOT_FOUND) {
643 if (statusCode == EmailServiceStatus.MESSAGE_NOT_FOUND) {
703 public void loadAttachmentStatus(long messageId, long attachmentId, int statusCode, argument
710 switch(statusCode) {
[all...]
/packages/apps/Exchange/src/com/android/exchange/
H A DEasSyncService.java1100 int statusCode = p.getStatusCode();
1102 if (statusCode == MoveItemsParser.STATUS_CODE_REVERT) {
1108 } else if (statusCode == MoveItemsParser.STATUS_CODE_SUCCESS) {
1116 if (statusCode == MoveItemsParser.STATUS_CODE_SUCCESS
1117 || statusCode == MoveItemsParser.STATUS_CODE_REVERT) {

Completed in 83 milliseconds