Searched defs:statusCode (Results 1 - 5 of 5) sorted by relevance

/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/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/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadThread.java711 int statusCode = response.getStatusLine().getStatusCode();
712 if (statusCode == 503 && mInfo.mNumFailed < Constants.MAX_RETRIES) {
715 if (statusCode == 301 || statusCode == 302 || statusCode == 303 || statusCode == 307) {
716 handleRedirect(state, response, statusCode);
720 Log.i(Constants.TAG, "recevd_status = " + statusCode +
724 if (statusCode != expectedStatus) {
725 handleOtherStatus(state, innerState, statusCode);
732 handleOtherStatus(State state, InnerState innerState, int statusCode) argument
756 handleRedirect(State state, HttpResponse response, int statusCode) argument
[all...]
/packages/apps/Email/src/com/android/email/service/
H A DAttachmentDownloadService.java512 * @param statusCode the EmailServiceStatus code returned by the Service
514 /*package*/ synchronized void endDownload(long attachmentId, int statusCode) { argument
526 if (statusCode != EmailServiceStatus.SUCCESS) {
535 if (statusCode == EmailServiceStatus.CONNECTION_ERROR) {
557 String status = (statusCode == EmailServiceStatus.SUCCESS) ? "Success" :
558 "Error " + statusCode;
574 if (statusCode == EmailServiceStatus.ATTACHMENT_NOT_FOUND) {
594 if (statusCode == EmailServiceStatus.MESSAGE_NOT_FOUND) {
652 public void loadAttachmentStatus(long messageId, long attachmentId, int statusCode, argument
659 switch(statusCode) {
684 sendMessageStatus(long messageId, String subject, int statusCode, int progress) argument
689 syncMailboxListStatus(long accountId, int statusCode, int progress) argument
694 syncMailboxStatus(long mailboxId, int statusCode, int progress) argument
699 loadMessageStatus(long messageId, int statusCode, int progress) argument
[all...]
/packages/apps/Email/src/com/android/email/
H A DController.java1586 public void loadAttachmentStatus(long messageId, long attachmentId, int statusCode, argument
1588 MessagingException result = mapStatusToException(statusCode);
1589 switch (statusCode) {
1619 public void sendMessageStatus(long messageId, String subject, int statusCode, argument
1622 MessagingException result = mapStatusToException(statusCode);
1623 switch (statusCode) {
1641 public void syncMailboxListStatus(long accountId, int statusCode, int progress) { argument
1642 MessagingException result = mapStatusToException(statusCode);
1643 switch (statusCode) {
1661 public void syncMailboxStatus(long mailboxId, int statusCode, in argument
1686 mapStatusToException(int statusCode) argument
1724 loadMessageStatus(long messageId, int statusCode, int progress) argument
[all...]

Completed in 174 milliseconds