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

/packages/apps/Messaging/src/android/support/v7/mms/
H A DMmsHttpException.java27 public MmsHttpException(int statusCode) { argument
29 mStatusCode = statusCode;
32 public MmsHttpException(int statusCode, String message) { argument
34 mStatusCode = statusCode;
37 public MmsHttpException(int statusCode, Throwable cause) { argument
39 mStatusCode = statusCode;
42 public MmsHttpException(int statusCode, String message, Throwable cause) { argument
44 mStatusCode = statusCode;
/packages/services/Mms/src/com/android/mms/service/exception/
H A DMmsHttpException.java27 public MmsHttpException(int statusCode) { argument
29 mStatusCode = statusCode;
32 public MmsHttpException(int statusCode, String message) { argument
34 mStatusCode = statusCode;
37 public MmsHttpException(int statusCode, Throwable cause) { argument
39 mStatusCode = statusCode;
42 public MmsHttpException(int statusCode, String message, Throwable cause) { argument
44 mStatusCode = statusCode;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/
H A DHttpException.java32 * @param statusCode int HTTP status code.
34 public HttpException(int statusCode) { argument
35 super("Response Code: " + statusCode);
36 mStatusCode = statusCode;
/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.java105 * @param statusCode The status code for this sync operation.
110 final int statusType, final long id, final int statusCode, final int progress,
120 statusExtras.putInt(SYNC_STATUS_CODE, statusCode);
121 if (statusCode != IN_PROGRESS) {
139 * @param statusCode The status code for this sync operation.
143 final long mailboxId, final int statusCode, final int progress, int syncResult) {
144 syncStatus(cr, syncExtras, SYNC_STATUS_TYPE_MAILBOX, mailboxId, statusCode, progress,
109 syncStatus(final ContentResolver cr, final Bundle syncExtras, final int statusType, final long id, final int statusCode, final int progress, int syncResult, final StatusWriter writer) argument
142 syncMailboxStatus(final ContentResolver cr, final Bundle syncExtras, final long mailboxId, final int statusCode, final int progress, int syncResult) argument
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
H A DInstallFailed.java49 * @param statusCode The status code from the package installer.
53 private int getExplanationFromErrorCode(int statusCode) { argument
54 Log.d(LOG_TAG, "Installation status code: " + statusCode);
56 switch (statusCode) {
74 int statusCode = getIntent().getIntExtra(PackageInstaller.EXTRA_STATUS,
112 if (statusCode == PackageInstaller.STATUS_FAILURE_STORAGE) {
118 getExplanationFromErrorCode(statusCode));
H A DInstallInstalling.java275 * @param statusCode The installation result.
279 private void launchFinishBasedOnResult(int statusCode, int legacyStatus, String statusMessage) { argument
280 if (statusCode == PackageInstaller.STATUS_SUCCESS) {
/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.java287 public static String getStatusDescription(Context context, int statusCode, String deviceName) { argument
289 if (statusCode == BluetoothShare.STATUS_PENDING) {
291 } else if (statusCode == BluetoothShare.STATUS_RUNNING) {
293 } else if (statusCode == BluetoothShare.STATUS_SUCCESS) {
295 } else if (statusCode == BluetoothShare.STATUS_NOT_ACCEPTABLE) {
297 } else if (statusCode == BluetoothShare.STATUS_FORBIDDEN) {
299 } else if (statusCode == BluetoothShare.STATUS_CANCELED) {
301 } else if (statusCode == BluetoothShare.STATUS_FILE_ERROR) {
303 } else if (statusCode == BluetoothShare.STATUS_ERROR_NO_SDCARD) {
305 } else if (statusCode
[all...]
/packages/apps/Email/provider_src/com/android/email/service/
H A DAttachmentService.java509 final int statusCode, final int progress) {
512 if (statusCode == EmailServiceStatus.IN_PROGRESS) {
526 final int statusCode, final int progress) {
534 req.mLastStatusCode, statusCode);
541 req.mLastStatusCode = statusCode;
548 final ContentValues values = getAttachmentUpdateValues(attachment, statusCode,
554 switch (statusCode) {
562 endDownload(attachmentId, statusCode);
1042 * @param statusCode the EmailServiceStatus code returned by the Service
1044 synchronized void endDownload(final long attachmentId, final int statusCode) { argument
508 getAttachmentUpdateValues(final Attachment attachment, final int statusCode, final int progress) argument
525 loadAttachmentStatus(final long messageId, final long attachmentId, final int statusCode, final int progress) argument
[all...]
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/
H A DDrmConvertSession.java99 convertedStatus.statusCode == DrmConvertedStatus.STATUS_OK &&
133 convertedStatus.statusCode != DrmConvertedStatus.STATUS_OK ||
/packages/apps/Email/provider_src/com/android/email/provider/
H A DEmailProvider.java2244 final int statusCode = extras.getInt(EmailServiceStatus.SYNC_STATUS_CODE);
2247 final boolean inProgress = statusCode == EmailServiceStatus.IN_PROGRESS;

Completed in 666 milliseconds