Home
last modified time | relevance | path

Searched refs:getHttpStatusCode (Results 1 – 25 of 376) sorted by relevance

12345678910>>...16

/aosp_15_r20/external/cronet/components/cronet/android/fake/javatests/org/chromium/net/test/
H A DFakeCronetControllerTest.java153 assertThat(foundResponse.getHttpStatusCode()).isEqualTo(404); in testRemoveResponseMatcher()
169 assertThat(foundResponse.getHttpStatusCode()).isEqualTo(404); in testClearResponseMatchers()
191 assertThat(foundResponse.getHttpStatusCode()).isEqualTo(404); in testDefaultResponseIs404()
205 assertThat(foundResponse.getHttpStatusCode()).isIn(Range.closedOpen(300, 400)); in testAddRedirectResponse()
217 assertThat(foundResponse.getHttpStatusCode()).isEqualTo(httpStatusCode); in testAddErrorResponse()
242 assertThat(foundResponse.getHttpStatusCode()).isIn(Range.closedOpen(200, 300)); in testAddSuccessResponse()
/aosp_15_r20/external/aws-sdk-java-v2/codegen/src/main/java/software/amazon/awssdk/codegen/
H A DAddOperations.java219 … Integer httpStatusCode = getHttpStatusCode(error, c2jShapes.get(error.getShape())); in constructOperations()
259 private Integer getHttpStatusCode(ErrorMap error, Shape shape) { in getHttpStatusCode() method in AddOperations
260 Integer httpStatusCode = getHttpStatusCode(error.getError()); in getHttpStatusCode()
261 return httpStatusCode == null ? getHttpStatusCode(shape.getError()) : httpStatusCode; in getHttpStatusCode()
268 private Integer getHttpStatusCode(ErrorTrait errorTrait) { in getHttpStatusCode() method in AddOperations
269 return errorTrait == null ? null : errorTrait.getHttpStatusCode(); in getHttpStatusCode()
H A DAddExceptionShapes.java57 exceptionShapeModel.setHttpStatusCode(getHttpStatusCode(errorShapeName)); in constructExceptionShapes()
87 private Integer getHttpStatusCode(String errorShapeName) { in getHttpStatusCode() method in AddExceptionShapes
89 return errorTrait != null ? errorTrait.getHttpStatusCode() : null; in getHttpStatusCode()
/aosp_15_r20/external/downloader/src/main/java/com/google/android/downloader/
H A DCronetUrlEngine.java153 return urlResponseInfo.getHttpStatusCode(); in getResponseCode()
209 int httpCode = urlResponseInfo.getHttpStatusCode(); in onResponseStarted()
274 && urlResponseInfo.getHttpStatusCode() >= HttpURLConnection.HTTP_BAD_REQUEST) { in onFailed()
277 urlResponseInfo.getHttpStatusCode(), in onFailed()
/aosp_15_r20/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/network/
DBlockingHttpClientTests.java73 assertEquals(HttpURLConnection.HTTP_BAD_GATEWAY, e.getHttpStatusCode()); in testError_badGateway()
89 assertEquals(HttpURLConnection.HTTP_CLIENT_TIMEOUT, e.getHttpStatusCode()); in testError_clientTimeout()
105 assertEquals(HttpURLConnection.HTTP_FORBIDDEN, e.getHttpStatusCode()); in testError_forbiddenWithRequest()
/aosp_15_r20/external/cronet/components/cronet/android/fake/java/org/chromium/net/test/
H A DFakeUrlResponse.java60 mHttpStatusCode = info.getHttpStatusCode(); in FakeUrlResponse()
98 mHttpStatusCode = source.getHttpStatusCode(); in Builder()
190 int getHttpStatusCode() { in getHttpStatusCode() method in FakeUrlResponse
/aosp_15_r20/external/oauth/core/src/main/java/net/oauth/
H A DOAuthProblemException.java74 response = getHttpStatusCode(); in getMessage()
93 public int getHttpStatusCode() { in getHttpStatusCode() method in OAuthProblemException
/aosp_15_r20/external/cronet/components/cronet/android/java/src/org/chromium/net/impl/
H A DAndroidUrlResponseInfoWrapper.java60 public int getHttpStatusCode() { in getHttpStatusCode() method in AndroidUrlResponseInfoWrapper
61 return mBackend.getHttpStatusCode(); in getHttpStatusCode()
H A DUrlResponseInfoImpl.java134 public int getHttpStatusCode() { in getHttpStatusCode() method in UrlResponseInfoImpl
184 getHttpStatusCode(), in toString()
/aosp_15_r20/external/cronet/android/java/src/android/net/http/
H A DUrlResponseInfoWrapper.java44 public int getHttpStatusCode() { in getHttpStatusCode() method in UrlResponseInfoWrapper
45 return backend.getHttpStatusCode(); in getHttpStatusCode()
H A DUrlResponseInfo.java44 public abstract int getHttpStatusCode(); in getHttpStatusCode() method in UrlResponseInfo
/aosp_15_r20/out/soong/.intermediates/external/downloader/src/main/android_downloader_lib/android_common_apex33/javac/anno/com/google/android/downloader/
DAutoValue_ErrorDetails.java38 public int getHttpStatusCode() { in getHttpStatusCode() method in AutoValue_ErrorDetails
66 && this.httpStatusCode == that.getHttpStatusCode() in equals()
/aosp_15_r20/out/soong/.intermediates/external/downloader/src/main/android_downloader_lib/android_common_apex30/javac/anno/com/google/android/downloader/
DAutoValue_ErrorDetails.java38 public int getHttpStatusCode() { in getHttpStatusCode() method in AutoValue_ErrorDetails
66 && this.httpStatusCode == that.getHttpStatusCode() in equals()
/aosp_15_r20/external/cronet/components/cronet/android/java/src/org/chromium/net/urlconnection/
H A DCronetHttpURLConnection.java108 return mResponseInfo.getHttpStatusCode(); in getResponseCode()
185 if (mResponseInfo.getHttpStatusCode() >= HTTP_BAD_REQUEST) { in getInputStream()
347 if (mResponseInfo.getHttpStatusCode() >= HTTP_BAD_REQUEST) { in getErrorStream()
/aosp_15_r20/external/cronet/components/cronet/android/sample/src/org/chromium/cronet_sample_apk/
H A DMainFragment.java143 + info.getHttpStatusCode() in onSucceeded()
148 final String text = "Completed " + url + " (" + info.getHttpStatusCode() + ")"; in onSucceeded()
/aosp_15_r20/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/extensions/cronet/src/main/java/com/google/android/exoplayer2/ext/cronet/
H A DCronetDataSource.java498 return responseInfo == null || responseInfo.getHttpStatusCode() <= 0 in getResponseCode()
500 : responseInfo.getHttpStatusCode(); in getResponseCode()
572 int responseCode = responseInfo.getHttpStatusCode(); in open()
1059 int responseCode = info.getHttpStatusCode(); in onRedirectReceived()
/aosp_15_r20/development/apps/Development/src/com/android/development/
H A DHttpEngineActivity.java91 Log.i(TAG, "****** Request Completed, status code is " + info.getHttpStatusCode() in onSucceeded()
96 final String text = "Completed " + url + " (" + info.getHttpStatusCode() + ")"; in onSucceeded()
/aosp_15_r20/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/extensions/cronet/src/main/java/com/google/android/exoplayer2/ext/cronet/
H A DCronetDataSource.java618 return responseInfo == null || responseInfo.getHttpStatusCode() <= 0 in getResponseCode()
620 : responseInfo.getHttpStatusCode(); in getResponseCode()
692 int responseCode = responseInfo.getHttpStatusCode(); in open()
1179 int responseCode = info.getHttpStatusCode(); in onRedirectReceived()
/aosp_15_r20/external/sdk-platform-java/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/
H A DHttpJsonClientCallImpl.java194 StatusCode.Code.DEADLINE_EXCEEDED.getHttpStatusCode(), in timeout()
197 StatusCode.Code.DEADLINE_EXCEEDED.getHttpStatusCode(), "Deadline exceeded", null), in timeout()
/aosp_15_r20/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/
DHttpException.java43 public int getHttpStatusCode() { in getHttpStatusCode() method in HttpException
/aosp_15_r20/external/aws-sdk-java-v2/codegen/src/main/java/software/amazon/awssdk/codegen/model/service/
H A DErrorTrait.java35 public Integer getHttpStatusCode() { in getHttpStatusCode() method in ErrorTrait
/aosp_15_r20/external/sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/rpc/
H A DStatusCode.java69 public int getHttpStatusCode() { in getHttpStatusCode() method in StatusCode.Code
/aosp_15_r20/external/cronet/components/cronet/android/api/src/org/chromium/net/
H A DUrlResponseInfo.java58 public abstract int getHttpStatusCode(); in getHttpStatusCode() method in UrlResponseInfo
/aosp_15_r20/external/aws-sdk-java-v2/codegen/src/main/java/software/amazon/awssdk/codegen/model/intermediate/
H A DExceptionModel.java54 public Integer getHttpStatusCode() { in getHttpStatusCode() method in ExceptionModel
/aosp_15_r20/external/cronet/components/cronet/android/test/javaperftests/src/org/chromium/net/
H A DCronetPerfTestActivity.java459 if (info.getHttpStatusCode() != 200 || mBytesReceived != mLength) { in onSucceeded()
462 + info.getHttpStatusCode() in onSucceeded()

12345678910>>...16