Home
last modified time | relevance | path

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

1234

/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/modules/Wifi/service/java/com/android/server/wifi/
DAssocRejectEventInfo.java32 public final int statusCode; field in AssocRejectEventInfo
37 public AssocRejectEventInfo(@NonNull String ssid, @NonNull String bssid, int statusCode, in AssocRejectEventInfo() argument
41 this.statusCode = statusCode; in AssocRejectEventInfo()
53 this.statusCode = assocRejectData.statusCode; in AssocRejectEventInfo()
78 this.statusCode = assocRejectData.statusCode; in AssocRejectEventInfo()
101 sb.append(" statusCode: ").append(statusCode); in toString()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppUtility.java375 public static String getStatusDescription(Context context, int statusCode, String deviceName) { in getStatusDescription() argument
377 if (statusCode == BluetoothShare.STATUS_PENDING) { in getStatusDescription()
379 } else if (statusCode == BluetoothShare.STATUS_RUNNING) { in getStatusDescription()
381 } else if (statusCode == BluetoothShare.STATUS_SUCCESS) { in getStatusDescription()
383 } else if (statusCode == BluetoothShare.STATUS_NOT_ACCEPTABLE) { in getStatusDescription()
385 } else if (statusCode == BluetoothShare.STATUS_FORBIDDEN) { in getStatusDescription()
387 } else if (statusCode == BluetoothShare.STATUS_CANCELED) { in getStatusDescription()
389 } else if (statusCode == BluetoothShare.STATUS_FILE_ERROR) { in getStatusDescription()
391 } else if (statusCode == BluetoothShare.STATUS_ERROR_NO_SDCARD) { in getStatusDescription()
396 } else if (statusCode == BluetoothShare.STATUS_CONNECTION_ERROR) { in getStatusDescription()
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/
DAppSearchManagerService.java308 @AppSearchResult.ResultCode int statusCode = AppSearchResult.RESULT_OK; in setSchema()
348 statusCode = throwableToFailedResult(t).getResultCode(); in setSchema()
359 .setStatusCode(statusCode) in setSchema()
466 @AppSearchResult.ResultCode int statusCode = AppSearchResult.RESULT_OK; in putDocuments()
492 statusCode = result.getResultCode(); in putDocuments()
510 statusCode = throwableToFailedResult(t).getResultCode(); in putDocuments()
521 .setStatusCode(statusCode) in putDocuments()
563 @AppSearchResult.ResultCode int statusCode = AppSearchResult.RESULT_OK; in getDocuments()
604 statusCode = result.getResultCode(); in getDocuments()
611 statusCode = throwableToFailedResult(t).getResultCode(); in getDocuments()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/rcs/
DSipSessionTracker.java352 int statusCode = 0;
354 statusCode = Integer.parseInt(startLineSegments[1]);
360 logi("updateSipDialogState: message has statusCode: " + statusCode + ", and to tag: "
363 if (statusCode <= 100) return;
365 if (statusCode >= 300) {
366 mRcsStats.onSipTransportSessionClosed(mSubId, m.getCallIdParameter(), statusCode, true);
371 if (statusCode >= 200) {
372 mRcsStats.confirmedSipTransportSession(m.getCallIdParameter(), statusCode);
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/fira/
DFiraStatusCode.java32 private FiraStatusCode(@StatusCode int statusCode) { in FiraStatusCode() argument
33 mStatusCode = statusCode; in FiraStatusCode()
79 public FiraStatusCode.Builder setStatusCode(int statusCode) { in setStatusCode() argument
80 mStatusCode.set(statusCode); in setStatusCode()
DFiraMulticastListUpdateStatusCode.java32 private FiraMulticastListUpdateStatusCode(@MulticastListUpdateStatus int statusCode) { in FiraMulticastListUpdateStatusCode() argument
33 mStatusCode = statusCode; in FiraMulticastListUpdateStatusCode()
81 public FiraMulticastListUpdateStatusCode.Builder setStatusCode(int statusCode) { in setStatusCode() argument
82 mStatusCode.set(statusCode); in setStatusCode()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/
DHapClientService.java746 private int stackEventPresetInfoReasonToProfileStatus(int statusCode) { in stackEventPresetInfoReasonToProfileStatus() argument
747 switch (statusCode) { in stackEventPresetInfoReasonToProfileStatus()
815 private int stackEventStatusToProfileStatus(int statusCode) { in stackEventStatusToProfileStatus() argument
816 switch (statusCode) { in stackEventStatusToProfileStatus()
836 private void notifySelectActivePresetFailed(BluetoothDevice device, int statusCode) { in notifySelectActivePresetFailed() argument
842 stackEventStatusToProfileStatus(statusCode)); in notifySelectActivePresetFailed()
851 private void notifySelectActivePresetForGroupFailed(int groupId, int statusCode) { in notifySelectActivePresetForGroupFailed() argument
857 stackEventStatusToProfileStatus(statusCode)); in notifySelectActivePresetForGroupFailed()
866 private void notifySetPresetNameFailed(BluetoothDevice device, int statusCode) { in notifySetPresetNameFailed() argument
872 stackEventStatusToProfileStatus(statusCode)); in notifySetPresetNameFailed()
[all …]
/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/modules/Bluetooth/system/binder/android/bluetooth/
DIBluetoothHapClientCallback.aidl31 void onPresetSelectionFailed(in BluetoothDevice device, in int statusCode); in onPresetSelectionFailed() argument
32 void onPresetSelectionForGroupFailed(in int hapGroupId, in int statusCode); in onPresetSelectionForGroupFailed() argument
35 in int statusCode); in onPresetInfoChanged() argument
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DResultCodeToProtoConverter.java38 @NonNull StatusProto.Code statusCode) { in toResultCode()
39 switch (statusCode) { in toResultCode()
57 + statusCode in toResultCode()
/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/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DHSIconFileElementTest.java47 private static byte[] getTestData(int statusCode) throws IOException { in getTestData() argument
49 out.write((byte) statusCode); in getTestData()
50 if (statusCode != HSIconFileElement.STATUS_CODE_SUCCESS) { in getTestData()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java404 public void onStatusAvailable(int statusCode) { in onStatusAvailable() argument
405 getHandler().post(() -> callback(statusCode)); in onStatusAvailable()
408 public abstract void callback(int statusCode); in callback() argument
429 public void onDhcpServerCreated(int statusCode, IDhcpServer server) throws RemoteException { in onDhcpServerCreated() argument
443 if (statusCode != STATUS_SUCCESS) { in onDhcpServerCreated()
444 mLog.e("Error obtaining DHCP server: " + statusCode); in onDhcpServerCreated()
572 public void callback(int statusCode) { in stopDhcp()
573 if (statusCode != STATUS_SUCCESS) { in stopDhcp()
574 mLog.e("Error stopping DHCP server: " + statusCode); in stopDhcp()
1033 public void callback(int statusCode) { in handleNewPrefixRequest()
[all …]
/packages/modules/Uwb/service/support_lib/test/
DFiraTests.java377 int statusCode = STATUS_CODE_ERROR_ADDRESS_ALREADY_PRESENT; in testStatusCode() local
378 FiraStatusCode params = new FiraStatusCode.Builder().setStatusCode(statusCode).build(); in testStatusCode()
379 assertEquals(params.getStatusCode(), statusCode); in testStatusCode() local
382 assertEquals(fromBundle.getStatusCode(), statusCode); in testStatusCode() local
390 int statusCode = MULTICAST_LIST_UPDATE_STATUS_ERROR_MULTICAST_LIST_FULL; in testMulticastListUpdateStatusCode() local
392 new FiraMulticastListUpdateStatusCode.Builder().setStatusCode(statusCode).build(); in testMulticastListUpdateStatusCode()
393 assertEquals(params.getStatusCode(), statusCode); in testMulticastListUpdateStatusCode() local
398 assertEquals(fromBundle.getStatusCode(), statusCode); in testMulticastListUpdateStatusCode() local
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaIfaceHalAidlImplTest.java1106 int statusCode = StaIfaceStatusCode.UNSPECIFIED_FAILURE; in testWpa3AuthRejectionPassword() local
1108 statusCode, false); in testWpa3AuthRejectionPassword()
1122 statusCode), assocRejectEventInfo.statusCode); in testWpa3AuthRejectionPassword()
1144 int statusCode = StaIfaceStatusCode.UNSPECIFIED_FAILURE; in testWpa3AuthRejectionEverConnected() local
1146 statusCode, false); in testWpa3AuthRejectionEverConnected()
1159 statusCode), assocRejectEventInfo.statusCode); in testWpa3AuthRejectionEverConnected()
1181 int statusCode = StaIfaceStatusCode.CHALLENGE_FAIL; in testWepAuthRejectionPassword() local
1183 statusCode, false); in testWepAuthRejectionPassword()
1198 statusCode), assocRejectEventInfo.statusCode); in testWepAuthRejectionPassword()
1865 int statusCode = 7; in testRemovePmkEntryOnReceivingAssocReject() local
[all …]
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/common/bluetooth/util/
DBluetoothGattUtils.java34 public static String getMessageForStatusCode(int statusCode) { in getMessageForStatusCode() argument
35 switch (statusCode) { in getMessageForStatusCode()
/packages/services/Car/cpp/vhal/client/include/
DAidlVhalClient.h101 StatusCode statusCode = StatusCode::INTERNAL_ERROR; in statusToError() local
103 statusCode = static_cast<StatusCode>(status.getServiceSpecificError()); in statusToError()
107 statusCode = StatusCode::TRY_AGAIN; in statusToError()
110 return StatusError(statusCode) << msg << ", error: " << status.getDescription(); in statusToError()
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
DSipMessageUtils.java54 public static SipMessage generateSipResponse(String statusCode, String statusString, in generateSipResponse() argument
66 return new SipMessage("SIP/2.0 " + statusCode + " " + statusString, header, in generateSipResponse()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DHSIconFileElement.java59 public HSIconFileElement(int statusCode, String iconType, byte[] iconData) { in HSIconFileElement() argument
61 mStatusCode = statusCode; in HSIconFileElement()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/stats/
DRemoveStats.java142 public Builder setStatusCode(@AppSearchResult.ResultCode int statusCode) { in setStatusCode() argument
143 mStatusCode = statusCode; in setStatusCode()
DOptimizeStats.java159 public Builder setStatusCode(@AppSearchResult.ResultCode int statusCode) { in setStatusCode() argument
160 mStatusCode = statusCode; in setStatusCode()
/packages/modules/Connectivity/nearby/tests/multidevices/clients/test_support/fastpair_provider/src/android/nearby/fastpair/provider/bluetooth/
DBluetoothGattUtils.java39 public static String getMessageForStatusCode(int statusCode) { in getMessageForStatusCode() argument
40 switch (statusCode) { in getMessageForStatusCode()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DDrmTest.java314 convertedStatus.statusCode != DrmConvertedStatus.STATUS_OK || in convertDmToFl()
319 if (result.statusCode != DrmConvertedStatus.STATUS_OK) { in convertDmToFl()
320 Log.w(TAG, "Conversion failed with status: " + result.statusCode); in convertDmToFl()
347 convertedStatus.statusCode != DrmConvertedStatus.STATUS_OK || in convertDmToFl()

1234