Home
last modified time | relevance | path

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

12345678

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/bhttp/
DHttpStatusCodeUtil.java30 public static void checkIsInformativeStatusCode(final int statusCode) { in checkIsInformativeStatusCode() argument
32 isInformativeStatusCode(statusCode), in checkIsInformativeStatusCode()
34 statusCode); in checkIsInformativeStatusCode() local
38 public static void checkIsFinalStatusCode(final int statusCode) { in checkIsFinalStatusCode() argument
40 isFinalStatusCode(statusCode), in checkIsFinalStatusCode()
42 statusCode); in checkIsFinalStatusCode() local
46 public static boolean isInformativeStatusCode(final int statusCode) { in isInformativeStatusCode() argument
47 return statusCode >= INFORMATIVE_MIN && statusCode <= INFORMATIVE_MAX; in isInformativeStatusCode()
51 public static boolean isFinalStatusCode(final int statusCode) { in isFinalStatusCode() argument
52 return statusCode >= FINAL_MIN && statusCode <= FINAL_MAX; in isFinalStatusCode()
/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.java35 public final int statusCode; field in AssocRejectEventInfo
40 public AssocRejectEventInfo(@NonNull String ssid, @NonNull String bssid, int statusCode, in AssocRejectEventInfo() argument
54 this.statusCode = statusCode; in AssocRejectEventInfo()
67 this.statusCode = assocRejectData.statusCode; in AssocRejectEventInfo()
91 this.statusCode = assocRejectData.statusCode; in AssocRejectEventInfo()
114 sb.append(" statusCode: ").append(statusCode); in toString()
/packages/modules/NetworkStack/src/android/net/dhcp6/
DDhcp6Packet.java211 public final short statusCode; field in Dhcp6Packet.PrefixDelegation
215 @NonNull final List<IaPrefixOption> ipos, short statusCode) { in PrefixDelegation() argument
221 this.statusCode = statusCode; in PrefixDelegation()
261 short statusCode = STATUS_SUCCESS; in decode() local
274 statusCode = buffer.getShort(); in decode()
284 return new PrefixDelegation(iaid, t1, t2, ipos, statusCode); in decode()
307 + (statusCode != STATUS_SUCCESS ? MIN_STATUS_CODE_OPT_LEN : 0)); in build()
314 if (statusCode != STATUS_SUCCESS) { in build()
317 iapd.putShort(statusCode); in build()
342 + " IA prefix options: %s", iaid, t1, t2, statusCodeToString(statusCode), ipos); in toString()
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/data/
DUwbRadarData.java25 public int statusCode; field in UwbRadarData
34 int statusCode, in UwbRadarData() argument
41 this.statusCode = statusCode; in UwbRadarData()
56 + statusCode in toString()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/
DAppSearchManagerService.java458 @AppSearchResult.ResultCode int statusCode = AppSearchResult.RESULT_OK; in setSchema()
511 statusCode = failedResult.getResultCode(); in setSchema()
524 .setStatusCode(statusCode) in setSchema()
535 .setStatusCode(statusCode) in setSchema()
588 @AppSearchResult.ResultCode int statusCode = AppSearchResult.RESULT_OK; in getSchema()
610 statusCode = failedResult.getResultCode(); in getSchema()
623 .setStatusCode(statusCode) in getSchema()
665 @AppSearchResult.ResultCode int statusCode = AppSearchResult.RESULT_OK; in getNamespaces()
681 statusCode = failedResult.getResultCode(); in getNamespaces()
694 .setStatusCode(statusCode) in getNamespaces()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DMeasurementServiceImpl.java472 @StatusCode int statusCode = STATUS_UNSET; in getMeasurementApiStatus() local
482 statusCode = STATUS_SUCCESS; in getMeasurementApiStatus()
522 statusCode = accessResolverInfo.getAccessInfo().getResponseCode(); in getMeasurementApiStatus()
527 statusCode = STATUS_SUCCESS; in getMeasurementApiStatus()
530 statusCode = STATUS_INTERNAL_ERROR; in getMeasurementApiStatus()
537 statusCode); in getMeasurementApiStatus()
605 int statusCode = STATUS_UNSET; in performRegistration() local
613 statusCode = accessResolverInfo.getAccessInfo().getResponseCode(); in performRegistration()
616 .setStatusCode(statusCode) in performRegistration()
624 statusCode = STATUS_SUCCESS; in performRegistration()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/stats/
DEncodingJsFetchProcessLoggerImplTest.java75 int statusCode = ENCODING_FETCH_STATUS_SUCCESS; in testEncodingJsFetchStatsLogger_successLogging() local
78 mFetchProcessLogger.logEncodingJsFetchStats(statusCode); in testEncodingJsFetchStatsLogger_successLogging()
84 assertThat(stats.getFetchStatus()).isEqualTo(statusCode); in testEncodingJsFetchStatsLogger_successLogging()
98 int statusCode = ENCODING_FETCH_STATUS_SUCCESS; in testEncodingJsFetchStatsLogger_withoutJsDownloadStartTimestamp() local
100 mFetchProcessLogger.logEncodingJsFetchStats(statusCode); in testEncodingJsFetchStatsLogger_withoutJsDownloadStartTimestamp()
106 assertThat(stats.getFetchStatus()).isEqualTo(statusCode); in testEncodingJsFetchStatsLogger_withoutJsDownloadStartTimestamp()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppUtility.java383 public static String getStatusDescription(Context context, int statusCode, String deviceName) { in getStatusDescription() argument
385 if (statusCode == BluetoothShare.STATUS_PENDING) { in getStatusDescription()
387 } else if (statusCode == BluetoothShare.STATUS_RUNNING) { in getStatusDescription()
389 } else if (statusCode == BluetoothShare.STATUS_SUCCESS) { in getStatusDescription()
391 } else if (statusCode == BluetoothShare.STATUS_NOT_ACCEPTABLE) { in getStatusDescription()
393 } else if (statusCode == BluetoothShare.STATUS_FORBIDDEN) { in getStatusDescription()
395 } else if (statusCode == BluetoothShare.STATUS_CANCELED) { in getStatusDescription()
397 } else if (statusCode == BluetoothShare.STATUS_FILE_ERROR) { in getStatusDescription()
399 } else if (statusCode == BluetoothShare.STATUS_ERROR_NO_SDCARD) { in getStatusDescription()
405 } else if (statusCode == BluetoothShare.STATUS_CONNECTION_ERROR) { in getStatusDescription()
[all …]
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/fira/
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()
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()
DFiraDataTransferPhaseConfigStatusCode.java33 @DataTransferPhaseConfigNtfStatusCode int statusCode) { in FiraDataTransferPhaseConfigStatusCode()
34 mStatusCode = statusCode; in FiraDataTransferPhaseConfigStatusCode()
82 public FiraDataTransferPhaseConfigStatusCode.Builder setStatusCode(int statusCode) { in setStatusCode() argument
83 mStatusCode.set(statusCode); in setStatusCode()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/cobalt/
DMeasurementCobaltLogger.java116 int statusCode, in logRegistrationStatus() argument
131 getStatusEvent(statusCode, errorCode), in logRegistrationStatus()
158 static int getStatusEvent(int statusCode, int errorCode) { in getStatusEvent() argument
160 if (statusCode == AD_SERVICES_MEASUREMENT_REGISTRATIONS__STATUS__FAILURE_STATUS) { in getStatusEvent()
165 } else if (statusCode == AD_SERVICES_MEASUREMENT_REGISTRATIONS__STATUS__SUCCESS_STATUS) { in getStatusEvent()
/packages/modules/AdServices/adservices/framework/java/android/adservices/common/
DAdServicesCommonManager.java150 public void onFailure(int statusCode) { in isAdServicesEnabled()
154 AdServicesStatusUtils.asException(statusCode))); in isAdServicesEnabled()
281 public void onFailure(int statusCode) { in enableAdServices()
285 AdServicesStatusUtils.asException(statusCode))); in enableAdServices()
331 public void onFailure(int statusCode) { in updateAdId()
335 AdServicesStatusUtils.asException(statusCode))); in updateAdId()
421 public void onFailure(int statusCode) { in getAdservicesCommonStates()
425 AdServicesStatusUtils.asException(statusCode))); in getAdservicesCommonStates()
DFledgeErrorResponse.java36 private FledgeErrorResponse(@StatusCode int statusCode, @Nullable String errorMessage) { in FledgeErrorResponse() argument
37 super(statusCode, errorMessage); in FledgeErrorResponse()
96 public FledgeErrorResponse.Builder setStatusCode(@StatusCode int statusCode) { in setStatusCode() argument
97 mStatusCode = statusCode; in setStatusCode()
DAdServicesResponse.java65 protected AdServicesResponse(@StatusCode int statusCode, @Nullable String errorMessage) { in AdServicesResponse() argument
66 mStatusCode = statusCode; in AdServicesResponse()
117 public AdServicesResponse.Builder setStatusCode(@StatusCode int statusCode) { in setStatusCode() argument
118 mStatusCode = statusCode; in setStatusCode()
DEnableAdServicesResponse.java49 @StatusCode int statusCode, in EnableAdServicesResponse()
53 mStatusCode = statusCode; in EnableAdServicesResponse()
148 @AdServicesStatusUtils.StatusCode int statusCode) { in setStatusCode()
149 mStatusCode = statusCode; in setStatusCode()
DAdServicesStatusUtils.java323 public static boolean isSuccess(@StatusCode int statusCode) { in isSuccess() argument
324 return statusCode == STATUS_SUCCESS; in isSuccess()
329 public static Exception asException(@StatusCode int statusCode) { in asException() argument
330 switch (statusCode) { in asException()
/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/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DTestHttpServer.kt59 statusCode: Response.IStatus, in <lambda>()
65 statusCode, headers, content) in <lambda>()
73 statusCode: Response.IStatus, in <lambda>()
77 val response = newFixedLengthResponse(statusCode, "text/plain", content) in <lambda>()
/packages/services/Telephony/src/com/android/services/telephony/rcs/
DSipSessionTracker.java360 int statusCode = 0;
362 statusCode = Integer.parseInt(startLineSegments[1]);
368 logi("updateSipDialogState: message has statusCode: " + statusCode + ", and to tag: "
371 if (statusCode <= 100) return;
373 if (statusCode >= 300) {
374 mRcsStats.onSipTransportSessionClosed(mSubId, m.getCallIdParameter(), statusCode, true);
380 if (statusCode >= 200) {
381 mRcsStats.confirmedSipTransportSession(m.getCallIdParameter(), statusCode);
/packages/modules/Bluetooth/android/app/aidl/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 public static int toResultCode(@NonNull StatusProto.Code statusCode) { in toResultCode() argument
39 switch (statusCode) { in toResultCode()
57 + statusCode in toResultCode()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/
DHapClientService.java726 private int stackEventPresetInfoReasonToProfileStatus(int statusCode) { in stackEventPresetInfoReasonToProfileStatus() argument
727 switch (statusCode) { in stackEventPresetInfoReasonToProfileStatus()
800 private int stackEventStatusToProfileStatus(int statusCode) { in stackEventStatusToProfileStatus() argument
801 switch (statusCode) { in stackEventStatusToProfileStatus()
821 private void notifySelectActivePresetFailed(BluetoothDevice device, int statusCode) { in notifySelectActivePresetFailed() argument
829 device, stackEventStatusToProfileStatus(statusCode)); in notifySelectActivePresetFailed()
838 private void notifySelectActivePresetForGroupFailed(int groupId, int statusCode) { in notifySelectActivePresetForGroupFailed() argument
846 groupId, stackEventStatusToProfileStatus(statusCode)); in notifySelectActivePresetForGroupFailed()
855 private void notifySetPresetNameFailed(BluetoothDevice device, int statusCode) { in notifySetPresetNameFailed() argument
863 device, stackEventStatusToProfileStatus(statusCode)); in notifySetPresetNameFailed()
[all …]

12345678