Home
last modified time | relevance | path

Searched refs:statusCode (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DIEmailServiceCallback.aidl42 void syncMailboxListStatus(long accountId, int statusCode, int progress); in syncMailboxListStatus() argument
50 void syncMailboxStatus(long mailboxId, int statusCode, int progress); in syncMailboxStatus() argument
59 void loadAttachmentStatus(long messageId, long attachmentId, int statusCode, int progress); in loadAttachmentStatus() argument
67 void sendMessageStatus(long messageId, String subject, int statusCode, int progress); in sendMessageStatus() argument
75 void loadMessageStatus(long messageId, int statusCode, int progress); in loadMessageStatus() argument
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppUtility.java257 public static String getStatusDescription(Context context, int statusCode, String deviceName) { in getStatusDescription() argument
259 if (statusCode == BluetoothShare.STATUS_PENDING) { in getStatusDescription()
261 } else if (statusCode == BluetoothShare.STATUS_RUNNING) { in getStatusDescription()
263 } else if (statusCode == BluetoothShare.STATUS_SUCCESS) { in getStatusDescription()
265 } else if (statusCode == BluetoothShare.STATUS_NOT_ACCEPTABLE) { in getStatusDescription()
267 } else if (statusCode == BluetoothShare.STATUS_FORBIDDEN) { in getStatusDescription()
269 } else if (statusCode == BluetoothShare.STATUS_CANCELED) { in getStatusDescription()
271 } else if (statusCode == BluetoothShare.STATUS_FILE_ERROR) { in getStatusDescription()
273 } else if (statusCode == BluetoothShare.STATUS_ERROR_NO_SDCARD) { in getStatusDescription()
275 } else if (statusCode == BluetoothShare.STATUS_CONNECTION_ERROR) { in getStatusDescription()
[all …]
/packages/apps/Email/src/com/android/email/service/
DAttachmentDownloadService.java514 /*package*/ synchronized void endDownload(long attachmentId, int statusCode) { in endDownload() argument
526 if (statusCode != EmailServiceStatus.SUCCESS) { in endDownload()
535 if (statusCode == EmailServiceStatus.CONNECTION_ERROR) { in endDownload()
557 String status = (statusCode == EmailServiceStatus.SUCCESS) ? "Success" : in endDownload()
558 "Error " + statusCode; in endDownload()
574 if (statusCode == EmailServiceStatus.ATTACHMENT_NOT_FOUND) { in endDownload()
594 if (statusCode == EmailServiceStatus.MESSAGE_NOT_FOUND) { in endDownload()
652 public void loadAttachmentStatus(long messageId, long attachmentId, int statusCode, in loadAttachmentStatus() argument
659 switch(statusCode) { in loadAttachmentStatus()
662 default: code = Integer.toString(statusCode); break; in loadAttachmentStatus()
[all …]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java670 int statusCode = response.getStatusLine().getStatusCode(); in handleExceptionalStatus() local
671 if (statusCode == 503 && mInfo.mNumFailed < Constants.MAX_RETRIES) { in handleExceptionalStatus()
674 if (statusCode == 301 || statusCode == 302 || statusCode == 303 || statusCode == 307) { in handleExceptionalStatus()
675 handleRedirect(state, response, statusCode); in handleExceptionalStatus()
679 Log.i(Constants.TAG, "recevd_status = " + statusCode + in handleExceptionalStatus()
683 if (statusCode != expectedStatus) { in handleExceptionalStatus()
684 handleOtherStatus(state, innerState, statusCode); in handleExceptionalStatus()
691 private void handleOtherStatus(State state, InnerState innerState, int statusCode) in handleOtherStatus() argument
693 if (statusCode == 416) { in handleOtherStatus()
699 if (Downloads.Impl.isStatusError(statusCode)) { in handleOtherStatus()
[all …]
DDrmConvertSession.java96 convertedStatus.statusCode == DrmConvertedStatus.STATUS_OK && in convert()
130 convertedStatus.statusCode != DrmConvertedStatus.STATUS_OK || in close()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DHttpHelper.java125 public HttpException(int statusCode, String reasonPhrase) { in HttpException() argument
126 super(statusCode + " " + reasonPhrase); in HttpException()
127 mStatusCode = statusCode; in HttpException()
/packages/apps/Email/src/com/android/email/
DController.java1586 public void loadAttachmentStatus(long messageId, long attachmentId, int statusCode,
1588 MessagingException result = mapStatusToException(statusCode);
1589 switch (statusCode) {
1619 public void sendMessageStatus(long messageId, String subject, int statusCode,
1622 MessagingException result = mapStatusToException(statusCode);
1623 switch (statusCode) {
1641 public void syncMailboxListStatus(long accountId, int statusCode, int progress) {
1642 MessagingException result = mapStatusToException(statusCode);
1643 switch (statusCode) {
1661 public void syncMailboxStatus(long mailboxId, int statusCode, int progress) {
[all …]
/packages/apps/Exchange/exchange2/src/com/android/exchange/
DEasSyncService.java1076 int statusCode = p.getStatusCode(); in messageMoveRequest() local
1078 if (statusCode == MoveItemsParser.STATUS_CODE_REVERT) { in messageMoveRequest()
1084 } else if (statusCode == MoveItemsParser.STATUS_CODE_SUCCESS) { in messageMoveRequest()
1092 if (statusCode == MoveItemsParser.STATUS_CODE_SUCCESS in messageMoveRequest()
1093 || statusCode == MoveItemsParser.STATUS_CODE_REVERT) { in messageMoveRequest()
DExchangeService.java336 public void loadMessageStatus(long messageId, int statusCode, int progress)