Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppUtility.java287 public static String getStatusDescription(Context context, int statusCode, String deviceName) { in getStatusDescription() argument
289 if (statusCode == BluetoothShare.STATUS_PENDING) { in getStatusDescription()
291 } else if (statusCode == BluetoothShare.STATUS_RUNNING) { in getStatusDescription()
293 } else if (statusCode == BluetoothShare.STATUS_SUCCESS) { in getStatusDescription()
295 } else if (statusCode == BluetoothShare.STATUS_NOT_ACCEPTABLE) { in getStatusDescription()
297 } else if (statusCode == BluetoothShare.STATUS_FORBIDDEN) { in getStatusDescription()
299 } else if (statusCode == BluetoothShare.STATUS_CANCELED) { in getStatusDescription()
301 } else if (statusCode == BluetoothShare.STATUS_FILE_ERROR) { in getStatusDescription()
303 } else if (statusCode == BluetoothShare.STATUS_ERROR_NO_SDCARD) { in getStatusDescription()
305 } else if (statusCode == BluetoothShare.STATUS_CONNECTION_ERROR) { in getStatusDescription()
[all …]
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsHttpException.java27 public MmsHttpException(int statusCode) { in MmsHttpException() argument
29 mStatusCode = statusCode; in MmsHttpException()
32 public MmsHttpException(int statusCode, String message) { in MmsHttpException() argument
34 mStatusCode = statusCode; in MmsHttpException()
37 public MmsHttpException(int statusCode, Throwable cause) { in MmsHttpException() argument
39 mStatusCode = statusCode; in MmsHttpException()
42 public MmsHttpException(int statusCode, String message, Throwable cause) { in MmsHttpException() argument
44 mStatusCode = statusCode; in MmsHttpException()
/packages/services/Mms/src/com/android/mms/service/exception/
DMmsHttpException.java27 public MmsHttpException(int statusCode) { in MmsHttpException() argument
29 mStatusCode = statusCode; in MmsHttpException()
32 public MmsHttpException(int statusCode, String message) { in MmsHttpException() argument
34 mStatusCode = statusCode; in MmsHttpException()
37 public MmsHttpException(int statusCode, Throwable cause) { in MmsHttpException() argument
39 mStatusCode = statusCode; in MmsHttpException()
42 public MmsHttpException(int statusCode, String message, Throwable cause) { in MmsHttpException() argument
44 mStatusCode = statusCode; in MmsHttpException()
/packages/apps/Email/provider_src/com/android/email/service/
DAttachmentService.java509 final int statusCode, final int progress) { in getAttachmentUpdateValues() argument
512 if (statusCode == EmailServiceStatus.IN_PROGRESS) { in getAttachmentUpdateValues()
526 final int statusCode, final int progress) { in loadAttachmentStatus() argument
534 req.mLastStatusCode, statusCode); in loadAttachmentStatus()
541 req.mLastStatusCode = statusCode; in loadAttachmentStatus()
548 final ContentValues values = getAttachmentUpdateValues(attachment, statusCode, in loadAttachmentStatus()
554 switch (statusCode) { in loadAttachmentStatus()
562 endDownload(attachmentId, statusCode); in loadAttachmentStatus()
1044 synchronized void endDownload(final long attachmentId, final int statusCode) { in endDownload() argument
1058 if (statusCode != EmailServiceStatus.SUCCESS) { in endDownload()
[all …]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DInstallFailed.java53 private int getExplanationFromErrorCode(int statusCode) { in getExplanationFromErrorCode() argument
54 Log.d(LOG_TAG, "Installation status code: " + statusCode); in getExplanationFromErrorCode()
56 switch (statusCode) { in getExplanationFromErrorCode()
74 int statusCode = getIntent().getIntExtra(PackageInstaller.EXTRA_STATUS, in onCreate() local
112 if (statusCode == PackageInstaller.STATUS_FAILURE_STORAGE) { in onCreate()
118 getExplanationFromErrorCode(statusCode)); in onCreate()
DInstallInstalling.java279 private void launchFinishBasedOnResult(int statusCode, int legacyStatus, String statusMessage) { in launchFinishBasedOnResult() argument
280 if (statusCode == PackageInstaller.STATUS_SUCCESS) { in launchFinishBasedOnResult()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DEmailServiceStatus.java110 final int statusType, final long id, final int statusCode, final int progress, in syncStatus() argument
120 statusExtras.putInt(SYNC_STATUS_CODE, statusCode); in syncStatus()
121 if (statusCode != IN_PROGRESS) { in syncStatus()
143 final long mailboxId, final int statusCode, final int progress, int syncResult) { in syncMailboxStatus() argument
144 syncStatus(cr, syncExtras, SYNC_STATUS_TYPE_MAILBOX, mailboxId, statusCode, progress, in syncMailboxStatus()
DIEmailServiceCallback.aidl43 void loadAttachmentStatus(long messageId, long attachmentId, int statusCode, int progress); in loadAttachmentStatus() argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/
DHttpException.java34 public HttpException(int statusCode) { in HttpException() argument
35 super("Response Code: " + statusCode); in HttpException()
36 mStatusCode = statusCode; in HttpException()
/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/Messaging/src/com/android/messaging/mmslib/util/
DDrmConvertSession.java99 convertedStatus.statusCode == DrmConvertedStatus.STATUS_OK && in convert()
133 convertedStatus.statusCode != DrmConvertedStatus.STATUS_OK || in close()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java2244 final int statusCode = extras.getInt(EmailServiceStatus.SYNC_STATUS_CODE); in updateSyncStatus() local
2247 final boolean inProgress = statusCode == EmailServiceStatus.IN_PROGRESS; in updateSyncStatus()
/packages/apps/Browser2/test/webexposed/
Dglobal-interface-listing-expected.txt4505 getter statusCode